diff --git a/emis-biz/src/main/resources/mapper/EmisSettleBillMapper.xml b/emis-biz/src/main/resources/mapper/EmisSettleBillMapper.xml index 0d81dc000..35c906887 100644 --- a/emis-biz/src/main/resources/mapper/EmisSettleBillMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisSettleBillMapper.xml @@ -260,12 +260,12 @@ ) tbe on tba.salesmen=tbe.salesmen and tba.billMonth=tbe.billMonth where 1=1 - - and tba.totalNoRecdPayMoney ]] 0 + and tba.totalNoRecdPayMoney ]]> 0 and ( - ifnull( tbe.expiredNoRecdPayMoney, 0 ) ]] 0 - or ( tba.recPayMoney - ifnull( tbc.recdPayMoney, 0 )) ]] 0 + ifnull( tbe.expiredNoRecdPayMoney, 0 ) ]]> 0 + or + ( tba.recPayMoney - ifnull( tbc.recdPayMoney, 0 ) ) ]]> 0 )