Commit 7952322b authored by hezhen's avatar hezhen

123

parent 2820495f
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</resultMap> </resultMap>
<select id="getExtractByUserId" resultMap="appUserPositionMap"> <select id="getExtractByUserId" resultMap="appUserPositionMap">
SELECT p.extract FROM app_user_detail d LEFT JOIN app_user_position p SELECT p.* FROM app_user_detail d LEFT JOIN app_user_position p
ON d.position_id=p.id ON d.position_id=p.id
WHERE d.userid=#{userId} LIMIT 1 WHERE d.userid=#{userId} LIMIT 1
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment