diff --git a/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml b/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml index 53b589b04..ae0d03851 100644 --- a/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml @@ -77,9 +77,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and settle_type=#{settleType} and bl_split=#{blSplit} and bill_month=#{billMonth} - and cust_no=#{custNo} - and customer_code=#{customerCode} - and customer_name like concat('%', #{customerName}, '%') + and b.cust_no=#{custNo} + and b.customer_code=#{customerCode} + and b.customer_name like concat('%', #{customerName}, '%') and bl_confirm=#{blConfirm} and confirm_date like concat('%', #{confirmDate}, '%') and confirm_site=#{confirmSite} @@ -180,9 +180,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and settle_type=#{settleType} and bl_split=#{blSplit} and bill_month=#{billMonth} - and cust_no=#{custNo} - and customer_code=#{customerCode} - and customer_name like concat('%', #{customerName}, '%') + and b.cust_no=#{custNo} + and b.customer_code=#{customerCode} + and b.customer_name like concat('%', #{customerName}, '%') and bl_confirm=#{blConfirm} and confirm_date like concat('%', #{confirmDate}, '%') and confirm_site=#{confirmSite}