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> ORDER BY bu.id desc <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的保安信息-->