diff --git a/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml b/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml index b38f695f5..0fedb301a 100644 --- a/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml @@ -319,12 +319,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" round(sum(b.bill_fee),2) as totalBillFee, b.cust_no as custNo, max(b.customer_name) as customerName, - sum(b.parcel_qty) as parcelQty, - sum(b.bill_weight) as totalBillWeight, - sum(b.total_volume) as totalVolume, - sum(b.volume_weight) as totalVolumeWeight, - sum(b.settlement_weight) as totalSettlementWeight, - sum(b.freight) as totalFreight + sum(a.parcel_qty) as parcelQty, + sum(a.bill_weight) as totalBillWeight, + sum(a.total_volume) as totalVolume, + sum(a.volume_weight) as totalVolumeWeight, + sum(a.settlement_weight) as totalSettlementWeight, + sum(a.freight) as totalFreight from emis_settle_sub_bill b ,emis_waybill a