feat: 增加任务的区县和镇街信息
This commit is contained in:
@@ -79,4 +79,18 @@
|
||||
WHERE "${column}" = #{parentId}
|
||||
</select>
|
||||
|
||||
<!-- 查找schema对应区县名 -->
|
||||
<select id="getDistrictNameBySchema" resultType="string">
|
||||
SELECT district
|
||||
FROM public.unit_info
|
||||
WHERE schema_code = #{schema}
|
||||
</select>
|
||||
|
||||
<!-- 查找schema对应镇街名 -->
|
||||
<select id="getVillageNameBySchema" resultType="string">
|
||||
SELECT village
|
||||
FROM public.unit_info
|
||||
WHERE schema_code = #{schema}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user