From 6992aaf0587c09f7c511c1afd12e1519d91363d3 Mon Sep 17 00:00:00 2001 From: cjl <276999030@qq.com> Date: Thu, 14 Dec 2023 15:38:45 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/cjl' into qa --- screen-api/src/main/resources/mapper/ResponsibilityUnitMapper.xml | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/screen-api/src/main/resources/mapper/ResponsibilityUnitMapper.xml b/screen-api/src/main/resources/mapper/ResponsibilityUnitMapper.xml index 5433c08..b8efaa6 100644 --- a/screen-api/src/main/resources/mapper/ResponsibilityUnitMapper.xml +++ b/screen-api/src/main/resources/mapper/ResponsibilityUnitMapper.xml @@ -38,5 +38,18 @@ </select> + <select id="selectAreaCode" resultType="java.lang.String"> + select area_code from responsibility_unit t where unit_id = #{id} + </select> + + + <select id="selectName" resultType="java.lang.String"> + select t1.dataValue from sys_dict_type t + left join sys_dict_data t1 on t1.dict_type_id = t.id + + where t.is_delete = 0 and t.name = #{code} and t1.dataKey = #{id} and t1.is_delete = 0 + + + </select> </mapper> \ No newline at end of file -- Gitblit v1.8.0