正在显示
21 个修改的文件
包含
35 行增加
和
29 行删除
@@ -11,7 +11,6 @@ spring: | @@ -11,7 +11,6 @@ spring: | ||
11 | mvc: | 11 | mvc: |
12 | #静态资源,设置上传文件的访问, | 12 | #静态资源,设置上传文件的访问, |
13 | static-path-pattern: /** | 13 | static-path-pattern: /** |
14 | - | ||
15 | resources: | 14 | resources: |
16 | static-locations: classpath:/META-INF/resources/,classpath:/static,classpath:/resources/,file:${web.upload-path} | 15 | static-locations: classpath:/META-INF/resources/,classpath:/static,classpath:/resources/,file:${web.upload-path} |
17 | 16 | ||
@@ -138,4 +137,3 @@ custom: | @@ -138,4 +137,3 @@ custom: | ||
138 | tcs: | 137 | tcs: |
139 | mq-number: DXPENT0000460002 | 138 | mq-number: DXPENT0000460002 |
140 | 139 | ||
141 | - |
@@ -12,6 +12,7 @@ import org.springframework.beans.factory.annotation.Value; | @@ -12,6 +12,7 @@ import org.springframework.beans.factory.annotation.Value; | ||
12 | import org.springframework.stereotype.Service; | 12 | import org.springframework.stereotype.Service; |
13 | 13 | ||
14 | import java.io.IOException; | 14 | import java.io.IOException; |
15 | +import java.math.BigDecimal; | ||
15 | import java.text.ParseException; | 16 | import java.text.ParseException; |
16 | import java.util.Date; | 17 | import java.util.Date; |
17 | import java.util.HashMap; | 18 | import java.util.HashMap; |
@@ -131,7 +132,7 @@ public class MT1201ServiceImp extends CustomXmlMaker implements MT1201Service{ | @@ -131,7 +132,7 @@ public class MT1201ServiceImp extends CustomXmlMaker implements MT1201Service{ | ||
131 | // 件数 | 132 | // 件数 |
132 | nmmsCustomResponse.setBuspiece(Integer.valueOf(customMt1201.getPiece().toString())); | 133 | nmmsCustomResponse.setBuspiece(Integer.valueOf(customMt1201.getPiece().toString())); |
133 | // 重量 | 134 | // 重量 |
134 | - nmmsCustomResponse.setBusweight(Long.valueOf(customMt1201.getWeight().toString())); | 135 | + nmmsCustomResponse.setBusweight(new BigDecimal(customMt1201.getWeight().toString())); |
135 | // 操作类型 | 136 | // 操作类型 |
136 | nmmsCustomResponse.setOpertype("新增"); | 137 | nmmsCustomResponse.setOpertype("新增"); |
137 | nmmsCustomResponse.setCusrescode("23"); | 138 | nmmsCustomResponse.setCusrescode("23"); |
@@ -161,7 +162,7 @@ public class MT1201ServiceImp extends CustomXmlMaker implements MT1201Service{ | @@ -161,7 +162,7 @@ public class MT1201ServiceImp extends CustomXmlMaker implements MT1201Service{ | ||
161 | // 件数 | 162 | // 件数 |
162 | nmmsCustomResponse.setBuspiece(Integer.valueOf(customMt1201.getPiece().toString())); | 163 | nmmsCustomResponse.setBuspiece(Integer.valueOf(customMt1201.getPiece().toString())); |
163 | // 重量 | 164 | // 重量 |
164 | - nmmsCustomResponse.setBusweight(Long.valueOf(customMt1201.getWeight().toString())); | 165 | + nmmsCustomResponse.setBusweight(new BigDecimal(customMt1201.getWeight().toString())); |
165 | // 操作类型 | 166 | // 操作类型 |
166 | nmmsCustomResponse.setOpertype("修改"); | 167 | nmmsCustomResponse.setOpertype("修改"); |
167 | nmmsCustomResponse.setCusrescode("25"); | 168 | nmmsCustomResponse.setCusrescode("25"); |
@@ -161,7 +161,7 @@ public class MT2201ServiceImp extends CustomXmlMaker implements MT2201Service { | @@ -161,7 +161,7 @@ public class MT2201ServiceImp extends CustomXmlMaker implements MT2201Service { | ||
161 | // 件数 | 161 | // 件数 |
162 | nmmsCustomResponse.setBuspiece(Integer.valueOf(custom_mt2201.getPiece().toString())); | 162 | nmmsCustomResponse.setBuspiece(Integer.valueOf(custom_mt2201.getPiece().toString())); |
163 | // 重量 | 163 | // 重量 |
164 | - nmmsCustomResponse.setBusweight(Long.valueOf(custom_mt2201.getWeight().toString())); | 164 | + nmmsCustomResponse.setBusweight(new BigDecimal(custom_mt2201.getWeight().toString())); |
165 | // 操作类型 | 165 | // 操作类型 |
166 | nmmsCustomResponse.setOpertype("新增"); | 166 | nmmsCustomResponse.setOpertype("新增"); |
167 | nmmsCustomResponse.setCusrescode("23"); | 167 | nmmsCustomResponse.setCusrescode("23"); |
@@ -191,7 +191,7 @@ public class MT2201ServiceImp extends CustomXmlMaker implements MT2201Service { | @@ -191,7 +191,7 @@ public class MT2201ServiceImp extends CustomXmlMaker implements MT2201Service { | ||
191 | // 件数 | 191 | // 件数 |
192 | nmmsCustomResponse.setBuspiece(Integer.valueOf(custom_mt2201.getPiece().toString())); | 192 | nmmsCustomResponse.setBuspiece(Integer.valueOf(custom_mt2201.getPiece().toString())); |
193 | // 重量 | 193 | // 重量 |
194 | - nmmsCustomResponse.setBusweight(Long.valueOf(custom_mt2201.getWeight().toString())); | 194 | + nmmsCustomResponse.setBusweight(new BigDecimal(custom_mt2201.getWeight().toString())); |
195 | // 操作类型 | 195 | // 操作类型 |
196 | nmmsCustomResponse.setOpertype("修改"); | 196 | nmmsCustomResponse.setOpertype("修改"); |
197 | nmmsCustomResponse.setCusrescode("25"); | 197 | nmmsCustomResponse.setCusrescode("25"); |
@@ -11,6 +11,7 @@ import org.springframework.beans.factory.annotation.Value; | @@ -11,6 +11,7 @@ import org.springframework.beans.factory.annotation.Value; | ||
11 | import org.springframework.stereotype.Service; | 11 | import org.springframework.stereotype.Service; |
12 | 12 | ||
13 | import java.io.IOException; | 13 | import java.io.IOException; |
14 | +import java.math.BigDecimal; | ||
14 | import java.text.ParseException; | 15 | import java.text.ParseException; |
15 | import java.util.HashMap; | 16 | import java.util.HashMap; |
16 | import java.util.Map; | 17 | import java.util.Map; |
@@ -68,7 +69,7 @@ public class MT3201ServiceImp extends CustomXmlMaker implements MT3201Service { | @@ -68,7 +69,7 @@ public class MT3201ServiceImp extends CustomXmlMaker implements MT3201Service { | ||
68 | // 件数 | 69 | // 件数 |
69 | nmmsCustomResponse.setBuspiece(Integer.valueOf(customMt3201.getPiece().toString())); | 70 | nmmsCustomResponse.setBuspiece(Integer.valueOf(customMt3201.getPiece().toString())); |
70 | // 重量 | 71 | // 重量 |
71 | - nmmsCustomResponse.setBusweight(Long.valueOf(customMt3201.getWeight().toString())); | 72 | + nmmsCustomResponse.setBusweight(new BigDecimal(customMt3201.getWeight().toString())); |
72 | // 操作类型 | 73 | // 操作类型 |
73 | nmmsCustomResponse.setOpertype("新增"); | 74 | nmmsCustomResponse.setOpertype("新增"); |
74 | nmmsCustomResponse.setCusrescode("23"); | 75 | nmmsCustomResponse.setCusrescode("23"); |
@@ -11,6 +11,7 @@ import org.springframework.beans.factory.annotation.Value; | @@ -11,6 +11,7 @@ import org.springframework.beans.factory.annotation.Value; | ||
11 | import org.springframework.stereotype.Service; | 11 | import org.springframework.stereotype.Service; |
12 | 12 | ||
13 | import java.io.IOException; | 13 | import java.io.IOException; |
14 | +import java.math.BigDecimal; | ||
14 | import java.text.ParseException; | 15 | import java.text.ParseException; |
15 | import java.util.HashMap; | 16 | import java.util.HashMap; |
16 | import java.util.Map; | 17 | import java.util.Map; |
@@ -60,7 +61,7 @@ public class MT3202ServiceImp extends CustomXmlMaker implements MT3202Service { | @@ -60,7 +61,7 @@ public class MT3202ServiceImp extends CustomXmlMaker implements MT3202Service { | ||
60 | // 件数 | 61 | // 件数 |
61 | nmmsCustomResponse.setBuspiece(Integer.valueOf(nmmsCustomTrans.getTurnpiece().toString())); | 62 | nmmsCustomResponse.setBuspiece(Integer.valueOf(nmmsCustomTrans.getTurnpiece().toString())); |
62 | // 重量 | 63 | // 重量 |
63 | - nmmsCustomResponse.setBusweight(Long.valueOf(nmmsCustomTrans.getTurnweight().toString())); | 64 | + nmmsCustomResponse.setBusweight(new BigDecimal(nmmsCustomTrans.getTurnweight().toString())); |
64 | // 操作类型 | 65 | // 操作类型 |
65 | nmmsCustomResponse.setOpertype("新增"); | 66 | nmmsCustomResponse.setOpertype("新增"); |
66 | nmmsCustomResponse.setCusrescode("23"); | 67 | nmmsCustomResponse.setCusrescode("23"); |
@@ -12,6 +12,7 @@ import org.springframework.stereotype.Service; | @@ -12,6 +12,7 @@ import org.springframework.stereotype.Service; | ||
12 | 12 | ||
13 | import javax.xml.crypto.Data; | 13 | import javax.xml.crypto.Data; |
14 | import java.io.IOException; | 14 | import java.io.IOException; |
15 | +import java.math.BigDecimal; | ||
15 | import java.text.ParseException; | 16 | import java.text.ParseException; |
16 | import java.util.HashMap; | 17 | import java.util.HashMap; |
17 | import java.util.Map; | 18 | import java.util.Map; |
@@ -69,7 +70,7 @@ public class MT4201ServiceImp extends CustomXmlMaker implements MT4201Service { | @@ -69,7 +70,7 @@ public class MT4201ServiceImp extends CustomXmlMaker implements MT4201Service { | ||
69 | // 件数 | 70 | // 件数 |
70 | nmmsCustomResponse.setBuspiece(Integer.valueOf(customMt4201.getLodingpiece().toString())); | 71 | nmmsCustomResponse.setBuspiece(Integer.valueOf(customMt4201.getLodingpiece().toString())); |
71 | // 重量 | 72 | // 重量 |
72 | - nmmsCustomResponse.setBusweight(Long.valueOf(customMt4201.getLodingweight().toString())); | 73 | + nmmsCustomResponse.setBusweight(new BigDecimal(customMt4201.getLodingweight().toString())); |
73 | // 操作类型 | 74 | // 操作类型 |
74 | nmmsCustomResponse.setOpertype("新增"); | 75 | nmmsCustomResponse.setOpertype("新增"); |
75 | nmmsCustomResponse.setCusrescode("23"); | 76 | nmmsCustomResponse.setCusrescode("23"); |
@@ -11,6 +11,7 @@ import org.springframework.beans.factory.annotation.Value; | @@ -11,6 +11,7 @@ import org.springframework.beans.factory.annotation.Value; | ||
11 | import org.springframework.stereotype.Service; | 11 | import org.springframework.stereotype.Service; |
12 | 12 | ||
13 | import java.io.IOException; | 13 | import java.io.IOException; |
14 | +import java.math.BigDecimal; | ||
14 | import java.text.ParseException; | 15 | import java.text.ParseException; |
15 | import java.util.HashMap; | 16 | import java.util.HashMap; |
16 | import java.util.Map; | 17 | import java.util.Map; |
@@ -11,6 +11,7 @@ import org.springframework.beans.factory.annotation.Value; | @@ -11,6 +11,7 @@ import org.springframework.beans.factory.annotation.Value; | ||
11 | import org.springframework.stereotype.Service; | 11 | import org.springframework.stereotype.Service; |
12 | 12 | ||
13 | import java.io.IOException; | 13 | import java.io.IOException; |
14 | +import java.math.BigDecimal; | ||
14 | import java.text.ParseException; | 15 | import java.text.ParseException; |
15 | import java.util.HashMap; | 16 | import java.util.HashMap; |
16 | import java.util.Map; | 17 | import java.util.Map; |
@@ -59,7 +60,7 @@ public class MT6202ServiceImp extends CustomXmlMaker implements MT6202Service{ | @@ -59,7 +60,7 @@ public class MT6202ServiceImp extends CustomXmlMaker implements MT6202Service{ | ||
59 | // 件数 | 60 | // 件数 |
60 | nmmsCustomResponse.setBuspiece(Integer.valueOf(nmmsCustomTrans.getTurnpiece().toString())); | 61 | nmmsCustomResponse.setBuspiece(Integer.valueOf(nmmsCustomTrans.getTurnpiece().toString())); |
61 | // 重量 | 62 | // 重量 |
62 | - nmmsCustomResponse.setBusweight(Long.valueOf(nmmsCustomTrans.getTurnweight().toString())); | 63 | + nmmsCustomResponse.setBusweight(new BigDecimal(nmmsCustomTrans.getTurnweight().toString())); |
63 | // 操作类型 | 64 | // 操作类型 |
64 | nmmsCustomResponse.setOpertype("新增"); | 65 | nmmsCustomResponse.setOpertype("新增"); |
65 | nmmsCustomResponse.setCusrescode("23"); | 66 | nmmsCustomResponse.setCusrescode("23"); |
@@ -14,6 +14,7 @@ import org.springframework.beans.factory.annotation.Value; | @@ -14,6 +14,7 @@ import org.springframework.beans.factory.annotation.Value; | ||
14 | import org.springframework.stereotype.Service; | 14 | import org.springframework.stereotype.Service; |
15 | 15 | ||
16 | import java.io.IOException; | 16 | import java.io.IOException; |
17 | +import java.math.BigDecimal; | ||
17 | import java.text.ParseException; | 18 | import java.text.ParseException; |
18 | import java.util.HashMap; | 19 | import java.util.HashMap; |
19 | import java.util.Map; | 20 | import java.util.Map; |
@@ -75,7 +76,7 @@ public class MT8205ServiceImp extends CustomXmlMaker implements MT8205Service { | @@ -75,7 +76,7 @@ public class MT8205ServiceImp extends CustomXmlMaker implements MT8205Service { | ||
75 | // 件数 | 76 | // 件数 |
76 | nmmsCustomResponse.setBuspiece(Integer.valueOf(customMt1201.getPiece().toString())); | 77 | nmmsCustomResponse.setBuspiece(Integer.valueOf(customMt1201.getPiece().toString())); |
77 | // 重量 | 78 | // 重量 |
78 | - nmmsCustomResponse.setBusweight(Long.valueOf(customMt1201.getWeight().toString())); | 79 | + nmmsCustomResponse.setBusweight(new BigDecimal(customMt1201.getWeight().toString())); |
79 | // 操作类型 | 80 | // 操作类型 |
80 | nmmsCustomResponse.setOpertype("新增"); | 81 | nmmsCustomResponse.setOpertype("新增"); |
81 | nmmsCustomResponse.setCusrescode("23"); | 82 | nmmsCustomResponse.setCusrescode("23"); |
@@ -2,6 +2,7 @@ package com.sunyo.wlpt.message.builder.util; | @@ -2,6 +2,7 @@ package com.sunyo.wlpt.message.builder.util; | ||
2 | 2 | ||
3 | import com.sunyo.wlpt.base.model.NMMS_CUSTOM_RESPONSE; | 3 | import com.sunyo.wlpt.base.model.NMMS_CUSTOM_RESPONSE; |
4 | 4 | ||
5 | +import java.math.BigDecimal; | ||
5 | import java.text.ParseException; | 6 | import java.text.ParseException; |
6 | import java.text.SimpleDateFormat; | 7 | import java.text.SimpleDateFormat; |
7 | import java.util.Date; | 8 | import java.util.Date; |
@@ -48,7 +49,7 @@ public class ReturnUtil { | @@ -48,7 +49,7 @@ public class ReturnUtil { | ||
48 | nmmsCustomResponse.setBuspiece(Integer.valueOf(map.get("piece").toString())); | 49 | nmmsCustomResponse.setBuspiece(Integer.valueOf(map.get("piece").toString())); |
49 | } | 50 | } |
50 | if (map.containsKey("weight")){ | 51 | if (map.containsKey("weight")){ |
51 | - nmmsCustomResponse.setBusweight(Long.valueOf(map.get("weight").toString())); | 52 | + nmmsCustomResponse.setBusweight(new BigDecimal(map.get("weight").toString())); |
52 | } | 53 | } |
53 | nmmsCustomResponse.setBustype(map.get("busType").toString()); | 54 | nmmsCustomResponse.setBustype(map.get("busType").toString()); |
54 | if (map.containsKey("awba")){ | 55 | if (map.containsKey("awba")){ |
@@ -53,7 +53,7 @@ | @@ -53,7 +53,7 @@ | ||
53 | <ConsignmentPackaging> | 53 | <ConsignmentPackaging> |
54 | <QuantityQuantity>${awbAwbinfo.pcs}</QuantityQuantity> | 54 | <QuantityQuantity>${awbAwbinfo.pcs}</QuantityQuantity> |
55 | </ConsignmentPackaging> | 55 | </ConsignmentPackaging> |
56 | - <TotalGrossMassMeasure>${awbAwbinfo.weight}</TotalGrossMassMeasure> | 56 | + <TotalGrossMassMeasure>${awbAwbinfo.weight?c}</TotalGrossMassMeasure> |
57 | <Consignee> | 57 | <Consignee> |
58 | <Name>${awbAwbinfo.cnsnname}</Name> | 58 | <Name>${awbAwbinfo.cnsnname}</Name> |
59 | <Address> | 59 | <Address> |
@@ -85,7 +85,7 @@ | @@ -85,7 +85,7 @@ | ||
85 | <CargoDescription>${mt.goodsname}</CargoDescription> | 85 | <CargoDescription>${mt.goodsname}</CargoDescription> |
86 | </Commodity> | 86 | </Commodity> |
87 | <GoodsMeasure> | 87 | <GoodsMeasure> |
88 | - <GrossMassMeasure>${mt.weight}</GrossMassMeasure> | 88 | + <GrossMassMeasure>${mt.weight?c}</GrossMassMeasure> |
89 | </GoodsMeasure> | 89 | </GoodsMeasure> |
90 | </ConsignmentItem> | 90 | </ConsignmentItem> |
91 | </Consignment> | 91 | </Consignment> |
@@ -54,7 +54,7 @@ | @@ -54,7 +54,7 @@ | ||
54 | <ConsignmentPackaging> | 54 | <ConsignmentPackaging> |
55 | <QuantityQuantity>${awbAwbinfo.pcs}</QuantityQuantity> | 55 | <QuantityQuantity>${awbAwbinfo.pcs}</QuantityQuantity> |
56 | </ConsignmentPackaging> | 56 | </ConsignmentPackaging> |
57 | - <TotalGrossMassMeasure>${awbAwbinfo.weight}</TotalGrossMassMeasure> | 57 | + <TotalGrossMassMeasure>${awbAwbinfo.weight?c}</TotalGrossMassMeasure> |
58 | <Consignee> | 58 | <Consignee> |
59 | <Name>${awbAwbinfo.cnsnname}</Name> | 59 | <Name>${awbAwbinfo.cnsnname}</Name> |
60 | <Address> | 60 | <Address> |
@@ -85,7 +85,7 @@ | @@ -85,7 +85,7 @@ | ||
85 | <CargoDescription>${mt.goodsname}</CargoDescription> | 85 | <CargoDescription>${mt.goodsname}</CargoDescription> |
86 | </Commodity> | 86 | </Commodity> |
87 | <GoodsMeasure> | 87 | <GoodsMeasure> |
88 | - <GrossMassMeasure>${mt.weight}</GrossMassMeasure> | 88 | + <GrossMassMeasure>${mt.weight?c}</GrossMassMeasure> |
89 | </GoodsMeasure> | 89 | </GoodsMeasure> |
90 | </ConsignmentItem> | 90 | </ConsignmentItem> |
91 | </Consignment> | 91 | </Consignment> |
@@ -53,7 +53,7 @@ | @@ -53,7 +53,7 @@ | ||
53 | <ConsignmentPackaging> | 53 | <ConsignmentPackaging> |
54 | <QuantityQuantity>${awbAwbinfo.pcs}</QuantityQuantity> | 54 | <QuantityQuantity>${awbAwbinfo.pcs}</QuantityQuantity> |
55 | </ConsignmentPackaging> | 55 | </ConsignmentPackaging> |
56 | - <TotalGrossMassMeasure>${awbAwbinfo.weight}</TotalGrossMassMeasure> | 56 | + <TotalGrossMassMeasure>${awbAwbinfo.weight?c}</TotalGrossMassMeasure> |
57 | <Consignee> | 57 | <Consignee> |
58 | <Name>${awbAwbinfo.cnsnname}</Name> | 58 | <Name>${awbAwbinfo.cnsnname}</Name> |
59 | <Address> | 59 | <Address> |
@@ -85,7 +85,7 @@ | @@ -85,7 +85,7 @@ | ||
85 | <CargoDescription>${mt.goodsname}</CargoDescription> | 85 | <CargoDescription>${mt.goodsname}</CargoDescription> |
86 | </Commodity> | 86 | </Commodity> |
87 | <GoodsMeasure> | 87 | <GoodsMeasure> |
88 | - <GrossMassMeasure>${mt.weight}</GrossMassMeasure> | 88 | + <GrossMassMeasure>${mt.weight?c}</GrossMassMeasure> |
89 | </GoodsMeasure> | 89 | </GoodsMeasure> |
90 | </ConsignmentItem> | 90 | </ConsignmentItem> |
91 | </Consignment> | 91 | </Consignment> |
@@ -50,7 +50,7 @@ | @@ -50,7 +50,7 @@ | ||
50 | <ConsignmentPackaging> | 50 | <ConsignmentPackaging> |
51 | <QuantityQuantity>${awbAwbinfo.pcs}</QuantityQuantity> | 51 | <QuantityQuantity>${awbAwbinfo.pcs}</QuantityQuantity> |
52 | </ConsignmentPackaging> | 52 | </ConsignmentPackaging> |
53 | - <TotalGrossMassMeasure>${awbAwbinfo.weight}</TotalGrossMassMeasure> | 53 | + <TotalGrossMassMeasure>${awbAwbinfo.weight?c}</TotalGrossMassMeasure> |
54 | <Consignee> | 54 | <Consignee> |
55 | <Name>${awbAwbinfo.cnsnname}</Name> | 55 | <Name>${awbAwbinfo.cnsnname}</Name> |
56 | <Address> | 56 | <Address> |
@@ -80,7 +80,7 @@ | @@ -80,7 +80,7 @@ | ||
80 | <CargoDescription>${mt.goodsname}</CargoDescription> | 80 | <CargoDescription>${mt.goodsname}</CargoDescription> |
81 | </Commodity> | 81 | </Commodity> |
82 | <GoodsMeasure> | 82 | <GoodsMeasure> |
83 | - <GrossMassMeasure>${mt.weight}</GrossMassMeasure> | 83 | + <GrossMassMeasure>${mt.weight?c}</GrossMassMeasure> |
84 | </GoodsMeasure> | 84 | </GoodsMeasure> |
85 | </ConsignmentItem> | 85 | </ConsignmentItem> |
86 | </Consignment> | 86 | </Consignment> |
@@ -32,7 +32,7 @@ | @@ -32,7 +32,7 @@ | ||
32 | <ConsignmentPackaging> | 32 | <ConsignmentPackaging> |
33 | <QuantityQuantity>${mt.piece}</QuantityQuantity> | 33 | <QuantityQuantity>${mt.piece}</QuantityQuantity> |
34 | </ConsignmentPackaging> | 34 | </ConsignmentPackaging> |
35 | - <TotalGrossMassMeasure>${mt.weight}</TotalGrossMassMeasure> | 35 | + <TotalGrossMassMeasure>${mt.weight?c}</TotalGrossMassMeasure> |
36 | <ConsignmentItem> | 36 | <ConsignmentItem> |
37 | <SequenceNumeric>1</SequenceNumeric> | 37 | <SequenceNumeric>1</SequenceNumeric> |
38 | <Commodity> | 38 | <Commodity> |
@@ -26,7 +26,7 @@ | @@ -26,7 +26,7 @@ | ||
26 | <ConsignmentPackaging> | 26 | <ConsignmentPackaging> |
27 | <QuantityQuantity>${mt.turnpiece}</QuantityQuantity> | 27 | <QuantityQuantity>${mt.turnpiece}</QuantityQuantity> |
28 | </ConsignmentPackaging> | 28 | </ConsignmentPackaging> |
29 | - <TotalGrossMassMeasure>${mt.turnweight}</TotalGrossMassMeasure> | 29 | + <TotalGrossMassMeasure>${mt.turnweight?c}</TotalGrossMassMeasure> |
30 | <ConsignmentItem> | 30 | <ConsignmentItem> |
31 | <SequenceNumeric>1</SequenceNumeric> | 31 | <SequenceNumeric>1</SequenceNumeric> |
32 | <Commodity> | 32 | <Commodity> |
@@ -34,7 +34,7 @@ | @@ -34,7 +34,7 @@ | ||
34 | <ConsignmentPackaging> | 34 | <ConsignmentPackaging> |
35 | <QuantityQuantity>${mt.lodingpiece}</QuantityQuantity> | 35 | <QuantityQuantity>${mt.lodingpiece}</QuantityQuantity> |
36 | </ConsignmentPackaging> | 36 | </ConsignmentPackaging> |
37 | - <TotalGrossMassMeasure>${mt.lodingweight}</TotalGrossMassMeasure> | 37 | + <TotalGrossMassMeasure>${mt.lodingweight?c}</TotalGrossMassMeasure> |
38 | <TransportSplitIndicator>0</TransportSplitIndicator> | 38 | <TransportSplitIndicator>0</TransportSplitIndicator> |
39 | <ConsignmentItem> | 39 | <ConsignmentItem> |
40 | <Commodity> | 40 | <Commodity> |
@@ -28,7 +28,7 @@ | @@ -28,7 +28,7 @@ | ||
28 | <TransportContractDocument> | 28 | <TransportContractDocument> |
29 | <ID>${mt.awba}</ID> | 29 | <ID>${mt.awba}</ID> |
30 | </TransportContractDocument> | 30 | </TransportContractDocument> |
31 | - <#if mt.awbh?length gt 1> | 31 | + <#if mt.awbh?default("")?length gt 1> |
32 | <AssociatedTransportDocument> | 32 | <AssociatedTransportDocument> |
33 | <ID>${mt.awba}_${mt.awbh}</ID> | 33 | <ID>${mt.awba}_${mt.awbh}</ID> |
34 | </AssociatedTransportDocument> | 34 | </AssociatedTransportDocument> |
@@ -36,7 +36,7 @@ | @@ -36,7 +36,7 @@ | ||
36 | <ConsignmentPackaging> | 36 | <ConsignmentPackaging> |
37 | <QuantityQuantity>${mt.piece}</QuantityQuantity> | 37 | <QuantityQuantity>${mt.piece}</QuantityQuantity> |
38 | </ConsignmentPackaging> | 38 | </ConsignmentPackaging> |
39 | - <TotalGrossMassMeasure>${mt.weight}</TotalGrossMassMeasure> | 39 | + <TotalGrossMassMeasure>${mt.weight?c}</TotalGrossMassMeasure> |
40 | </Consignment> | 40 | </Consignment> |
41 | </Declaration> | 41 | </Declaration> |
42 | </Manifest> | 42 | </Manifest> |
@@ -38,7 +38,7 @@ | @@ -38,7 +38,7 @@ | ||
38 | <ConsignmentPackaging> | 38 | <ConsignmentPackaging> |
39 | <QuantityQuantity>${mt.piece}</QuantityQuantity> | 39 | <QuantityQuantity>${mt.piece}</QuantityQuantity> |
40 | </ConsignmentPackaging> | 40 | </ConsignmentPackaging> |
41 | - <TotalGrossMassMeasure>${mt.weight}</TotalGrossMassMeasure> | 41 | + <TotalGrossMassMeasure>${mt.weight?c}</TotalGrossMassMeasure> |
42 | </Consignment> | 42 | </Consignment> |
43 | </Declaration> | 43 | </Declaration> |
44 | </Manifest> | 44 | </Manifest> |
@@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
25 | <ConsignmentPackaging> | 25 | <ConsignmentPackaging> |
26 | <QuantityQuantity>${mt.turnpiece}</QuantityQuantity> | 26 | <QuantityQuantity>${mt.turnpiece}</QuantityQuantity> |
27 | </ConsignmentPackaging> | 27 | </ConsignmentPackaging> |
28 | - <TotalGrossMassMeasure>${mt.turnweight}</TotalGrossMassMeasure> | 28 | + <TotalGrossMassMeasure>${mt.turnweight?c}</TotalGrossMassMeasure> |
29 | <BorderTransportMeans> | 29 | <BorderTransportMeans> |
30 | <JourneyID>${mt.pno}</JourneyID> | 30 | <JourneyID>${mt.pno}</JourneyID> |
31 | <TypeCode>3</TypeCode> | 31 | <TypeCode>3</TypeCode> |
@@ -29,7 +29,7 @@ | @@ -29,7 +29,7 @@ | ||
29 | <QuantityQuantity>${mt1201.piece}</QuantityQuantity> | 29 | <QuantityQuantity>${mt1201.piece}</QuantityQuantity> |
30 | <TypeCode>PK</TypeCode> | 30 | <TypeCode>PK</TypeCode> |
31 | </ConsignmentPackaging> | 31 | </ConsignmentPackaging> |
32 | - <TotalGrossMassMeasure>${mt1201.weight}</TotalGrossMassMeasure> | 32 | + <TotalGrossMassMeasure>${mt1201.weight?c}</TotalGrossMassMeasure> |
33 | <ConsignmentItem> | 33 | <ConsignmentItem> |
34 | <Commodity> | 34 | <Commodity> |
35 | <CargoDescription>${mt1201.goodsname}</CargoDescription> | 35 | <CargoDescription>${mt1201.goodsname}</CargoDescription> |
@@ -55,7 +55,7 @@ | @@ -55,7 +55,7 @@ | ||
55 | <QuantityQuantity>${mt2201.piece}</QuantityQuantity> | 55 | <QuantityQuantity>${mt2201.piece}</QuantityQuantity> |
56 | <TypeCode>PK</TypeCode> | 56 | <TypeCode>PK</TypeCode> |
57 | </ConsignmentPackaging> | 57 | </ConsignmentPackaging> |
58 | - <TotalGrossMassMeasure>${mt2201.weight}</TotalGrossMassMeasure> | 58 | + <TotalGrossMassMeasure>${mt2201.weight?c}</TotalGrossMassMeasure> |
59 | </Consignment> | 59 | </Consignment> |
60 | </ExportInformation> | 60 | </ExportInformation> |
61 | </Relation> | 61 | </Relation> |
-
请 注册 或 登录 后发表评论