From ef2cae1d7b9ba75f8281bf36f8230b651a9ea382 Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Tue, 4 Jun 2024 11:44:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E5=BE=AE=E4=BF=A1=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E7=94=A8=E5=B7=A5=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/device/EquRepairOrderMapper.xml | 2 +- .../op-open/src/main/resources/mapper/open/OpenMapper.xml | 2 +- .../main/resources/mapper/quality/QcCheckTaskIncomeMapper.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/op-modules/op-device/src/main/resources/mapper/device/EquRepairOrderMapper.xml b/op-modules/op-device/src/main/resources/mapper/device/EquRepairOrderMapper.xml index 40c7bc48..fdaac173 100644 --- a/op-modules/op-device/src/main/resources/mapper/device/EquRepairOrderMapper.xml +++ b/op-modules/op-device/src/main/resources/mapper/device/EquRepairOrderMapper.xml @@ -348,7 +348,7 @@ sn.notice_type noticeType, sn.notice_content noticeContent, btu.user_name userCode, - btu.wx_id wxId + case when btu.wx_id is null then btu.user_name else btu.wx_id end wxId from sys_notice_group sng left join sys_notice sn on sng.notice_id = sn.notice_id left join base_team_user btu on sng.group_code = btu.team_code diff --git a/op-modules/op-open/src/main/resources/mapper/open/OpenMapper.xml b/op-modules/op-open/src/main/resources/mapper/open/OpenMapper.xml index c6e8efcb..fb3d6d09 100644 --- a/op-modules/op-open/src/main/resources/mapper/open/OpenMapper.xml +++ b/op-modules/op-open/src/main/resources/mapper/open/OpenMapper.xml @@ -392,7 +392,7 @@ sn.notice_type noticeType, sn.notice_content noticeContent, btu.user_name userCode, - btu.wx_id wxId + case when btu.wx_id is null then btu.user_name else btu.wx_id end wxId from sys_notice_group sng left join sys_notice sn on sng.notice_id = sn.notice_id left join base_team_user btu on sng.group_code = btu.team_code diff --git a/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckTaskIncomeMapper.xml b/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckTaskIncomeMapper.xml index f30ebd2a..bb9b1093 100644 --- a/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckTaskIncomeMapper.xml +++ b/op-modules/op-quality/src/main/resources/mapper/quality/QcCheckTaskIncomeMapper.xml @@ -492,7 +492,7 @@ sn.notice_type noticeType, sn.notice_content noticeContent, btu.user_name userCode, - btu.wx_id wxId + case when btu.wx_id is null then btu.user_name else btu.wx_id end wxId from sys_notice_group sng left join sys_notice sn on sng.notice_id = sn.notice_id left join base_team_user btu on sng.group_code = btu.team_code