diff --git a/sgzb-modules/sgzb-base/src/main/resources/mapper/app/BackReceiveMapper.xml b/sgzb-modules/sgzb-base/src/main/resources/mapper/app/BackReceiveMapper.xml index c26ad84d..0f9267a2 100644 --- a/sgzb-modules/sgzb-base/src/main/resources/mapper/app/BackReceiveMapper.xml +++ b/sgzb-modules/sgzb-base/src/main/resources/mapper/app/BackReceiveMapper.xml @@ -730,7 +730,7 @@ bad.status as status, bad.back_status as backStatus, IFNULL(bad.audit_num,0)-IFNULL(aa.back_num,0) as num, - bb.finished_back_num, + IFNULL(bb.finished_back_num, 0) as finishedBackNum, mt.manage_type as manageType, mt.company_id as companyId, CONCAT('NSJJ',mt.`code`,mt.model_code) as `code`, diff --git a/sgzb-modules/sgzb-material/src/main/resources/mapper/material/SltAgreementInfoMapper.xml b/sgzb-modules/sgzb-material/src/main/resources/mapper/material/SltAgreementInfoMapper.xml index f0d98b19..b713dc13 100644 --- a/sgzb-modules/sgzb-material/src/main/resources/mapper/material/SltAgreementInfoMapper.xml +++ b/sgzb-modules/sgzb-material/src/main/resources/mapper/material/SltAgreementInfoMapper.xml @@ -248,13 +248,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" select count(*) from slt_agreement_apply where DATE_FORMAT(create_time,'%y%m') = DATE_FORMAT(#{date},'%y%m')