双屏机--修改人脸查询和人员信息查询

This commit is contained in:
jjLv 2025-06-17 14:31:04 +08:00
parent 734301c714
commit b00a9f2ac6
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View File

@ -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>