|
@ -169,7 +169,11 @@ |
|
|
AND a.DEL_FLAG = #{building.delFlag} |
|
|
AND a.DEL_FLAG = #{building.delFlag} |
|
|
</if> |
|
|
</if> |
|
|
</where> |
|
|
</where> |
|
|
order by a.CREATED_TIME, a.BUILDING_NAME |
|
|
<if test='sortType == null '>a.sort,</if> |
|
|
|
|
|
<if test='sortType != null and sortType == "asc" '>a.sort,</if> |
|
|
|
|
|
<if test='sortType != null and sortType == "desc" '>a.sort DESC,</if> |
|
|
|
|
|
CAST(b.NEIGHBOR_HOOD_NAME AS SIGNED),CONVERT(b.NEIGHBOR_HOOD_NAME using gbk), |
|
|
|
|
|
CAST(a.BUILDING_NAME AS SIGNED),CONVERT(a.BUILDING_NAME USING gbk) |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
<select id="selectAgencyChildrenList" resultType="com.epmet.entity.CustomerAgencyEntity"> |
|
|
<select id="selectAgencyChildrenList" resultType="com.epmet.entity.CustomerAgencyEntity"> |
|
|