智慧保安后台管理-验收版本
Administrator
2021-09-18 dae145fda8a0102c8cb396acce37d6219cf6be88
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -45,6 +45,7 @@
        <result column="my_picture" property="myPicture"/>
        <result column="soil" property="soil"/>
        <result column="healstats" property="healstats"/>
        <result column="holdv" property="holdv"/>
    </resultMap>
@@ -158,9 +159,6 @@
        si.departmentid = bu.dept_id
        where is_deleted = 0
        and status = 1
        and bd.parent_id!=1425365577303621633
        and bd.id != 1425365577303621633
        and bd.id != 1432625856013971457
        <if test="user.realName!=null and user.realName != ''">
            and bu.real_name like concat(concat('%', #{user.realName}),'%')
        </if>
@@ -286,7 +284,7 @@
    <update id="updateUser">
        update blade_user
        set hold=#{hold}
        set hold=#{hold},holdv=#{holdv},holdvtime=#{time}
        where cardid = #{cardid}
    </update>
@@ -319,4 +317,11 @@
        where securitynumber = #{securityNumber}
    </select>
    <!--通过 身份证号查询用户信息-->
    <select id="getUserInfoByIdCardNo" resultType="org.springblade.modules.system.entity.User">
        SELECT id, name, real_name RealName
        FROM blade_user
        where cardid = #{param1}
    </select>
</mapper>