|
|
@ -302,10 +302,14 @@ |
|
|
AND grid_id = #{gridId} |
|
|
AND grid_id = #{gridId} |
|
|
</select> |
|
|
</select> |
|
|
<select id="getAreaCode" resultType="java.lang.String"> |
|
|
<select id="getAreaCode" resultType="java.lang.String"> |
|
|
select AREA_CODE |
|
|
SELECT |
|
|
from ic_neighbor_hood a |
|
|
AREA_CODE |
|
|
inner join customer_agency b on a.agencyId = b.ID and b.del_flag = '0' |
|
|
FROM |
|
|
where a.del_flag = '0' |
|
|
ic_neighbor_hood a |
|
|
and a.ID = #{neighborHoodId} |
|
|
INNER JOIN customer_agency b ON a.agency_Id = b.ID |
|
|
|
|
|
AND b.del_flag = '0' |
|
|
|
|
|
WHERE |
|
|
|
|
|
a.del_flag = '0' |
|
|
|
|
|
AND a.ID = #{neighborHoodId} |
|
|
</select> |
|
|
</select> |
|
|
</mapper> |
|
|
</mapper> |
|
|
|