Commit 6036e5f8 by zhengxj

finish 技工认证 on 20191018 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@24349 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 99624581
...@@ -237,7 +237,14 @@ ...@@ -237,7 +237,14 @@
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from sys_mechanic from sys_mechanic
where user_id = #{userId,jdbcType=INTEGER} <where>
<if test="userId != null">
and user_id = #{userId,jdbcType=INTEGER}
<if>
<if test="mechanicStatus != null">
and mechanic_status = #{mechanicStatus,jdbcType=VARCHAR} and mechanic_status = #{mechanicStatus,jdbcType=VARCHAR}
</select> <if>
</where>
</select>
</mapper> </mapper>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!