md
This commit is contained in:
parent
22281e01ee
commit
90099ea500
@ -212,19 +212,6 @@ public class EmisSettleInvoiceRecordServiceImpl extends EmisBaseService implemen
|
||||
// 更新账单开票状态
|
||||
emisSettleBillMapper.updateEmisSettleBill(newBill);
|
||||
|
||||
// 更新子账单的收款状态
|
||||
// 如果全部付款则更新运单的付款状态
|
||||
// if(rstDif>=0){
|
||||
// List<EmisSettleSubBill> listSubBill=emisSettleSubBillMapper.selectSubBillListBySettleBillNo(settleBillNo);
|
||||
// for (EmisSettleSubBill subBill:listSubBill) {
|
||||
// EmisWaybill emisWaybill = new EmisWaybill();
|
||||
// emisWaybill.setBillCode(subBill.getBillCode());
|
||||
// emisWaybillMapper.updatePayedStatus(emisWaybill);
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@ -89,6 +89,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
AND FIND_IN_SET( x2.settle_bill_no, x1.settle_bill_no )
|
||||
AND FIND_IN_SET( x2.settle_bill_no, #{settleBillNo})
|
||||
)
|
||||
AND EXISTS (
|
||||
select 1 from emis_settle_sub_bill essb where a.bill_no=essb.bill_no and essb.del_flag='0' and essb.settle_bill_no=#{settleBillNo}
|
||||
)
|
||||
</select>
|
||||
|
||||
<select id="selectHasOpenInvoiceMapList" parameterType="String" resultType="map">
|
||||
@ -105,6 +108,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
AND FIND_IN_SET( x2.settle_bill_no, x1.settle_bill_no )
|
||||
AND FIND_IN_SET( x2.settle_bill_no, #{settleBillNo})
|
||||
)
|
||||
AND EXISTS (
|
||||
select 1 from emis_settle_sub_bill essb where a.bill_no=essb.bill_no and essb.del_flag='0' and essb.settle_bill_no=#{settleBillNo}
|
||||
)
|
||||
group by bill_no
|
||||
</select>
|
||||
|
||||
|
||||
@ -48,6 +48,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
AND FIND_IN_SET( x2.settle_bill_no, x1.settle_bill_no )
|
||||
AND FIND_IN_SET( x2.settle_bill_no, #{settleBillNo})
|
||||
)
|
||||
AND EXISTS (
|
||||
select 1 from emis_settle_sub_bill essb where a.bill_no=essb.bill_no and essb.del_flag='0' and essb.settle_bill_no=#{settleBillNo}
|
||||
)
|
||||
group by bill_no
|
||||
</select>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user