智慧保安后台管理-外网项目备份
guoshilong
2024-01-04 b431c00a3e736e27599cd34793c65369fdb7b8cd
src/main/java/org/springblade/modules/social/mapper/SocialMapper.xml
@@ -30,7 +30,7 @@
        LEFT JOIN
        blade_user u
        ON
        s.namb = u.id
        s.cardid = u.cardid
        left join
        sys_jurisdiction sj
        on
@@ -45,8 +45,11 @@
        <if test="social.realname!=null and social.realname!=''">
            and u.real_name like concat(concat('%', #{social.realname}),'%')
        </if>
        <if test="social.cardid!=null and social.cardid!=''">
            and s.cardid like concat(concat('%', #{social.cardid}),'%')
        </if>
        <if test="social.namb!=null and social.namb!=''">
            and s.namb=#{social.namb}
            and s.namb like concat('%',#{social.namb},'%')
        </if>
        <if test="social.deptid!=null and social.deptid!=''">
            and s.deptid=#{social.deptid}