双屏机--修改人脸查询和人员信息查询
This commit is contained in:
parent
734301c714
commit
b00a9f2ac6
|
|
@ -11,6 +11,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
face_state
|
||||
from user_face
|
||||
<where>
|
||||
and face_state = '1'
|
||||
<if test="userId != null and userId != '' and userId != 0 and userId != '0'">
|
||||
and user_id = #{userId}
|
||||
</if>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
from sys_user su
|
||||
left join account_card ac on ac.user_id = su.user_id
|
||||
left join account_info ai on ai.user_id = su.user_id
|
||||
where ai.del_flag = '0'
|
||||
where ai.del_flag = '0' and su.status = '0'
|
||||
<if test="userId != null and userId != '' and userId != 0 and userId != '0'">
|
||||
AND su.user_id = #{userId}
|
||||
</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue