浏览代码

add 城市列表

he2802 4 年之前
父节点
当前提交
f6397b38a4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      zhongzheng-system/src/main/resources/mapper/modules/base/ApplyAreasMapper.xml

+ 2 - 2
zhongzheng-system/src/main/resources/mapper/modules/base/ApplyAreasMapper.xml

@@ -26,13 +26,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         LEFT JOIN apply_areas a2 ON a1.parent_id = a2.area_id
         WHERE 1=1
         <if test="status != null and status.size()!=0 ">
-            AND cs.status in
+            AND a1.status in
             <foreach collection="status" item="item" index="index" open="(" close=")" separator=",">
                 #{item}
             </foreach>
         </if>
         <if test="areaName != null and areaName != ''">
-            AND cs.area_name like concat('%', #{areaName}, '%')
+            AND a1.area_name like concat('%', #{areaName}, '%')
         </if>
     </select>