Merge pull request 'demand: 海运账单起运港目的港导出名称' (#14) from develop into master
Reviewed-on: http://git.xdadan.loc/tanex/emis-service/pulls/14
This commit is contained in:
commit
00d8c4e100
@ -55,13 +55,17 @@ public class EmisWaybillAndFeeitem extends BaseEntity
|
||||
@DataAuditField(fieldComment = "贵司编号(记录相关业务的贵司编号)")
|
||||
private String companyCode ;
|
||||
|
||||
private String departurePort ;
|
||||
|
||||
private String destinationPort;
|
||||
|
||||
@TableField
|
||||
@DataAuditField(fieldComment = "起运港")
|
||||
private String departurePort ;
|
||||
private String departurePortName ;
|
||||
|
||||
@TableField
|
||||
@DataAuditField(fieldComment = "目的港")
|
||||
private String destinationPort;
|
||||
private String destinationPortName;
|
||||
|
||||
@TableField
|
||||
@DataAuditField(fieldComment = "箱量")
|
||||
|
||||
@ -1043,8 +1043,8 @@ public class EmisSettleBillServiceImpl extends EmisBaseService implements IEmisS
|
||||
calculateSubtotal(settleSubBillFeeitemList, subtotalMap);
|
||||
settleSubBillFeeitemList.forEach(item -> {
|
||||
result.add(Lists.newArrayList(emisWaybill.getLadingBillCode(), emisWaybill.getBillCode(),
|
||||
emisWaybill.getCompanyCode(), emisWaybill.getDeparturePort(),
|
||||
emisWaybill.getDestinationPort(), emisWaybill.getBoxQuantity(),
|
||||
emisWaybill.getCompanyCode(), emisWaybill.getDeparturePortName(),
|
||||
emisWaybill.getDestinationPortName(), emisWaybill.getBoxQuantity(),
|
||||
String.valueOf(emisWaybill.getParcelQty()),
|
||||
emisWaybill.getBillWeight().stripTrailingZeros().toPlainString(),
|
||||
emisWaybill.getTotalVolume().stripTrailingZeros().toPlainString(),
|
||||
|
||||
@ -23,6 +23,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="companyCode" column="company_code"/>
|
||||
<result property="departurePort" column="departure_port"/>
|
||||
<result property="destinationPort" column="destination_port"/>
|
||||
<result property="departurePortName" column="departure_port_name" />
|
||||
<result property="destinationPortName" column="destination_port_name" />
|
||||
<result property="boxQuantity" column="box_quantity"/>
|
||||
<result property="parcelQty" column="parcel_qty"/>
|
||||
<result property="billWeight" column="bill_weight"/>
|
||||
@ -55,9 +57,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
a.parcel_qty,
|
||||
a.bill_weight,
|
||||
a.total_volume,
|
||||
seaway1.site_name as departure_port_name,
|
||||
seaway2.site_name as destination_port_name,
|
||||
b.*
|
||||
from emis_waybill a
|
||||
left join emis_settle_sub_bill_feeitem b on a.bill_code = b.bill_code and b.del_flag = '0'
|
||||
left join emis_site seaway1 on a.departure_port=seaway1.site_code and seaway1.del_flag='0'
|
||||
left join emis_site seaway2 on a.destination_port=seaway2.site_code and seaway2.del_flag='0'
|
||||
</sql>
|
||||
|
||||
<select id="selectFeeitemListBySubBillNo" parameterType="String" resultMap="EmisSettleSubBillFeeitemResult">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user