|
@@ -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>
|
|
|
|