|
@@ -30,14 +30,15 @@
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="getArea" resultType="com.ruoyi.zdsz.domain.vo.ZAreaVo">
|
|
<select id="getArea" resultType="com.ruoyi.zdsz.domain.vo.ZAreaVo">
|
|
- select id as id,
|
|
|
|
- name as name
|
|
|
|
- from z_area
|
|
|
|
- where del_flag = '0'
|
|
|
|
|
|
+ select a.id as id,
|
|
|
|
+ CONCAT(a.name,'-',b.dict_label) as name
|
|
|
|
+ from z_area a
|
|
|
|
+ LEFT JOIN sys_dict_data b on b.dict_type = 'community_source' and b.dict_value = a.source
|
|
|
|
+ where a.del_flag = '0'
|
|
<if test="district != null and district != ''">
|
|
<if test="district != null and district != ''">
|
|
- and district = #{district}
|
|
|
|
|
|
+ and a.district = #{district}
|
|
</if>
|
|
</if>
|
|
- order by create_time desc
|
|
|
|
|
|
+ order by a.create_time desc
|
|
</select>
|
|
</select>
|
|
<select id="selectGExportsList" resultType="com.ruoyi.zdsz.domain.vo.GImportVo">
|
|
<select id="selectGExportsList" resultType="com.ruoyi.zdsz.domain.vo.GImportVo">
|
|
SELECT za.name AS areaName,
|
|
SELECT za.name AS areaName,
|