张晓波
2023-10-19 6d60391f65633383bfcf2f1ec7c52ca5d3d7fe93
hd/pipe/StaffManage/src/main/resources/mapping/PlatUserMapper.xml
@@ -736,6 +736,12 @@
            <if test="oriStr!=null and oriStr !=''">
                ori_str,
            </if>
            <if test="cmpType!=null and cmpType !=''">
                cmp_type,
            </if>
            <if test="captureScore!=null and captureScore !=''">
                capture_score,
            </if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            #{id},
@@ -759,6 +765,12 @@
            </if>
            <if test="oriStr!=null and oriStr !=''">
                #{oriStr},
            </if>
            <if test="cmpType!=null and cmpType !=''">
                #{cmpType},
            </if>
            <if test="captureScore!=null and captureScore !=''">
                #{captureScore},
            </if>
        </trim>
@@ -895,7 +907,7 @@
    </select>
    <select id="queryUserFaceSingle" resultType="com.thhy.staff.modules.biz.face.entity.UserFaceVo">
        select user_id as userId,real_name as realName,sex,photo as templateImgUrl
        select user_id as userId,real_name as realName,sex,photo
        from sys_plat_user spu
        where user_id = #{userId}
    </select>