Null
2021-03-20 78863d775246038adc615b037364367f13a2bac0
bug修改
1个文件已修改
13 ■■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/dao/SysUserInputDAO.java 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/dao/SysUserInputDAO.java
@@ -133,7 +133,8 @@
    List<ComMngStructHouseVO> selectUserHouseList(@Param("idCard") String idCard);
    @Select("<script> " +
            "SELECT " +
            "SELECT * FROM ( "+
            " SELECT " +
            " t.`name`, " +
            "CASE " +
            " IF " +
@@ -166,7 +167,8 @@
            " IF " +
            "  ( t.old_people = 1, '特服家庭,', '' ), " +
            " IF " +
            "  ( t.key_personnel = 1, '重点人员,', '' )  " +
            "  ( t.key_personnel = 1, '重点人员,', '' ),  " +
            "  IFNULL(t.tags,'')  " +
            " ) tags,  " +
            " t.create_at  as createAt " +
            "FROM " +
@@ -185,10 +187,11 @@
            "<if test='pageInputUserDTO.areaName != null and pageInputUserDTO.areaName.trim() != &quot;&quot;'>" +
            "AND t1.`area_name` like concat(#{pageInputUserDTO.areaName},'%')   " +
            " </if> " +
            "<if test='pageInputUserDTO.tags != null and pageInputUserDTO.tags.trim() != &quot;&quot;'>" +
            " and t.tags like concat('%',#{pageInputUserDTO.tags},'%')  " +
            " </if> " +
            " group by t.id_card "+
            " ) tt  WHERE 1=1 "+
            "<if test='pageInputUserDTO.tags != null and pageInputUserDTO.tags.trim() != &quot;&quot;'>" +
            " and tt.tags like concat('%',#{pageInputUserDTO.tags},'%')  " +
            " </if> " +
            "</script>")
    IPage<InputUserInfoVO> specialInputUser(Page page, @Param("pageInputUserDTO") PageInputUserDTO pageInputUserDTO);