From 443dada93609cbcda4c565bbc2af865d1032a2fa Mon Sep 17 00:00:00 2001 From: yss <17921@qq.com> Date: Mon, 11 Mar 2024 16:30:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=9D=87=E8=A1=A1=E6=8A=A5=E4=BB=B7?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dao/mapper/UnbalancedQuotationProjectMapper.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/project/unbalancedQuotation/dao/mapper/UnbalancedQuotationProjectMapper.xml b/src/main/java/com/chinaunicom/mall/ebtp/project/unbalancedQuotation/dao/mapper/UnbalancedQuotationProjectMapper.xml index b3d5d7a..b3b71d9 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/project/unbalancedQuotation/dao/mapper/UnbalancedQuotationProjectMapper.xml +++ b/src/main/java/com/chinaunicom/mall/ebtp/project/unbalancedQuotation/dao/mapper/UnbalancedQuotationProjectMapper.xml @@ -71,10 +71,13 @@ and xm.app_manager_name like - and (xm.owner_contact_id #{section.ownerContactId} or xm.app_manager_id #{section.ownerContactId}) + and (xm.owner_contact_id = #{section.ownerContactId} or xm.app_manager_id = #{section.ownerContactId}) - - and bjhbj.`status`= #{section.status} + + and (bjhbj.`status` is null or bjhbj.`status`= 0) + + + and bjhbj.`status`= 1 and year(xm.create_date)= #{section.year}