Administrator
2021-08-16 454ec801479b822c8225ed2c963f7f643b1ca7c6
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -43,6 +43,8 @@
        <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">
@@ -116,6 +118,9 @@
        <if test="user.account!=null and user.account != ''">
            and bu.account != #{user.account}
        </if>
        <if test="user.cardid!=null and user.cardid != ''">
            and bu.cardid like concat(concat('%', #{user.cardid}),'%')
        </if>
        <if test="user.realName!=null and user.realName != ''">
            and bu.real_name like concat(concat('%', #{user.realName}),'%')
        </if>
@@ -174,4 +179,9 @@
        update blade_user set hold=#{hold} where cardid=#{cardid}
    </update>
    <!--查询所有未注销用户-->
    <select id="getAllUserList" resultType="org.springblade.modules.system.entity.User">
        select id,cardid from blade_user where is_deleted = 0
    </select>
</mapper>