|
|
@ -1313,6 +1313,12 @@ |
|
|
|
del_flag = '0' |
|
|
|
AND status = '0' |
|
|
|
AND customer_id = #{customerId} |
|
|
|
<if test='null != type and type.trim() != "" and type == "cz" '> |
|
|
|
AND is_floating = '0' |
|
|
|
</if> |
|
|
|
<if test='null != type and type.trim() != "" and type == "ld" '> |
|
|
|
AND (is_floating != '0' or is_floating is null) |
|
|
|
</if> |
|
|
|
<choose> |
|
|
|
<when test='orgType == "agency"'> |
|
|
|
AND (agency_id = #{orgId} OR pids LIKE CONCAT('%', #{orgId}, '%')) |
|
|
@ -1334,7 +1340,7 @@ |
|
|
|
AND village_id = #{orgId} |
|
|
|
</otherwise> |
|
|
|
</choose> |
|
|
|
GROUP BY `name` ASC |
|
|
|
ORDER BY `name` ASC |
|
|
|
</select> |
|
|
|
|
|
|
|
</mapper> |
|
|
|