智慧保安后台管理项目备份
tangzy
2021-08-12 c0a78b608d90f13fc34018c8d88ddf5c44acdbd7
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -39,6 +39,12 @@
        <result column="hold" property="hold"/>
        <result column="jurisdiction" property="jurisdiction"/>
        <result column="securitynumber" property="securitynumber"/>
        <result column="examinationType" property="examinationType"/>
        <result column="examinationMx" property="examinationMx"/>
        <result column="fingerprint" property="fingerprint"/>
        <result column="photo" property="photo"/>
        <result column="dispatch" property="dispatch"/>
        <result column="my_picture" property="myPicture"/>
    </resultMap>
    <select id="selectUserPage" resultMap="userResultMap">
@@ -52,6 +58,9 @@
        <if test="user.realName!=null and user.realName != ''">
            and real_name like concat(concat('%', #{user.realName}),'%')
        </if>
        <if test="user.deptId!=null and user.deptId != ''">
            and dept_id like concat(concat('%', #{user.deptId}),'%')
        </if>
        <if test="user.userType!=null and user.userType != ''">
            and user_type = #{user.userType}
        </if>