diff --git a/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml b/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml
index 362e6ebed..4a482cf13 100644
--- a/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml
+++ b/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml
@@ -102,6 +102,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and a.dispatch_underling_site_code = #{params.dispatchUnderlingSiteCode}
+
+ and b.settle_bill_no is null
+
+
+
+ and b.settle_bill_no is not null
+
+
and a.payee = #{params.payee}
@@ -205,6 +213,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and a.dispatch_underling_site_code = #{params.dispatchUnderlingSiteCode}
+
+
+ and b.settle_bill_no is null
+
+
+
+ and b.settle_bill_no is not null
+
+
and a.payee = #{params.payee}