From 6e6d58f6cf8504588d5f4098fb1fbe859cf2ffba Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Wed, 6 Jul 2022 17:05:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E4=B8=8D=E7=AE=A1delflag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/CustomerRelationDao.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/epmet-module/oper-crm/oper-crm-server/src/main/resources/mapper/CustomerRelationDao.xml b/epmet-module/oper-crm/oper-crm-server/src/main/resources/mapper/CustomerRelationDao.xml index da6018982b..9c49c97b54 100644 --- a/epmet-module/oper-crm/oper-crm-server/src/main/resources/mapper/CustomerRelationDao.xml +++ b/epmet-module/oper-crm/oper-crm-server/src/main/resources/mapper/CustomerRelationDao.xml @@ -28,14 +28,14 @@ SELECT cr.*, c.CUSTOMER_NAME, - VALIDITY_TIME, - LOGO + c.VALIDITY_TIME, + c.LOGO FROM customer_relation cr LEFT JOIN customer c ON c.id = cr.CUSTOMER_ID WHERE cr.DEL_FLAG = '0' - AND c.DEL_FLAG = '0' +-- AND c.DEL_FLAG = '0' AND cr.CUSTOMER_ID = #{customerId} @@ -43,14 +43,14 @@ SELECT cr.*, c.CUSTOMER_NAME, - VALIDITY_TIME, - LOGO + c.VALIDITY_TIME, + c.LOGO FROM customer_relation cr LEFT JOIN customer c ON c.id = cr.CUSTOMER_ID WHERE cr.DEL_FLAG = '0' - AND c.DEL_FLAG = '0' +-- AND c.DEL_FLAG = '0' AND cr.PARENT_CUSTOMER_ID = #{customerPid}