智慧保安后台管理-外网
Administrator
2022-01-20 cb04ed62736efe70cf5babe534220b4ae4c1ca67
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -985,7 +985,12 @@
        <if test="user.cardid!=null and user.cardid != ''">
            and bu.cardid like concat('%', #{user.cardid},'%')
        </if>
        <if test="user.sortName!=null and user.sortName!=''">
            ORDER BY bu.${user.sortName} ${user.sort},bu.id desc
        </if>
        <if test="user.sortName==null or user.sortName==''">
        ORDER BY bu.id desc
        </if>
    </select>
    <!--查询押运人员编码不为null的保安信息-->