tangzy
2021-08-25 c546fc702821c050cd4e427b279570b9a6cf2d5f
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -228,8 +228,8 @@
        <if test="user.securitynumber!=null and user.securitynumber != ''">
            and bu.securitynumber = #{user.securitynumber}
        </if>
        <if test="user.deptName!=null and user.deptName!=''">
            and  bd.dept_name like concat(concat('%', #{user.deptName}),'%')
        <if test="user.deptId!=null and user.deptId!=''">
            and  bu.dept_id =#{user.deptId}
        </if>
        <if test="user.useName==null or user.useName==''">
            order by bu.id