diff --git a/emis-biz/src/main/resources/mapper/EmisSettlePayRelMapper.xml b/emis-biz/src/main/resources/mapper/EmisSettlePayRelMapper.xml index 99214051d..692781215 100644 --- a/emis-biz/src/main/resources/mapper/EmisSettlePayRelMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisSettlePayRelMapper.xml @@ -43,7 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" emis_settle_pay_record x1, emis_settle_bill x2 WHERE - x1.del_flag = '0' and x1.pay_status='1' + x1.del_flag = '0' AND x2.del_flag = '0' AND FIND_IN_SET( x2.settle_bill_no, x1.settle_bill_no ) AND FIND_IN_SET( x2.settle_bill_no, #{settleBillNo})