From 98fbc9bef757f5988bd1f567033f46665386c454 Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Tue, 24 Oct 2023 10:23:00 +0800 Subject: [PATCH] chore:修复日数据空指针异常 --- screen-api/src/main/resources/mapper/ResponsibilityUnitMapper.xml | 3 +++ 1 files changed, 3 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..522b283 100644 --- a/screen-api/src/main/resources/mapper/ResponsibilityUnitMapper.xml +++ b/screen-api/src/main/resources/mapper/ResponsibilityUnitMapper.xml @@ -38,5 +38,8 @@ </select> + <select id="selectAreaCode" resultType="java.lang.String"> + select area_code from responsibility_unit t where unit_id = #{id} + </select> </mapper> \ No newline at end of file -- Gitblit v1.8.0