|
|
@ -429,6 +429,7 @@ |
|
|
|
) agency ON grid.PID = agency.ID |
|
|
|
WHERE |
|
|
|
grid.del_flag = 0 |
|
|
|
and grid.SYNC_FLAG='1' |
|
|
|
<if test='areaCode != "" and areaCode != null'> |
|
|
|
AND grid.area_code LIKE CONCAT(#{areaCode},'%') |
|
|
|
</if> |
|
|
@ -468,6 +469,7 @@ |
|
|
|
) agency ON a.PID = agency.ID |
|
|
|
WHERE |
|
|
|
a.del_flag = 0 |
|
|
|
and a.SYNC_FLAG='1' |
|
|
|
AND a.customer_id = #{customerId} |
|
|
|
) AS c |
|
|
|
ORDER BY CONVERT ( gridName USING gbk ) ASC |
|
|
|