正在显示
34 个修改的文件
包含
2052 行增加
和
1762 行删除
@@ -45,6 +45,12 @@ | @@ -45,6 +45,12 @@ | ||
45 | <artifactId>mysql-connector-java</artifactId> | 45 | <artifactId>mysql-connector-java</artifactId> |
46 | <scope>runtime</scope> | 46 | <scope>runtime</scope> |
47 | </dependency> | 47 | </dependency> |
48 | + | ||
49 | + <dependency> | ||
50 | + <groupId>com.oracle</groupId> | ||
51 | + <artifactId>ojdbc6</artifactId> | ||
52 | + <version>11.2.0.4.0-atlassian-hosted</version> | ||
53 | + </dependency> | ||
48 | <dependency> | 54 | <dependency> |
49 | <groupId>org.springframework.boot</groupId> | 55 | <groupId>org.springframework.boot</groupId> |
50 | <artifactId>spring-boot-starter-test</artifactId> | 56 | <artifactId>spring-boot-starter-test</artifactId> |
1 | package com.example.demo; | 1 | package com.example.demo; |
2 | 2 | ||
3 | -import com.example.demo.util.XML.XMLParse; | ||
4 | 3 | ||
5 | import org.slf4j.Logger; | 4 | import org.slf4j.Logger; |
6 | import org.slf4j.LoggerFactory; | 5 | import org.slf4j.LoggerFactory; |
@@ -11,9 +10,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; | @@ -11,9 +10,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
11 | import org.springframework.cloud.netflix.eureka.EnableEurekaClient; | 10 | import org.springframework.cloud.netflix.eureka.EnableEurekaClient; |
12 | import org.springframework.scheduling.annotation.EnableScheduling; | 11 | import org.springframework.scheduling.annotation.EnableScheduling; |
13 | 12 | ||
14 | -import java.util.Date; | ||
15 | -import java.util.List; | ||
16 | -import java.util.Map; | ||
17 | 13 | ||
18 | @SpringBootApplication | 14 | @SpringBootApplication |
19 | @EnableScheduling | 15 | @EnableScheduling |
1 | -package com.example.demo.controller; | ||
2 | - | ||
3 | -import com.example.demo.model.User; | ||
4 | -import com.example.demo.service.UserService; | ||
5 | -import org.springframework.beans.factory.annotation.Autowired; | ||
6 | -import org.springframework.stereotype.Controller; | ||
7 | -import org.springframework.web.bind.annotation.*; | ||
8 | - | ||
9 | -@Controller | ||
10 | -@RequestMapping(value = "/user") | ||
11 | -public class UserController { | ||
12 | - | ||
13 | - @Autowired | ||
14 | - private UserService userService; | ||
15 | - | ||
16 | - @ResponseBody | ||
17 | - @PostMapping("/add") | ||
18 | - public int addUser(User user){ | ||
19 | - return userService.insert(user); | ||
20 | - } | ||
21 | - | ||
22 | - @ResponseBody | ||
23 | - @GetMapping("all") | ||
24 | - public Object findAllUser( | ||
25 | - @RequestParam(name="pageNum",required = false,defaultValue = "1") | ||
26 | - int pageNum, | ||
27 | - @RequestParam(name = "pageSize",required = false,defaultValue = "10") | ||
28 | - int pageSize){ | ||
29 | - return userService.findAllUser(pageNum,pageSize); | ||
30 | - } | ||
31 | - | ||
32 | -} |
1 | +package com.example.demo.handle; | ||
2 | + | ||
3 | +import com.example.demo.model.T_TXD_FWB; | ||
4 | +import com.example.demo.model.T_TXD_FWBSTATUS; | ||
5 | +import com.example.demo.service.T_TXD_FWB_Service; | ||
6 | +import com.example.demo.util.Helper; | ||
7 | +import com.example.demo.util.XML.XML2ENTITY; | ||
8 | +import org.dom4j.Document; | ||
9 | +import org.dom4j.DocumentHelper; | ||
10 | +import org.slf4j.Logger; | ||
11 | +import org.slf4j.LoggerFactory; | ||
12 | +import org.springframework.beans.factory.annotation.Autowired; | ||
13 | +import org.springframework.stereotype.Component; | ||
14 | + | ||
15 | + | ||
16 | +import javax.annotation.PostConstruct; | ||
17 | +import java.math.BigDecimal; | ||
18 | +import java.time.ZonedDateTime; | ||
19 | +import java.util.Date; | ||
20 | +import java.util.List; | ||
21 | +import java.util.Map; | ||
22 | + | ||
23 | +@Component | ||
24 | +public class T_ETL_FWB_Handle { | ||
25 | + protected static final Logger logger = LoggerFactory.getLogger(T_ETL_FWB_Handle.class); | ||
26 | + | ||
27 | + @Autowired | ||
28 | + protected T_TXD_FWB_Service fwb_service; | ||
29 | + private static T_ETL_FWB_Handle fwb_handle; | ||
30 | + | ||
31 | + @PostConstruct //通过@PostConstruct实现初始化bean之前进行的操作 | ||
32 | + public void init(){ | ||
33 | + fwb_handle = this; | ||
34 | + fwb_handle.fwb_service = this.fwb_service; | ||
35 | + } | ||
36 | + | ||
37 | + public Boolean insertHandle (String xmlStr,BigDecimal messageBak_fid){ | ||
38 | + try{ | ||
39 | + Document doc = DocumentHelper.parseText(xmlStr); | ||
40 | + Map<String, Object> map = XML2ENTITY.Dom2Map(doc); | ||
41 | + T_TXD_FWB fwb= new T_TXD_FWB(); | ||
42 | + fwb.setMessageBakId(messageBak_fid); | ||
43 | + | ||
44 | + // 头部解析 | ||
45 | + Map metamap = (Map) map.get("META"); | ||
46 | + String SEDR = (String) metamap.get("SNDR"); | ||
47 | + | ||
48 | + | ||
49 | + //报体解析入口 | ||
50 | + | ||
51 | + Map MasterConsignment = (Map) map.get("MasterConsignment"); | ||
52 | + fwb.setId(MasterConsignment.get("ID").toString()); | ||
53 | + fwb.setTypecode(MasterConsignment.get("TypeCode").toString()); | ||
54 | + fwb.setNilcarriagevaluecarriage(MasterConsignment.get("NilCarriageValueIndicator").toString()); | ||
55 | + fwb.setDeclaredvalue(Helper.getBigDecimal(MasterConsignment.get("DeclaredValueForCarriageAmount"))); | ||
56 | + | ||
57 | + //发货人节点 | ||
58 | + Map consiger = (Map) MasterConsignment.get("ConsignorParty"); | ||
59 | + fwb.setCrpPrimaryid(consiger.get("PrimaryID").toString()); | ||
60 | + fwb.setCrpName(consiger.get("Name").toString()); | ||
61 | + fwb.setCrpAccountid(consiger.get("AccountID").toString()); | ||
62 | + fwb.setPsaStreetname(((Map)consiger.get("PostalStructuredAddress")).get("StreetName").toString()); //这个是不是发货人节点名称 库里面没字段注释 插入的时候要核实 | ||
63 | + fwb.setPsaCityname(((Map)consiger.get("PostalStructuredAddress")).get("CityName").toString()); | ||
64 | + fwb.setPsaCountryid(((Map)consiger.get("PostalStructuredAddress")).get("CountryID").toString()); | ||
65 | + fwb.setPsaSpecifiedaddress(((Map)consiger.get("PostalStructuredAddress")).get("SpecifiedAddressLocation").toString()); | ||
66 | + | ||
67 | + //收货人节点 | ||
68 | + | ||
69 | + //航班节点,表中的航班字段在哪里没找到 | ||
70 | + Map flight = (Map) MasterConsignment.get("SpecifiedLogisticsTransportMovement"); | ||
71 | + String flightNo = flight.get("ID").toString(); | ||
72 | + | ||
73 | + String flightDevTime = ((Map)flight.get("DepartureEvent")).get("ScheduledOccurrenceDateTime").toString(); | ||
74 | + ZonedDateTime depZoneTime = ZonedDateTime.parse(flightDevTime); | ||
75 | + Date flightDate = Date.from(depZoneTime.toInstant()); //这个是入库航班日期格式 | ||
76 | + | ||
77 | + //货物节点 | ||
78 | + | ||
79 | + //插入主数据表 | ||
80 | + int ok = fwb_handle.fwb_service.insert(fwb); | ||
81 | + | ||
82 | + //处理重复循环节点 | ||
83 | + //重复的AssociatedParty节点 | ||
84 | + Object obj_AssociatedParty = MasterConsignment.get("AssociatedParty"); | ||
85 | + if (obj_AssociatedParty.getClass().getName().equals("java.util.ArrayList")){//多个AssociatedParty | ||
86 | + List<Map> list_AssociatedParty = (List<Map>) MasterConsignment.get("AssociatedParty"); | ||
87 | + for (Map AssociatedParty : list_AssociatedParty){ | ||
88 | + T_ETL_FWB_PartyHandle partyHandle = new T_ETL_FWB_PartyHandle(); | ||
89 | + partyHandle.insertHandle(AssociatedParty,messageBak_fid); | ||
90 | + } | ||
91 | + }else if (obj_AssociatedParty.getClass().getName().equals("java.util.HashMap")){ | ||
92 | + Map map_AssociatedParty = (Map) MasterConsignment.get("AssociatedParty"); | ||
93 | + T_ETL_FWB_PartyHandle partyHandle = new T_ETL_FWB_PartyHandle(); | ||
94 | + partyHandle.insertHandle(map_AssociatedParty,messageBak_fid); | ||
95 | + } | ||
96 | + | ||
97 | + //重复的ReportedStatus节点 | ||
98 | + Object obj_ReportedStatus = MasterConsignment.get("ReportedStatus"); | ||
99 | + if (obj_ReportedStatus.getClass().getName().equals("java.util.ArrayList")){//多个ReportedStatus | ||
100 | + List<Map> list_ReportedStatus = (List<Map>) MasterConsignment.get("ReportedStatus"); | ||
101 | + for (Map map_ReportedStatus : list_ReportedStatus){ | ||
102 | + T_ETL_FWB_StatusHandle statusHandle = new T_ETL_FWB_StatusHandle(); | ||
103 | + statusHandle.insertHandle(map_ReportedStatus,messageBak_fid); | ||
104 | + } | ||
105 | + }else if (obj_ReportedStatus.getClass().getName().equals("java.util.HashMap")){ | ||
106 | + Map map_ReportedStatus = (Map) MasterConsignment.get("ReportedStatus"); | ||
107 | + | ||
108 | + T_ETL_FWB_StatusHandle statusHandle = new T_ETL_FWB_StatusHandle(); | ||
109 | + statusHandle.insertHandle(map_ReportedStatus,messageBak_fid); | ||
110 | + } | ||
111 | + | ||
112 | + | ||
113 | + | ||
114 | + System.out.println(map.toString()); | ||
115 | + | ||
116 | + | ||
117 | + }catch (Exception e){ | ||
118 | + logger.info("报文解析异常"+e.toString()+"\n报文内容"); | ||
119 | + return false; | ||
120 | + } | ||
121 | + | ||
122 | + return true; | ||
123 | + } | ||
124 | + | ||
125 | + | ||
126 | + | ||
127 | +} |
1 | +package com.example.demo.handle; | ||
2 | + | ||
3 | +import com.example.demo.model.T_TXD_FWBPARTY; | ||
4 | +import com.example.demo.service.T_TXD_FWBPARTY_Service; | ||
5 | +import org.slf4j.Logger; | ||
6 | +import org.slf4j.LoggerFactory; | ||
7 | +import org.springframework.beans.factory.annotation.Autowired; | ||
8 | +import org.springframework.stereotype.Component; | ||
9 | + | ||
10 | +import javax.annotation.PostConstruct; | ||
11 | +import java.math.BigDecimal; | ||
12 | +import java.util.Map; | ||
13 | + | ||
14 | +@Component | ||
15 | +public class T_ETL_FWB_PartyHandle { | ||
16 | + protected static final Logger logger = LoggerFactory.getLogger(T_ETL_FWB_PartyHandle.class); | ||
17 | + | ||
18 | + @Autowired | ||
19 | + protected T_TXD_FWBPARTY_Service fwbparty_service; | ||
20 | + private static T_ETL_FWB_PartyHandle fwb_partyHandle; | ||
21 | + | ||
22 | + @PostConstruct //通过@PostConstruct实现初始化bean之前进行的操作 | ||
23 | + public void init(){ | ||
24 | + fwb_partyHandle = this; | ||
25 | + fwb_partyHandle.fwbparty_service = this.fwbparty_service; | ||
26 | + } | ||
27 | + | ||
28 | + public Boolean insertHandle(Map AssociatedPartyMap, BigDecimal messageBak_Fid) throws Exception{ | ||
29 | + try{ | ||
30 | + T_TXD_FWBPARTY assParty = new T_TXD_FWBPARTY(); | ||
31 | + assParty.setTxdFwbId(messageBak_Fid); | ||
32 | + assParty.setAccountid(AssociatedPartyMap.get("AccountID").toString()); | ||
33 | + assParty.setName(AssociatedPartyMap.get("Name").toString()); | ||
34 | + assParty.setPrimaryid(AssociatedPartyMap.get("PrimaryID").toString()); | ||
35 | + assParty.setCityname(((Map)AssociatedPartyMap.get("PostalStructuredAddress")).get("CityName").toString()); | ||
36 | + assParty.setCountryid(((Map)AssociatedPartyMap.get("PostalStructuredAddress")).get("CountryID").toString()); | ||
37 | + assParty.setSpecifiedaddresslocation(((Map)AssociatedPartyMap.get("PostalStructuredAddress")).get("SpecifiedAddressLocation").toString()); | ||
38 | + assParty.setSpecifiedcargoagentlocation(AssociatedPartyMap.get("SpecifiedCargoAgentLocation").toString()); | ||
39 | + assParty.setDefinedtradecontact(AssociatedPartyMap.get("DefinedTradeContact").toString()); | ||
40 | + int resoult=fwb_partyHandle.fwbparty_service.insert(assParty); | ||
41 | + | ||
42 | + }catch (Exception e){ | ||
43 | + logger.info(messageBak_Fid+"-AssociatedParty入库异常-"+e.toString()+"MAP内容:\n"+AssociatedPartyMap.toString()); | ||
44 | + return false; | ||
45 | + } | ||
46 | + return true; | ||
47 | + | ||
48 | + } | ||
49 | +} |
1 | +package com.example.demo.handle; | ||
2 | + | ||
3 | +import com.example.demo.model.T_TXD_FWBSTATUS; | ||
4 | +import com.example.demo.service.T_TXD_FWBPARTY_Service; | ||
5 | +import com.example.demo.service.T_TXD_FWBSTATUS_Service; | ||
6 | +import org.slf4j.Logger; | ||
7 | +import org.slf4j.LoggerFactory; | ||
8 | +import org.springframework.beans.factory.annotation.Autowired; | ||
9 | +import org.springframework.stereotype.Component; | ||
10 | + | ||
11 | +import javax.annotation.PostConstruct; | ||
12 | +import java.math.BigDecimal; | ||
13 | +import java.time.ZonedDateTime; | ||
14 | +import java.util.Date; | ||
15 | +import java.util.Map; | ||
16 | + | ||
17 | +@Component | ||
18 | +public class T_ETL_FWB_StatusHandle { | ||
19 | + protected static final Logger logger = LoggerFactory.getLogger(T_ETL_FWB_PartyHandle.class); | ||
20 | + | ||
21 | + @Autowired | ||
22 | + protected T_TXD_FWBSTATUS_Service fwbstatus_service; | ||
23 | + private static T_ETL_FWB_StatusHandle fwb_statusHandle; | ||
24 | + | ||
25 | + @PostConstruct //通过@PostConstruct实现初始化bean之前进行的操作 | ||
26 | + public void init(){ | ||
27 | + fwb_statusHandle = this; | ||
28 | + fwb_statusHandle.fwbstatus_service = this.fwbstatus_service; | ||
29 | + } | ||
30 | + | ||
31 | + public Boolean insertHandle(Map statusMap, BigDecimal messageBak_Fid) throws Exception{ | ||
32 | + try{ | ||
33 | + T_TXD_FWBSTATUS fwbstatus = new T_TXD_FWBSTATUS(); | ||
34 | + fwbstatus.setTxdFwbId(messageBak_Fid); | ||
35 | + fwbstatus.setReasoncode(statusMap.get("ReasonCode").toString()); | ||
36 | + | ||
37 | + fwbstatus.setDatetimetypecode(((Map)statusMap.get("EventTime")).get("DateTimeTypeCode").toString()); | ||
38 | + String occDateStr =((Map)statusMap.get("EventTime")).get("OccurrenceDateTime").toString(); | ||
39 | + ZonedDateTime depZoneTime = ZonedDateTime.parse(occDateStr); | ||
40 | + Date OccurrenceDateTime = Date.from(depZoneTime.toInstant()); //这个是入库航班日期格式 | ||
41 | + fwbstatus.setOccurrencedatetime(OccurrenceDateTime); | ||
42 | + | ||
43 | + fwbstatus.setId(((Map)statusMap.get("SpecifiedLocation")).get("ID").toString()); | ||
44 | + | ||
45 | + int resoult = fwb_statusHandle.fwbstatus_service.insert(fwbstatus); | ||
46 | + | ||
47 | + | ||
48 | + }catch (Exception e){ | ||
49 | + logger.info(messageBak_Fid+"-AssociatedParty入库异常-"+e.toString()+"MAP内容:\n"+statusMap.toString()); | ||
50 | + return false; | ||
51 | + } | ||
52 | + return true; | ||
53 | + } | ||
54 | +} |
1 | -package com.example.demo.mapper; | ||
2 | - | ||
3 | -import com.example.demo.model.FWBAssociatedParty; | ||
4 | - | ||
5 | -public interface FWBAssociatedPartyMapper { | ||
6 | - int deleteByPrimaryKey(Integer id); | ||
7 | - | ||
8 | - int insert(FWBAssociatedParty record); | ||
9 | - | ||
10 | - int insertSelective(FWBAssociatedParty record); | ||
11 | - | ||
12 | - FWBAssociatedParty selectByPrimaryKey(Integer id); | ||
13 | - | ||
14 | - int updateByPrimaryKeySelective(FWBAssociatedParty record); | ||
15 | - | ||
16 | - int updateByPrimaryKey(FWBAssociatedParty record); | ||
17 | -} |
1 | +package com.example.demo.mapper; | ||
2 | + | ||
3 | +import com.example.demo.model.T_ETL_MESSAGE; | ||
4 | +import org.apache.ibatis.annotations.Mapper; | ||
5 | + | ||
6 | +import java.math.BigDecimal; | ||
7 | +import java.util.List; | ||
8 | + | ||
9 | +public interface T_ETL_MESSAGEMapper { | ||
10 | + int deleteByPrimaryKey(BigDecimal fid); | ||
11 | + | ||
12 | + int insert(T_ETL_MESSAGE record); | ||
13 | + | ||
14 | + int insertSelective(T_ETL_MESSAGE record); | ||
15 | + | ||
16 | + T_ETL_MESSAGE selectByPrimaryKey(BigDecimal fid); | ||
17 | + | ||
18 | + int updateByPrimaryKeySelective(T_ETL_MESSAGE record); | ||
19 | + | ||
20 | + int updateByPrimaryKeyWithBLOBs(T_ETL_MESSAGE record); | ||
21 | + | ||
22 | + int updateByPrimaryKey(T_ETL_MESSAGE record); | ||
23 | + | ||
24 | + List<T_ETL_MESSAGE> selectFWB(); | ||
25 | +} |
1 | +package com.example.demo.mapper; | ||
2 | + | ||
3 | +import com.example.demo.model.T_TXD_FWB; | ||
4 | +import java.math.BigDecimal; | ||
5 | + | ||
6 | +public interface T_TXD_FWBMapper { | ||
7 | + int deleteByPrimaryKey(BigDecimal fid); | ||
8 | + | ||
9 | + int insert(T_TXD_FWB record); | ||
10 | + | ||
11 | + int insertSelective(T_TXD_FWB record); | ||
12 | + | ||
13 | + T_TXD_FWB selectByPrimaryKey(BigDecimal fid); | ||
14 | + | ||
15 | + int updateByPrimaryKeySelective(T_TXD_FWB record); | ||
16 | + | ||
17 | + int updateByPrimaryKey(T_TXD_FWB record); | ||
18 | +} |
1 | +package com.example.demo.mapper; | ||
2 | + | ||
3 | +import com.example.demo.model.T_TXD_FWBPARTY; | ||
4 | +import java.math.BigDecimal; | ||
5 | + | ||
6 | +public interface T_TXD_FWBPARTYMapper { | ||
7 | + int deleteByPrimaryKey(BigDecimal fid); | ||
8 | + | ||
9 | + int insert(T_TXD_FWBPARTY record); | ||
10 | + | ||
11 | + int insertSelective(T_TXD_FWBPARTY record); | ||
12 | + | ||
13 | + T_TXD_FWBPARTY selectByPrimaryKey(BigDecimal fid); | ||
14 | + | ||
15 | + int updateByPrimaryKeySelective(T_TXD_FWBPARTY record); | ||
16 | + | ||
17 | + int updateByPrimaryKey(T_TXD_FWBPARTY record); | ||
18 | +} |
1 | +package com.example.demo.mapper; | ||
2 | + | ||
3 | +import com.example.demo.model.T_TXD_FWBSTATUS; | ||
4 | +import java.math.BigDecimal; | ||
5 | + | ||
6 | +public interface T_TXD_FWBSTATUSMapper { | ||
7 | + int deleteByPrimaryKey(BigDecimal fid); | ||
8 | + | ||
9 | + int insert(T_TXD_FWBSTATUS record); | ||
10 | + | ||
11 | + int insertSelective(T_TXD_FWBSTATUS record); | ||
12 | + | ||
13 | + T_TXD_FWBSTATUS selectByPrimaryKey(BigDecimal fid); | ||
14 | + | ||
15 | + int updateByPrimaryKeySelective(T_TXD_FWBSTATUS record); | ||
16 | + | ||
17 | + int updateByPrimaryKey(T_TXD_FWBSTATUS record); | ||
18 | +} |
1 | -package com.example.demo.mapper; | ||
2 | - | ||
3 | -import com.example.demo.model.User; | ||
4 | - | ||
5 | -import java.util.List; | ||
6 | - | ||
7 | -public interface UserMapper { | ||
8 | - int deleteByPrimaryKey(Integer userId); | ||
9 | - | ||
10 | - int insert(User record); | ||
11 | - | ||
12 | - int insertSelective(User record); | ||
13 | - | ||
14 | - User selectByPrimaryKey(Integer userId); | ||
15 | - | ||
16 | - int updateByPrimaryKeySelective(User record); | ||
17 | - | ||
18 | - int updateByPrimaryKey(User record); | ||
19 | - | ||
20 | - List<User> selectUsers(); | ||
21 | -} |
1 | +package com.example.demo.model; | ||
2 | + | ||
3 | +import java.math.BigDecimal; | ||
4 | +import java.util.Date; | ||
5 | + | ||
6 | +public class T_ETL_MESSAGE { | ||
7 | + private BigDecimal fid; | ||
8 | + | ||
9 | + private String oper; | ||
10 | + | ||
11 | + private Date sntm; | ||
12 | + | ||
13 | + private String sndr; | ||
14 | + | ||
15 | + private String rcvr; | ||
16 | + | ||
17 | + private String seqn; | ||
18 | + | ||
19 | + private Date ddtm; | ||
20 | + | ||
21 | + private String type; | ||
22 | + | ||
23 | + private String styp; | ||
24 | + | ||
25 | + private String transid; | ||
26 | + | ||
27 | + private Object remark; | ||
28 | + | ||
29 | + private Date outtm; | ||
30 | + | ||
31 | + private BigDecimal outflag; | ||
32 | + | ||
33 | + private Date etltim; | ||
34 | + | ||
35 | + private BigDecimal etlflag; | ||
36 | + | ||
37 | + private Date errtm; | ||
38 | + | ||
39 | + private BigDecimal errflag; | ||
40 | + | ||
41 | + private Object errlog; | ||
42 | + | ||
43 | + private String appid; | ||
44 | + | ||
45 | + private String content; | ||
46 | + | ||
47 | + public BigDecimal getFid() { | ||
48 | + return fid; | ||
49 | + } | ||
50 | + | ||
51 | + public void setFid(BigDecimal fid) { | ||
52 | + this.fid = fid; | ||
53 | + } | ||
54 | + | ||
55 | + public String getOper() { | ||
56 | + return oper; | ||
57 | + } | ||
58 | + | ||
59 | + public void setOper(String oper) { | ||
60 | + this.oper = oper == null ? null : oper.trim(); | ||
61 | + } | ||
62 | + | ||
63 | + public Date getSntm() { | ||
64 | + return sntm; | ||
65 | + } | ||
66 | + | ||
67 | + public void setSntm(Date sntm) { | ||
68 | + this.sntm = sntm; | ||
69 | + } | ||
70 | + | ||
71 | + public String getSndr() { | ||
72 | + return sndr; | ||
73 | + } | ||
74 | + | ||
75 | + public void setSndr(String sndr) { | ||
76 | + this.sndr = sndr == null ? null : sndr.trim(); | ||
77 | + } | ||
78 | + | ||
79 | + public String getRcvr() { | ||
80 | + return rcvr; | ||
81 | + } | ||
82 | + | ||
83 | + public void setRcvr(String rcvr) { | ||
84 | + this.rcvr = rcvr == null ? null : rcvr.trim(); | ||
85 | + } | ||
86 | + | ||
87 | + public String getSeqn() { | ||
88 | + return seqn; | ||
89 | + } | ||
90 | + | ||
91 | + public void setSeqn(String seqn) { | ||
92 | + this.seqn = seqn == null ? null : seqn.trim(); | ||
93 | + } | ||
94 | + | ||
95 | + public Date getDdtm() { | ||
96 | + return ddtm; | ||
97 | + } | ||
98 | + | ||
99 | + public void setDdtm(Date ddtm) { | ||
100 | + this.ddtm = ddtm; | ||
101 | + } | ||
102 | + | ||
103 | + public String getType() { | ||
104 | + return type; | ||
105 | + } | ||
106 | + | ||
107 | + public void setType(String type) { | ||
108 | + this.type = type == null ? null : type.trim(); | ||
109 | + } | ||
110 | + | ||
111 | + public String getStyp() { | ||
112 | + return styp; | ||
113 | + } | ||
114 | + | ||
115 | + public void setStyp(String styp) { | ||
116 | + this.styp = styp == null ? null : styp.trim(); | ||
117 | + } | ||
118 | + | ||
119 | + public String getTransid() { | ||
120 | + return transid; | ||
121 | + } | ||
122 | + | ||
123 | + public void setTransid(String transid) { | ||
124 | + this.transid = transid == null ? null : transid.trim(); | ||
125 | + } | ||
126 | + | ||
127 | + public Object getRemark() { | ||
128 | + return remark; | ||
129 | + } | ||
130 | + | ||
131 | + public void setRemark(Object remark) { | ||
132 | + this.remark = remark; | ||
133 | + } | ||
134 | + | ||
135 | + public Date getOuttm() { | ||
136 | + return outtm; | ||
137 | + } | ||
138 | + | ||
139 | + public void setOuttm(Date outtm) { | ||
140 | + this.outtm = outtm; | ||
141 | + } | ||
142 | + | ||
143 | + public BigDecimal getOutflag() { | ||
144 | + return outflag; | ||
145 | + } | ||
146 | + | ||
147 | + public void setOutflag(BigDecimal outflag) { | ||
148 | + this.outflag = outflag; | ||
149 | + } | ||
150 | + | ||
151 | + public Date getEtltim() { | ||
152 | + return etltim; | ||
153 | + } | ||
154 | + | ||
155 | + public void setEtltim(Date etltim) { | ||
156 | + this.etltim = etltim; | ||
157 | + } | ||
158 | + | ||
159 | + public BigDecimal getEtlflag() { | ||
160 | + return etlflag; | ||
161 | + } | ||
162 | + | ||
163 | + public void setEtlflag(BigDecimal etlflag) { | ||
164 | + this.etlflag = etlflag; | ||
165 | + } | ||
166 | + | ||
167 | + public Date getErrtm() { | ||
168 | + return errtm; | ||
169 | + } | ||
170 | + | ||
171 | + public void setErrtm(Date errtm) { | ||
172 | + this.errtm = errtm; | ||
173 | + } | ||
174 | + | ||
175 | + public BigDecimal getErrflag() { | ||
176 | + return errflag; | ||
177 | + } | ||
178 | + | ||
179 | + public void setErrflag(BigDecimal errflag) { | ||
180 | + this.errflag = errflag; | ||
181 | + } | ||
182 | + | ||
183 | + public Object getErrlog() { | ||
184 | + return errlog; | ||
185 | + } | ||
186 | + | ||
187 | + public void setErrlog(Object errlog) { | ||
188 | + this.errlog = errlog; | ||
189 | + } | ||
190 | + | ||
191 | + public String getAppid() { | ||
192 | + return appid; | ||
193 | + } | ||
194 | + | ||
195 | + public void setAppid(String appid) { | ||
196 | + this.appid = appid == null ? null : appid.trim(); | ||
197 | + } | ||
198 | + | ||
199 | + public String getContent() { | ||
200 | + return content; | ||
201 | + } | ||
202 | + | ||
203 | + public void setContent(String content) { | ||
204 | + this.content = content == null ? null : content.trim(); | ||
205 | + } | ||
206 | +} |
1 | +package com.example.demo.model; | ||
2 | + | ||
3 | +import java.math.BigDecimal; | ||
4 | +import java.util.Date; | ||
5 | + | ||
6 | +public class T_TXD_FWB { | ||
7 | + private BigDecimal fid; | ||
8 | + | ||
9 | + private String id; | ||
10 | + | ||
11 | + private String typecode; | ||
12 | + | ||
13 | + private String nilcarriagevaluecarriage; | ||
14 | + | ||
15 | + private BigDecimal declaredvalue; | ||
16 | + | ||
17 | + private String nilcustomsvaluecustoms; | ||
18 | + | ||
19 | + private String declaredvaluecustoms; | ||
20 | + | ||
21 | + private String nilinsurancevalue; | ||
22 | + | ||
23 | + private String insurancevalue; | ||
24 | + | ||
25 | + private String totalchargeprepaid; | ||
26 | + | ||
27 | + private BigDecimal weighttotalchargeamount; | ||
28 | + | ||
29 | + private BigDecimal valuationtotalcharge; | ||
30 | + | ||
31 | + private String totaldisbursementprepaid; | ||
32 | + | ||
33 | + private BigDecimal totalprepaidcharge; | ||
34 | + | ||
35 | + private BigDecimal totalcollectcharge; | ||
36 | + | ||
37 | + private BigDecimal destinationcurrency; | ||
38 | + | ||
39 | + private BigDecimal includedtaregrossweight; | ||
40 | + | ||
41 | + private BigDecimal netweightmeasure; | ||
42 | + | ||
43 | + private BigDecimal grossvolumemeasure; | ||
44 | + | ||
45 | + private BigDecimal totalchargeableweight; | ||
46 | + | ||
47 | + private BigDecimal consignmentitemquantity; | ||
48 | + | ||
49 | + private BigDecimal totalpiecequantity; | ||
50 | + | ||
51 | + private BigDecimal totalloadedpackage; | ||
52 | + | ||
53 | + private String packageinfo; | ||
54 | + | ||
55 | + private String freightratetypecode; | ||
56 | + | ||
57 | + private String crpPrimaryid; | ||
58 | + | ||
59 | + private String crpName; | ||
60 | + | ||
61 | + private String crpAccountid; | ||
62 | + | ||
63 | + private String psaStreetname; | ||
64 | + | ||
65 | + private String psaCityname; | ||
66 | + | ||
67 | + private String psaCountryid; | ||
68 | + | ||
69 | + private String psaSpecifiedaddress; | ||
70 | + | ||
71 | + private String dtcCompletenumber; | ||
72 | + | ||
73 | + private String cepPrimaryid; | ||
74 | + | ||
75 | + private String cepName; | ||
76 | + | ||
77 | + private String cepAccountid; | ||
78 | + | ||
79 | + private String psStreetname; | ||
80 | + | ||
81 | + private String psCityname; | ||
82 | + | ||
83 | + private String psCountryid; | ||
84 | + | ||
85 | + private String psSpecifiedaddress; | ||
86 | + | ||
87 | + private String dtCompletenumber; | ||
88 | + | ||
89 | + private String ffpName; | ||
90 | + | ||
91 | + private String ffpAccountid; | ||
92 | + | ||
93 | + private String ffpCityname; | ||
94 | + | ||
95 | + private String ffpCountryid; | ||
96 | + | ||
97 | + private String ffpSpecifiedaddress; | ||
98 | + | ||
99 | + private String olId; | ||
100 | + | ||
101 | + private String fdId; | ||
102 | + | ||
103 | + private String slStagecode; | ||
104 | + | ||
105 | + private String slModecode; | ||
106 | + | ||
107 | + private String slMode; | ||
108 | + | ||
109 | + private String slId; | ||
110 | + | ||
111 | + private String slSequencenumeric; | ||
112 | + | ||
113 | + private String slUsedlogisticstransport; | ||
114 | + | ||
115 | + private String oaId; | ||
116 | + | ||
117 | + private Date deDatetime; | ||
118 | + | ||
119 | + private String odId; | ||
120 | + | ||
121 | + private String atcSourcecurrencycode; | ||
122 | + | ||
123 | + private String atcTargetcurrencycode; | ||
124 | + | ||
125 | + private String atcMarketid; | ||
126 | + | ||
127 | + private BigDecimal atcConversionrate; | ||
128 | + | ||
129 | + private String alaId; | ||
130 | + | ||
131 | + private String alaReason; | ||
132 | + | ||
133 | + private BigDecimal alaActualamount; | ||
134 | + | ||
135 | + private String alaPartytypecode; | ||
136 | + | ||
137 | + private Date scaActualdatetime; | ||
138 | + | ||
139 | + private String scaSignatory; | ||
140 | + | ||
141 | + private String ilName; | ||
142 | + | ||
143 | + private String imciSequencenumeric; | ||
144 | + | ||
145 | + private String imciTypecode; | ||
146 | + | ||
147 | + private BigDecimal imciGrossweightmeasure; | ||
148 | + | ||
149 | + private BigDecimal imciGrossvolumemeasure; | ||
150 | + | ||
151 | + private BigDecimal imciPiecequantity; | ||
152 | + | ||
153 | + private BigDecimal imciTareweightmeasure; | ||
154 | + | ||
155 | + private String nitIdentification; | ||
156 | + | ||
157 | + private String aultOperatingparty; | ||
158 | + | ||
159 | + private BigDecimal tlpItemquantity; | ||
160 | + | ||
161 | + private String lsdDescription; | ||
162 | + | ||
163 | + private BigDecimal lsdWidthmeasure; | ||
164 | + | ||
165 | + private BigDecimal lsdLengthmeasure; | ||
166 | + | ||
167 | + private BigDecimal lsdHeightmeasure; | ||
168 | + | ||
169 | + private String afrCategorycode; | ||
170 | + | ||
171 | + private String afrCommodityitemid; | ||
172 | + | ||
173 | + private BigDecimal afrChargeableweightmeasure; | ||
174 | + | ||
175 | + private BigDecimal afrAppliedrate; | ||
176 | + | ||
177 | + private BigDecimal afrAppliedamoun; | ||
178 | + | ||
179 | + private BigDecimal messageBakId; | ||
180 | + | ||
181 | + public BigDecimal getFid() { | ||
182 | + return fid; | ||
183 | + } | ||
184 | + | ||
185 | + public void setFid(BigDecimal fid) { | ||
186 | + this.fid = fid; | ||
187 | + } | ||
188 | + | ||
189 | + public String getId() { | ||
190 | + return id; | ||
191 | + } | ||
192 | + | ||
193 | + public void setId(String id) { | ||
194 | + this.id = id == null ? null : id.trim(); | ||
195 | + } | ||
196 | + | ||
197 | + public String getTypecode() { | ||
198 | + return typecode; | ||
199 | + } | ||
200 | + | ||
201 | + public void setTypecode(String typecode) { | ||
202 | + this.typecode = typecode == null ? null : typecode.trim(); | ||
203 | + } | ||
204 | + | ||
205 | + public String getNilcarriagevaluecarriage() { | ||
206 | + return nilcarriagevaluecarriage; | ||
207 | + } | ||
208 | + | ||
209 | + public void setNilcarriagevaluecarriage(String nilcarriagevaluecarriage) { | ||
210 | + this.nilcarriagevaluecarriage = nilcarriagevaluecarriage == null ? null : nilcarriagevaluecarriage.trim(); | ||
211 | + } | ||
212 | + | ||
213 | + public BigDecimal getDeclaredvalue() { | ||
214 | + return declaredvalue; | ||
215 | + } | ||
216 | + | ||
217 | + public void setDeclaredvalue(BigDecimal declaredvalue) { | ||
218 | + this.declaredvalue = declaredvalue; | ||
219 | + } | ||
220 | + | ||
221 | + public String getNilcustomsvaluecustoms() { | ||
222 | + return nilcustomsvaluecustoms; | ||
223 | + } | ||
224 | + | ||
225 | + public void setNilcustomsvaluecustoms(String nilcustomsvaluecustoms) { | ||
226 | + this.nilcustomsvaluecustoms = nilcustomsvaluecustoms == null ? null : nilcustomsvaluecustoms.trim(); | ||
227 | + } | ||
228 | + | ||
229 | + public String getDeclaredvaluecustoms() { | ||
230 | + return declaredvaluecustoms; | ||
231 | + } | ||
232 | + | ||
233 | + public void setDeclaredvaluecustoms(String declaredvaluecustoms) { | ||
234 | + this.declaredvaluecustoms = declaredvaluecustoms == null ? null : declaredvaluecustoms.trim(); | ||
235 | + } | ||
236 | + | ||
237 | + public String getNilinsurancevalue() { | ||
238 | + return nilinsurancevalue; | ||
239 | + } | ||
240 | + | ||
241 | + public void setNilinsurancevalue(String nilinsurancevalue) { | ||
242 | + this.nilinsurancevalue = nilinsurancevalue == null ? null : nilinsurancevalue.trim(); | ||
243 | + } | ||
244 | + | ||
245 | + public String getInsurancevalue() { | ||
246 | + return insurancevalue; | ||
247 | + } | ||
248 | + | ||
249 | + public void setInsurancevalue(String insurancevalue) { | ||
250 | + this.insurancevalue = insurancevalue == null ? null : insurancevalue.trim(); | ||
251 | + } | ||
252 | + | ||
253 | + public String getTotalchargeprepaid() { | ||
254 | + return totalchargeprepaid; | ||
255 | + } | ||
256 | + | ||
257 | + public void setTotalchargeprepaid(String totalchargeprepaid) { | ||
258 | + this.totalchargeprepaid = totalchargeprepaid == null ? null : totalchargeprepaid.trim(); | ||
259 | + } | ||
260 | + | ||
261 | + public BigDecimal getWeighttotalchargeamount() { | ||
262 | + return weighttotalchargeamount; | ||
263 | + } | ||
264 | + | ||
265 | + public void setWeighttotalchargeamount(BigDecimal weighttotalchargeamount) { | ||
266 | + this.weighttotalchargeamount = weighttotalchargeamount; | ||
267 | + } | ||
268 | + | ||
269 | + public BigDecimal getValuationtotalcharge() { | ||
270 | + return valuationtotalcharge; | ||
271 | + } | ||
272 | + | ||
273 | + public void setValuationtotalcharge(BigDecimal valuationtotalcharge) { | ||
274 | + this.valuationtotalcharge = valuationtotalcharge; | ||
275 | + } | ||
276 | + | ||
277 | + public String getTotaldisbursementprepaid() { | ||
278 | + return totaldisbursementprepaid; | ||
279 | + } | ||
280 | + | ||
281 | + public void setTotaldisbursementprepaid(String totaldisbursementprepaid) { | ||
282 | + this.totaldisbursementprepaid = totaldisbursementprepaid == null ? null : totaldisbursementprepaid.trim(); | ||
283 | + } | ||
284 | + | ||
285 | + public BigDecimal getTotalprepaidcharge() { | ||
286 | + return totalprepaidcharge; | ||
287 | + } | ||
288 | + | ||
289 | + public void setTotalprepaidcharge(BigDecimal totalprepaidcharge) { | ||
290 | + this.totalprepaidcharge = totalprepaidcharge; | ||
291 | + } | ||
292 | + | ||
293 | + public BigDecimal getTotalcollectcharge() { | ||
294 | + return totalcollectcharge; | ||
295 | + } | ||
296 | + | ||
297 | + public void setTotalcollectcharge(BigDecimal totalcollectcharge) { | ||
298 | + this.totalcollectcharge = totalcollectcharge; | ||
299 | + } | ||
300 | + | ||
301 | + public BigDecimal getDestinationcurrency() { | ||
302 | + return destinationcurrency; | ||
303 | + } | ||
304 | + | ||
305 | + public void setDestinationcurrency(BigDecimal destinationcurrency) { | ||
306 | + this.destinationcurrency = destinationcurrency; | ||
307 | + } | ||
308 | + | ||
309 | + public BigDecimal getIncludedtaregrossweight() { | ||
310 | + return includedtaregrossweight; | ||
311 | + } | ||
312 | + | ||
313 | + public void setIncludedtaregrossweight(BigDecimal includedtaregrossweight) { | ||
314 | + this.includedtaregrossweight = includedtaregrossweight; | ||
315 | + } | ||
316 | + | ||
317 | + public BigDecimal getNetweightmeasure() { | ||
318 | + return netweightmeasure; | ||
319 | + } | ||
320 | + | ||
321 | + public void setNetweightmeasure(BigDecimal netweightmeasure) { | ||
322 | + this.netweightmeasure = netweightmeasure; | ||
323 | + } | ||
324 | + | ||
325 | + public BigDecimal getGrossvolumemeasure() { | ||
326 | + return grossvolumemeasure; | ||
327 | + } | ||
328 | + | ||
329 | + public void setGrossvolumemeasure(BigDecimal grossvolumemeasure) { | ||
330 | + this.grossvolumemeasure = grossvolumemeasure; | ||
331 | + } | ||
332 | + | ||
333 | + public BigDecimal getTotalchargeableweight() { | ||
334 | + return totalchargeableweight; | ||
335 | + } | ||
336 | + | ||
337 | + public void setTotalchargeableweight(BigDecimal totalchargeableweight) { | ||
338 | + this.totalchargeableweight = totalchargeableweight; | ||
339 | + } | ||
340 | + | ||
341 | + public BigDecimal getConsignmentitemquantity() { | ||
342 | + return consignmentitemquantity; | ||
343 | + } | ||
344 | + | ||
345 | + public void setConsignmentitemquantity(BigDecimal consignmentitemquantity) { | ||
346 | + this.consignmentitemquantity = consignmentitemquantity; | ||
347 | + } | ||
348 | + | ||
349 | + public BigDecimal getTotalpiecequantity() { | ||
350 | + return totalpiecequantity; | ||
351 | + } | ||
352 | + | ||
353 | + public void setTotalpiecequantity(BigDecimal totalpiecequantity) { | ||
354 | + this.totalpiecequantity = totalpiecequantity; | ||
355 | + } | ||
356 | + | ||
357 | + public BigDecimal getTotalloadedpackage() { | ||
358 | + return totalloadedpackage; | ||
359 | + } | ||
360 | + | ||
361 | + public void setTotalloadedpackage(BigDecimal totalloadedpackage) { | ||
362 | + this.totalloadedpackage = totalloadedpackage; | ||
363 | + } | ||
364 | + | ||
365 | + public String getPackageinfo() { | ||
366 | + return packageinfo; | ||
367 | + } | ||
368 | + | ||
369 | + public void setPackageinfo(String packageinfo) { | ||
370 | + this.packageinfo = packageinfo == null ? null : packageinfo.trim(); | ||
371 | + } | ||
372 | + | ||
373 | + public String getFreightratetypecode() { | ||
374 | + return freightratetypecode; | ||
375 | + } | ||
376 | + | ||
377 | + public void setFreightratetypecode(String freightratetypecode) { | ||
378 | + this.freightratetypecode = freightratetypecode == null ? null : freightratetypecode.trim(); | ||
379 | + } | ||
380 | + | ||
381 | + public String getCrpPrimaryid() { | ||
382 | + return crpPrimaryid; | ||
383 | + } | ||
384 | + | ||
385 | + public void setCrpPrimaryid(String crpPrimaryid) { | ||
386 | + this.crpPrimaryid = crpPrimaryid == null ? null : crpPrimaryid.trim(); | ||
387 | + } | ||
388 | + | ||
389 | + public String getCrpName() { | ||
390 | + return crpName; | ||
391 | + } | ||
392 | + | ||
393 | + public void setCrpName(String crpName) { | ||
394 | + this.crpName = crpName == null ? null : crpName.trim(); | ||
395 | + } | ||
396 | + | ||
397 | + public String getCrpAccountid() { | ||
398 | + return crpAccountid; | ||
399 | + } | ||
400 | + | ||
401 | + public void setCrpAccountid(String crpAccountid) { | ||
402 | + this.crpAccountid = crpAccountid == null ? null : crpAccountid.trim(); | ||
403 | + } | ||
404 | + | ||
405 | + public String getPsaStreetname() { | ||
406 | + return psaStreetname; | ||
407 | + } | ||
408 | + | ||
409 | + public void setPsaStreetname(String psaStreetname) { | ||
410 | + this.psaStreetname = psaStreetname == null ? null : psaStreetname.trim(); | ||
411 | + } | ||
412 | + | ||
413 | + public String getPsaCityname() { | ||
414 | + return psaCityname; | ||
415 | + } | ||
416 | + | ||
417 | + public void setPsaCityname(String psaCityname) { | ||
418 | + this.psaCityname = psaCityname == null ? null : psaCityname.trim(); | ||
419 | + } | ||
420 | + | ||
421 | + public String getPsaCountryid() { | ||
422 | + return psaCountryid; | ||
423 | + } | ||
424 | + | ||
425 | + public void setPsaCountryid(String psaCountryid) { | ||
426 | + this.psaCountryid = psaCountryid == null ? null : psaCountryid.trim(); | ||
427 | + } | ||
428 | + | ||
429 | + public String getPsaSpecifiedaddress() { | ||
430 | + return psaSpecifiedaddress; | ||
431 | + } | ||
432 | + | ||
433 | + public void setPsaSpecifiedaddress(String psaSpecifiedaddress) { | ||
434 | + this.psaSpecifiedaddress = psaSpecifiedaddress == null ? null : psaSpecifiedaddress.trim(); | ||
435 | + } | ||
436 | + | ||
437 | + public String getDtcCompletenumber() { | ||
438 | + return dtcCompletenumber; | ||
439 | + } | ||
440 | + | ||
441 | + public void setDtcCompletenumber(String dtcCompletenumber) { | ||
442 | + this.dtcCompletenumber = dtcCompletenumber == null ? null : dtcCompletenumber.trim(); | ||
443 | + } | ||
444 | + | ||
445 | + public String getCepPrimaryid() { | ||
446 | + return cepPrimaryid; | ||
447 | + } | ||
448 | + | ||
449 | + public void setCepPrimaryid(String cepPrimaryid) { | ||
450 | + this.cepPrimaryid = cepPrimaryid == null ? null : cepPrimaryid.trim(); | ||
451 | + } | ||
452 | + | ||
453 | + public String getCepName() { | ||
454 | + return cepName; | ||
455 | + } | ||
456 | + | ||
457 | + public void setCepName(String cepName) { | ||
458 | + this.cepName = cepName == null ? null : cepName.trim(); | ||
459 | + } | ||
460 | + | ||
461 | + public String getCepAccountid() { | ||
462 | + return cepAccountid; | ||
463 | + } | ||
464 | + | ||
465 | + public void setCepAccountid(String cepAccountid) { | ||
466 | + this.cepAccountid = cepAccountid == null ? null : cepAccountid.trim(); | ||
467 | + } | ||
468 | + | ||
469 | + public String getPsStreetname() { | ||
470 | + return psStreetname; | ||
471 | + } | ||
472 | + | ||
473 | + public void setPsStreetname(String psStreetname) { | ||
474 | + this.psStreetname = psStreetname == null ? null : psStreetname.trim(); | ||
475 | + } | ||
476 | + | ||
477 | + public String getPsCityname() { | ||
478 | + return psCityname; | ||
479 | + } | ||
480 | + | ||
481 | + public void setPsCityname(String psCityname) { | ||
482 | + this.psCityname = psCityname == null ? null : psCityname.trim(); | ||
483 | + } | ||
484 | + | ||
485 | + public String getPsCountryid() { | ||
486 | + return psCountryid; | ||
487 | + } | ||
488 | + | ||
489 | + public void setPsCountryid(String psCountryid) { | ||
490 | + this.psCountryid = psCountryid == null ? null : psCountryid.trim(); | ||
491 | + } | ||
492 | + | ||
493 | + public String getPsSpecifiedaddress() { | ||
494 | + return psSpecifiedaddress; | ||
495 | + } | ||
496 | + | ||
497 | + public void setPsSpecifiedaddress(String psSpecifiedaddress) { | ||
498 | + this.psSpecifiedaddress = psSpecifiedaddress == null ? null : psSpecifiedaddress.trim(); | ||
499 | + } | ||
500 | + | ||
501 | + public String getDtCompletenumber() { | ||
502 | + return dtCompletenumber; | ||
503 | + } | ||
504 | + | ||
505 | + public void setDtCompletenumber(String dtCompletenumber) { | ||
506 | + this.dtCompletenumber = dtCompletenumber == null ? null : dtCompletenumber.trim(); | ||
507 | + } | ||
508 | + | ||
509 | + public String getFfpName() { | ||
510 | + return ffpName; | ||
511 | + } | ||
512 | + | ||
513 | + public void setFfpName(String ffpName) { | ||
514 | + this.ffpName = ffpName == null ? null : ffpName.trim(); | ||
515 | + } | ||
516 | + | ||
517 | + public String getFfpAccountid() { | ||
518 | + return ffpAccountid; | ||
519 | + } | ||
520 | + | ||
521 | + public void setFfpAccountid(String ffpAccountid) { | ||
522 | + this.ffpAccountid = ffpAccountid == null ? null : ffpAccountid.trim(); | ||
523 | + } | ||
524 | + | ||
525 | + public String getFfpCityname() { | ||
526 | + return ffpCityname; | ||
527 | + } | ||
528 | + | ||
529 | + public void setFfpCityname(String ffpCityname) { | ||
530 | + this.ffpCityname = ffpCityname == null ? null : ffpCityname.trim(); | ||
531 | + } | ||
532 | + | ||
533 | + public String getFfpCountryid() { | ||
534 | + return ffpCountryid; | ||
535 | + } | ||
536 | + | ||
537 | + public void setFfpCountryid(String ffpCountryid) { | ||
538 | + this.ffpCountryid = ffpCountryid == null ? null : ffpCountryid.trim(); | ||
539 | + } | ||
540 | + | ||
541 | + public String getFfpSpecifiedaddress() { | ||
542 | + return ffpSpecifiedaddress; | ||
543 | + } | ||
544 | + | ||
545 | + public void setFfpSpecifiedaddress(String ffpSpecifiedaddress) { | ||
546 | + this.ffpSpecifiedaddress = ffpSpecifiedaddress == null ? null : ffpSpecifiedaddress.trim(); | ||
547 | + } | ||
548 | + | ||
549 | + public String getOlId() { | ||
550 | + return olId; | ||
551 | + } | ||
552 | + | ||
553 | + public void setOlId(String olId) { | ||
554 | + this.olId = olId == null ? null : olId.trim(); | ||
555 | + } | ||
556 | + | ||
557 | + public String getFdId() { | ||
558 | + return fdId; | ||
559 | + } | ||
560 | + | ||
561 | + public void setFdId(String fdId) { | ||
562 | + this.fdId = fdId == null ? null : fdId.trim(); | ||
563 | + } | ||
564 | + | ||
565 | + public String getSlStagecode() { | ||
566 | + return slStagecode; | ||
567 | + } | ||
568 | + | ||
569 | + public void setSlStagecode(String slStagecode) { | ||
570 | + this.slStagecode = slStagecode == null ? null : slStagecode.trim(); | ||
571 | + } | ||
572 | + | ||
573 | + public String getSlModecode() { | ||
574 | + return slModecode; | ||
575 | + } | ||
576 | + | ||
577 | + public void setSlModecode(String slModecode) { | ||
578 | + this.slModecode = slModecode == null ? null : slModecode.trim(); | ||
579 | + } | ||
580 | + | ||
581 | + public String getSlMode() { | ||
582 | + return slMode; | ||
583 | + } | ||
584 | + | ||
585 | + public void setSlMode(String slMode) { | ||
586 | + this.slMode = slMode == null ? null : slMode.trim(); | ||
587 | + } | ||
588 | + | ||
589 | + public String getSlId() { | ||
590 | + return slId; | ||
591 | + } | ||
592 | + | ||
593 | + public void setSlId(String slId) { | ||
594 | + this.slId = slId == null ? null : slId.trim(); | ||
595 | + } | ||
596 | + | ||
597 | + public String getSlSequencenumeric() { | ||
598 | + return slSequencenumeric; | ||
599 | + } | ||
600 | + | ||
601 | + public void setSlSequencenumeric(String slSequencenumeric) { | ||
602 | + this.slSequencenumeric = slSequencenumeric == null ? null : slSequencenumeric.trim(); | ||
603 | + } | ||
604 | + | ||
605 | + public String getSlUsedlogisticstransport() { | ||
606 | + return slUsedlogisticstransport; | ||
607 | + } | ||
608 | + | ||
609 | + public void setSlUsedlogisticstransport(String slUsedlogisticstransport) { | ||
610 | + this.slUsedlogisticstransport = slUsedlogisticstransport == null ? null : slUsedlogisticstransport.trim(); | ||
611 | + } | ||
612 | + | ||
613 | + public String getOaId() { | ||
614 | + return oaId; | ||
615 | + } | ||
616 | + | ||
617 | + public void setOaId(String oaId) { | ||
618 | + this.oaId = oaId == null ? null : oaId.trim(); | ||
619 | + } | ||
620 | + | ||
621 | + public Date getDeDatetime() { | ||
622 | + return deDatetime; | ||
623 | + } | ||
624 | + | ||
625 | + public void setDeDatetime(Date deDatetime) { | ||
626 | + this.deDatetime = deDatetime; | ||
627 | + } | ||
628 | + | ||
629 | + public String getOdId() { | ||
630 | + return odId; | ||
631 | + } | ||
632 | + | ||
633 | + public void setOdId(String odId) { | ||
634 | + this.odId = odId == null ? null : odId.trim(); | ||
635 | + } | ||
636 | + | ||
637 | + public String getAtcSourcecurrencycode() { | ||
638 | + return atcSourcecurrencycode; | ||
639 | + } | ||
640 | + | ||
641 | + public void setAtcSourcecurrencycode(String atcSourcecurrencycode) { | ||
642 | + this.atcSourcecurrencycode = atcSourcecurrencycode == null ? null : atcSourcecurrencycode.trim(); | ||
643 | + } | ||
644 | + | ||
645 | + public String getAtcTargetcurrencycode() { | ||
646 | + return atcTargetcurrencycode; | ||
647 | + } | ||
648 | + | ||
649 | + public void setAtcTargetcurrencycode(String atcTargetcurrencycode) { | ||
650 | + this.atcTargetcurrencycode = atcTargetcurrencycode == null ? null : atcTargetcurrencycode.trim(); | ||
651 | + } | ||
652 | + | ||
653 | + public String getAtcMarketid() { | ||
654 | + return atcMarketid; | ||
655 | + } | ||
656 | + | ||
657 | + public void setAtcMarketid(String atcMarketid) { | ||
658 | + this.atcMarketid = atcMarketid == null ? null : atcMarketid.trim(); | ||
659 | + } | ||
660 | + | ||
661 | + public BigDecimal getAtcConversionrate() { | ||
662 | + return atcConversionrate; | ||
663 | + } | ||
664 | + | ||
665 | + public void setAtcConversionrate(BigDecimal atcConversionrate) { | ||
666 | + this.atcConversionrate = atcConversionrate; | ||
667 | + } | ||
668 | + | ||
669 | + public String getAlaId() { | ||
670 | + return alaId; | ||
671 | + } | ||
672 | + | ||
673 | + public void setAlaId(String alaId) { | ||
674 | + this.alaId = alaId == null ? null : alaId.trim(); | ||
675 | + } | ||
676 | + | ||
677 | + public String getAlaReason() { | ||
678 | + return alaReason; | ||
679 | + } | ||
680 | + | ||
681 | + public void setAlaReason(String alaReason) { | ||
682 | + this.alaReason = alaReason == null ? null : alaReason.trim(); | ||
683 | + } | ||
684 | + | ||
685 | + public BigDecimal getAlaActualamount() { | ||
686 | + return alaActualamount; | ||
687 | + } | ||
688 | + | ||
689 | + public void setAlaActualamount(BigDecimal alaActualamount) { | ||
690 | + this.alaActualamount = alaActualamount; | ||
691 | + } | ||
692 | + | ||
693 | + public String getAlaPartytypecode() { | ||
694 | + return alaPartytypecode; | ||
695 | + } | ||
696 | + | ||
697 | + public void setAlaPartytypecode(String alaPartytypecode) { | ||
698 | + this.alaPartytypecode = alaPartytypecode == null ? null : alaPartytypecode.trim(); | ||
699 | + } | ||
700 | + | ||
701 | + public Date getScaActualdatetime() { | ||
702 | + return scaActualdatetime; | ||
703 | + } | ||
704 | + | ||
705 | + public void setScaActualdatetime(Date scaActualdatetime) { | ||
706 | + this.scaActualdatetime = scaActualdatetime; | ||
707 | + } | ||
708 | + | ||
709 | + public String getScaSignatory() { | ||
710 | + return scaSignatory; | ||
711 | + } | ||
712 | + | ||
713 | + public void setScaSignatory(String scaSignatory) { | ||
714 | + this.scaSignatory = scaSignatory == null ? null : scaSignatory.trim(); | ||
715 | + } | ||
716 | + | ||
717 | + public String getIlName() { | ||
718 | + return ilName; | ||
719 | + } | ||
720 | + | ||
721 | + public void setIlName(String ilName) { | ||
722 | + this.ilName = ilName == null ? null : ilName.trim(); | ||
723 | + } | ||
724 | + | ||
725 | + public String getImciSequencenumeric() { | ||
726 | + return imciSequencenumeric; | ||
727 | + } | ||
728 | + | ||
729 | + public void setImciSequencenumeric(String imciSequencenumeric) { | ||
730 | + this.imciSequencenumeric = imciSequencenumeric == null ? null : imciSequencenumeric.trim(); | ||
731 | + } | ||
732 | + | ||
733 | + public String getImciTypecode() { | ||
734 | + return imciTypecode; | ||
735 | + } | ||
736 | + | ||
737 | + public void setImciTypecode(String imciTypecode) { | ||
738 | + this.imciTypecode = imciTypecode == null ? null : imciTypecode.trim(); | ||
739 | + } | ||
740 | + | ||
741 | + public BigDecimal getImciGrossweightmeasure() { | ||
742 | + return imciGrossweightmeasure; | ||
743 | + } | ||
744 | + | ||
745 | + public void setImciGrossweightmeasure(BigDecimal imciGrossweightmeasure) { | ||
746 | + this.imciGrossweightmeasure = imciGrossweightmeasure; | ||
747 | + } | ||
748 | + | ||
749 | + public BigDecimal getImciGrossvolumemeasure() { | ||
750 | + return imciGrossvolumemeasure; | ||
751 | + } | ||
752 | + | ||
753 | + public void setImciGrossvolumemeasure(BigDecimal imciGrossvolumemeasure) { | ||
754 | + this.imciGrossvolumemeasure = imciGrossvolumemeasure; | ||
755 | + } | ||
756 | + | ||
757 | + public BigDecimal getImciPiecequantity() { | ||
758 | + return imciPiecequantity; | ||
759 | + } | ||
760 | + | ||
761 | + public void setImciPiecequantity(BigDecimal imciPiecequantity) { | ||
762 | + this.imciPiecequantity = imciPiecequantity; | ||
763 | + } | ||
764 | + | ||
765 | + public BigDecimal getImciTareweightmeasure() { | ||
766 | + return imciTareweightmeasure; | ||
767 | + } | ||
768 | + | ||
769 | + public void setImciTareweightmeasure(BigDecimal imciTareweightmeasure) { | ||
770 | + this.imciTareweightmeasure = imciTareweightmeasure; | ||
771 | + } | ||
772 | + | ||
773 | + public String getNitIdentification() { | ||
774 | + return nitIdentification; | ||
775 | + } | ||
776 | + | ||
777 | + public void setNitIdentification(String nitIdentification) { | ||
778 | + this.nitIdentification = nitIdentification == null ? null : nitIdentification.trim(); | ||
779 | + } | ||
780 | + | ||
781 | + public String getAultOperatingparty() { | ||
782 | + return aultOperatingparty; | ||
783 | + } | ||
784 | + | ||
785 | + public void setAultOperatingparty(String aultOperatingparty) { | ||
786 | + this.aultOperatingparty = aultOperatingparty == null ? null : aultOperatingparty.trim(); | ||
787 | + } | ||
788 | + | ||
789 | + public BigDecimal getTlpItemquantity() { | ||
790 | + return tlpItemquantity; | ||
791 | + } | ||
792 | + | ||
793 | + public void setTlpItemquantity(BigDecimal tlpItemquantity) { | ||
794 | + this.tlpItemquantity = tlpItemquantity; | ||
795 | + } | ||
796 | + | ||
797 | + public String getLsdDescription() { | ||
798 | + return lsdDescription; | ||
799 | + } | ||
800 | + | ||
801 | + public void setLsdDescription(String lsdDescription) { | ||
802 | + this.lsdDescription = lsdDescription == null ? null : lsdDescription.trim(); | ||
803 | + } | ||
804 | + | ||
805 | + public BigDecimal getLsdWidthmeasure() { | ||
806 | + return lsdWidthmeasure; | ||
807 | + } | ||
808 | + | ||
809 | + public void setLsdWidthmeasure(BigDecimal lsdWidthmeasure) { | ||
810 | + this.lsdWidthmeasure = lsdWidthmeasure; | ||
811 | + } | ||
812 | + | ||
813 | + public BigDecimal getLsdLengthmeasure() { | ||
814 | + return lsdLengthmeasure; | ||
815 | + } | ||
816 | + | ||
817 | + public void setLsdLengthmeasure(BigDecimal lsdLengthmeasure) { | ||
818 | + this.lsdLengthmeasure = lsdLengthmeasure; | ||
819 | + } | ||
820 | + | ||
821 | + public BigDecimal getLsdHeightmeasure() { | ||
822 | + return lsdHeightmeasure; | ||
823 | + } | ||
824 | + | ||
825 | + public void setLsdHeightmeasure(BigDecimal lsdHeightmeasure) { | ||
826 | + this.lsdHeightmeasure = lsdHeightmeasure; | ||
827 | + } | ||
828 | + | ||
829 | + public String getAfrCategorycode() { | ||
830 | + return afrCategorycode; | ||
831 | + } | ||
832 | + | ||
833 | + public void setAfrCategorycode(String afrCategorycode) { | ||
834 | + this.afrCategorycode = afrCategorycode == null ? null : afrCategorycode.trim(); | ||
835 | + } | ||
836 | + | ||
837 | + public String getAfrCommodityitemid() { | ||
838 | + return afrCommodityitemid; | ||
839 | + } | ||
840 | + | ||
841 | + public void setAfrCommodityitemid(String afrCommodityitemid) { | ||
842 | + this.afrCommodityitemid = afrCommodityitemid == null ? null : afrCommodityitemid.trim(); | ||
843 | + } | ||
844 | + | ||
845 | + public BigDecimal getAfrChargeableweightmeasure() { | ||
846 | + return afrChargeableweightmeasure; | ||
847 | + } | ||
848 | + | ||
849 | + public void setAfrChargeableweightmeasure(BigDecimal afrChargeableweightmeasure) { | ||
850 | + this.afrChargeableweightmeasure = afrChargeableweightmeasure; | ||
851 | + } | ||
852 | + | ||
853 | + public BigDecimal getAfrAppliedrate() { | ||
854 | + return afrAppliedrate; | ||
855 | + } | ||
856 | + | ||
857 | + public void setAfrAppliedrate(BigDecimal afrAppliedrate) { | ||
858 | + this.afrAppliedrate = afrAppliedrate; | ||
859 | + } | ||
860 | + | ||
861 | + public BigDecimal getAfrAppliedamoun() { | ||
862 | + return afrAppliedamoun; | ||
863 | + } | ||
864 | + | ||
865 | + public void setAfrAppliedamoun(BigDecimal afrAppliedamoun) { | ||
866 | + this.afrAppliedamoun = afrAppliedamoun; | ||
867 | + } | ||
868 | + | ||
869 | + public BigDecimal getMessageBakId() { | ||
870 | + return messageBakId; | ||
871 | + } | ||
872 | + | ||
873 | + public void setMessageBakId(BigDecimal messageBakId) { | ||
874 | + this.messageBakId = messageBakId; | ||
875 | + } | ||
876 | +} |
1 | package com.example.demo.model; | 1 | package com.example.demo.model; |
2 | 2 | ||
3 | -import java.time.LocalDate; | 3 | +import java.math.BigDecimal; |
4 | 4 | ||
5 | - | ||
6 | -public class FWBAssociatedParty { | ||
7 | - private Integer id; | 5 | +public class T_TXD_FWBPARTY { |
6 | + private BigDecimal fid; | ||
8 | 7 | ||
9 | private String primaryid; | 8 | private String primaryid; |
10 | 9 | ||
@@ -20,18 +19,20 @@ public class FWBAssociatedParty { | @@ -20,18 +19,20 @@ public class FWBAssociatedParty { | ||
20 | 19 | ||
21 | private String countryid; | 20 | private String countryid; |
22 | 21 | ||
23 | - private String awbnumber; | 22 | + private String specifiedaddresslocation; |
23 | + | ||
24 | + private String specifiedcargoagentlocation; | ||
24 | 25 | ||
25 | - private LocalDate flightdate; | 26 | + private String definedtradecontact; |
26 | 27 | ||
27 | - private String flightnumber; | 28 | + private BigDecimal txdFwbId; |
28 | 29 | ||
29 | - public Integer getId() { | ||
30 | - return id; | 30 | + public BigDecimal getFid() { |
31 | + return fid; | ||
31 | } | 32 | } |
32 | 33 | ||
33 | - public void setId(Integer id) { | ||
34 | - this.id = id; | 34 | + public void setFid(BigDecimal fid) { |
35 | + this.fid = fid; | ||
35 | } | 36 | } |
36 | 37 | ||
37 | public String getPrimaryid() { | 38 | public String getPrimaryid() { |
@@ -90,27 +91,35 @@ public class FWBAssociatedParty { | @@ -90,27 +91,35 @@ public class FWBAssociatedParty { | ||
90 | this.countryid = countryid == null ? null : countryid.trim(); | 91 | this.countryid = countryid == null ? null : countryid.trim(); |
91 | } | 92 | } |
92 | 93 | ||
93 | - public String getAwbnumber() { | ||
94 | - return awbnumber; | 94 | + public String getSpecifiedaddresslocation() { |
95 | + return specifiedaddresslocation; | ||
96 | + } | ||
97 | + | ||
98 | + public void setSpecifiedaddresslocation(String specifiedaddresslocation) { | ||
99 | + this.specifiedaddresslocation = specifiedaddresslocation == null ? null : specifiedaddresslocation.trim(); | ||
100 | + } | ||
101 | + | ||
102 | + public String getSpecifiedcargoagentlocation() { | ||
103 | + return specifiedcargoagentlocation; | ||
95 | } | 104 | } |
96 | 105 | ||
97 | - public void setAwbnumber(String awbnumber) { | ||
98 | - this.awbnumber = awbnumber == null ? null : awbnumber.trim(); | 106 | + public void setSpecifiedcargoagentlocation(String specifiedcargoagentlocation) { |
107 | + this.specifiedcargoagentlocation = specifiedcargoagentlocation == null ? null : specifiedcargoagentlocation.trim(); | ||
99 | } | 108 | } |
100 | 109 | ||
101 | - public LocalDate getFlightdate() { | ||
102 | - return flightdate; | 110 | + public String getDefinedtradecontact() { |
111 | + return definedtradecontact; | ||
103 | } | 112 | } |
104 | 113 | ||
105 | - public void setFlightdate(LocalDate flightdate) { | ||
106 | - this.flightdate = flightdate; | 114 | + public void setDefinedtradecontact(String definedtradecontact) { |
115 | + this.definedtradecontact = definedtradecontact == null ? null : definedtradecontact.trim(); | ||
107 | } | 116 | } |
108 | 117 | ||
109 | - public String getFlightnumber() { | ||
110 | - return flightnumber; | 118 | + public BigDecimal getTxdFwbId() { |
119 | + return txdFwbId; | ||
111 | } | 120 | } |
112 | 121 | ||
113 | - public void setFlightnumber(String flightnumber) { | ||
114 | - this.flightnumber = flightnumber == null ? null : flightnumber.trim(); | 122 | + public void setTxdFwbId(BigDecimal txdFwbId) { |
123 | + this.txdFwbId = txdFwbId; | ||
115 | } | 124 | } |
116 | } | 125 | } |
1 | +package com.example.demo.model; | ||
2 | + | ||
3 | +import java.math.BigDecimal; | ||
4 | +import java.util.Date; | ||
5 | + | ||
6 | +public class T_TXD_FWBSTATUS { | ||
7 | + private BigDecimal fid; | ||
8 | + | ||
9 | + private String reasoncode; | ||
10 | + | ||
11 | + private Date occurrencedatetime; | ||
12 | + | ||
13 | + private String datetimetypecode; | ||
14 | + | ||
15 | + private String id; | ||
16 | + | ||
17 | + private BigDecimal txdFwbId; | ||
18 | + | ||
19 | + public BigDecimal getFid() { | ||
20 | + return fid; | ||
21 | + } | ||
22 | + | ||
23 | + public void setFid(BigDecimal fid) { | ||
24 | + this.fid = fid; | ||
25 | + } | ||
26 | + | ||
27 | + public String getReasoncode() { | ||
28 | + return reasoncode; | ||
29 | + } | ||
30 | + | ||
31 | + public void setReasoncode(String reasoncode) { | ||
32 | + this.reasoncode = reasoncode == null ? null : reasoncode.trim(); | ||
33 | + } | ||
34 | + | ||
35 | + public Date getOccurrencedatetime() { | ||
36 | + return occurrencedatetime; | ||
37 | + } | ||
38 | + | ||
39 | + public void setOccurrencedatetime(Date occurrencedatetime) { | ||
40 | + this.occurrencedatetime = occurrencedatetime; | ||
41 | + } | ||
42 | + | ||
43 | + public String getDatetimetypecode() { | ||
44 | + return datetimetypecode; | ||
45 | + } | ||
46 | + | ||
47 | + public void setDatetimetypecode(String datetimetypecode) { | ||
48 | + this.datetimetypecode = datetimetypecode == null ? null : datetimetypecode.trim(); | ||
49 | + } | ||
50 | + | ||
51 | + public String getId() { | ||
52 | + return id; | ||
53 | + } | ||
54 | + | ||
55 | + public void setId(String id) { | ||
56 | + this.id = id == null ? null : id.trim(); | ||
57 | + } | ||
58 | + | ||
59 | + public BigDecimal getTxdFwbId() { | ||
60 | + return txdFwbId; | ||
61 | + } | ||
62 | + | ||
63 | + public void setTxdFwbId(BigDecimal txdFwbId) { | ||
64 | + this.txdFwbId = txdFwbId; | ||
65 | + } | ||
66 | +} |
1 | package com.example.demo.scheduled; | 1 | package com.example.demo.scheduled; |
2 | 2 | ||
3 | -import com.example.demo.model.FWBAssociatedParty; | ||
4 | -import com.example.demo.util.XML.XMLParse; | 3 | +import com.example.demo.handle.T_ETL_FWB_Handle; |
4 | +import com.example.demo.model.T_ETL_MESSAGE; | ||
5 | +import com.example.demo.model.T_TXD_FWB; | ||
6 | +import com.example.demo.model.T_TXD_FWBPARTY; | ||
7 | +import com.example.demo.service.T_ETL_MESSAGE_Service; | ||
8 | +import com.example.demo.service.T_TXD_FWB_Service; | ||
9 | +import com.example.demo.util.XML.XML2ENTITY; | ||
10 | +import org.dom4j.Document; | ||
11 | +import org.dom4j.DocumentHelper; | ||
5 | import org.slf4j.Logger; | 12 | import org.slf4j.Logger; |
6 | import org.slf4j.LoggerFactory; | 13 | import org.slf4j.LoggerFactory; |
14 | +import org.springframework.beans.factory.annotation.Autowired; | ||
7 | import org.springframework.scheduling.annotation.Scheduled; | 15 | import org.springframework.scheduling.annotation.Scheduled; |
8 | import org.springframework.stereotype.Component; | 16 | import org.springframework.stereotype.Component; |
9 | 17 | ||
18 | +import java.math.BigDecimal; | ||
19 | +import java.math.BigInteger; | ||
10 | import java.text.SimpleDateFormat; | 20 | import java.text.SimpleDateFormat; |
11 | -import java.time.LocalDate; | ||
12 | -import java.time.LocalDateTime; | ||
13 | import java.time.ZonedDateTime; | 21 | import java.time.ZonedDateTime; |
14 | -import java.time.format.DateTimeFormatter; | ||
15 | -import java.time.format.FormatStyle; | ||
16 | import java.util.Date; | 22 | import java.util.Date; |
17 | import java.util.List; | 23 | import java.util.List; |
18 | -import java.util.Locale; | ||
19 | import java.util.Map; | 24 | import java.util.Map; |
20 | 25 | ||
21 | /** | 26 | /** |
@@ -26,1390 +31,30 @@ public class FWBTask { | @@ -26,1390 +31,30 @@ public class FWBTask { | ||
26 | private static final Logger logger = LoggerFactory.getLogger(FWBTask.class); | 31 | private static final Logger logger = LoggerFactory.getLogger(FWBTask.class); |
27 | private static final SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); | 32 | private static final SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
28 | 33 | ||
29 | - private static final String PFFM= "<MSG>\n" + | ||
30 | - "\t<META>\n" + | ||
31 | - "\t\t<SNDR>CFPS</SNDR>\n" + | ||
32 | - "\t\t<RCVR/>\n" + | ||
33 | - "\t\t<DDTM>20181117131437</DDTM>\n" + | ||
34 | - "\t\t<TYPE>ICUSTOMS</TYPE>\n" + | ||
35 | - "\t\t<STYP>PFFM</STYP>\n" + | ||
36 | - "\t\t<SEQN>74321840</SEQN>\n" + | ||
37 | - "\t</META>\n" + | ||
38 | - "\t<LogisticsTransportManifest>\n" + | ||
39 | - "\t\t<LogisticsTransportMovement>\n" + | ||
40 | - "\t\t\t<StageCode>CV9765/NOV17</StageCode>\n" + | ||
41 | - "\t\t\t<ModeCode>4</ModeCode>\n" + | ||
42 | - "\t\t\t<Mode>Air transport</Mode>\n" + | ||
43 | - "\t\t\t<ID>CV9765</ID>\n" + | ||
44 | - "\t\t\t<SequenceNumeric>1</SequenceNumeric>\n" + | ||
45 | - "\t\t\t<TotalGrossWeightMeasure unitCode=\"KGM\">52829</TotalGrossWeightMeasure>\n" + | ||
46 | - "\t\t\t<TotalGrossVolumeMeasure unitCode=\"MTQ\">163.94</TotalGrossVolumeMeasure>\n" + | ||
47 | - "\t\t\t<TotalPieceQuantity>2249</TotalPieceQuantity>\n" + | ||
48 | - "\t\t\t<MasterResponsibleTransportPerson>\n" + | ||
49 | - "\t\t\t\t<Name>CV</Name>\n" + | ||
50 | - "\t\t\t</MasterResponsibleTransportPerson>\n" + | ||
51 | - "\t\t\t<UsedLogisticsTransportMeans>\n" + | ||
52 | - "\t\t\t\t<Name>LXVCM</Name>\n" + | ||
53 | - "\t\t\t</UsedLogisticsTransportMeans>\n" + | ||
54 | - "\t\t\t<DepartureEvent>\n" + | ||
55 | - "\t\t\t\t<ScheduledDepartureOccurrenceDateTime>2018-11-17T09:15:00+08:00</ScheduledDepartureOccurrenceDateTime>\n" + | ||
56 | - "\t\t\t\t<OccurrenceDepartureLocation>\n" + | ||
57 | - "\t\t\t\t\t<ID>CGO</ID>\n" + | ||
58 | - "\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
59 | - "\t\t\t\t\t<TypeCode>Airport</TypeCode>\n" + | ||
60 | - "\t\t\t\t</OccurrenceDepartureLocation>\n" + | ||
61 | - "\t\t\t</DepartureEvent>\n" + | ||
62 | - "\t\t\t<IncludedCustomsNote>\n" + | ||
63 | - "\t\t\t\t<ContentCode>CD</ContentCode>\n" + | ||
64 | - "\t\t\t\t<Content>P-CGOXH-ICUSTOMS0000</Content>\n" + | ||
65 | - "\t\t\t\t<SubjectCode/>\n" + | ||
66 | - "\t\t\t\t<CountryID/>\n" + | ||
67 | - "\t\t\t</IncludedCustomsNote>\n" + | ||
68 | - "\t\t</LogisticsTransportMovement>\n" + | ||
69 | - "\t\t<ArrivalEvent>\n" + | ||
70 | - "\t\t\t<ScheduledArrivalOccurrenceDateTime>2018-11-17T18:00:00+08:00</ScheduledArrivalOccurrenceDateTime>\n" + | ||
71 | - "\t\t\t<ScheduledDepartureOccurrenceDateTime>2018-11-17T19:15:00+08:00</ScheduledDepartureOccurrenceDateTime>\n" + | ||
72 | - "\t\t\t<OccurrenceArrivalLocation>\n" + | ||
73 | - "\t\t\t\t<ID>ANC</ID>\n" + | ||
74 | - "\t\t\t\t<Name>Anchorage</Name>\n" + | ||
75 | - "\t\t\t\t<TypeCode>Airport</TypeCode>\n" + | ||
76 | - "\t\t\t\t<FirstArrivalCountryID>US</FirstArrivalCountryID>\n" + | ||
77 | - "\t\t\t</OccurrenceArrivalLocation>\n" + | ||
78 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
79 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
80 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
81 | - "\t\t\t\t\t<ID>40442</ID>\n" + | ||
82 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">3139</GrossWeightMeasure>\n" + | ||
83 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">30.64</GrossVolumeMeasure>\n" + | ||
84 | - "\t\t\t\t\t<PieceQuantity>170</PieceQuantity>\n" + | ||
85 | - "\t\t\t\t\t<CharacteristicCode>PGF</CharacteristicCode>\n" + | ||
86 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
87 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
88 | - "\t\t\t\t\t\t\t<ID>ANC</ID>\n" + | ||
89 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
90 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
91 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
92 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
93 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
94 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
95 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
96 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"3139\" unitCode=\"KGM\">3139</GrossWeightMeasure>\n" + | ||
97 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">30.64</GrossVolumeMeasure>\n" + | ||
98 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
99 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"170\">170</TotalPieceQuantity>\n" + | ||
100 | - "\t\t\t\t\t<TransportSplitDescription>T</TransportSplitDescription>\n" + | ||
101 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
102 | - "\t\t\t\t\t\t<ID>172-32625084</ID>\n" + | ||
103 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
104 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
105 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
106 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
107 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
108 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
109 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
110 | - "\t\t\t\t\t\t<ID>LUX</ID>\n" + | ||
111 | - "\t\t\t\t\t\t<Name>Luxembourg </Name>\n" + | ||
112 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
113 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
114 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
115 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
116 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
117 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
118 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
119 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
120 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
121 | - "\t\t\t\t\t<ID>50791</ID>\n" + | ||
122 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">2850</GrossWeightMeasure>\n" + | ||
123 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">10.89</GrossVolumeMeasure>\n" + | ||
124 | - "\t\t\t\t\t<PieceQuantity>125</PieceQuantity>\n" + | ||
125 | - "\t\t\t\t\t<CharacteristicCode>PMC</CharacteristicCode>\n" + | ||
126 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
127 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
128 | - "\t\t\t\t\t\t\t<ID>ANC</ID>\n" + | ||
129 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
130 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
131 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
132 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
133 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
134 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
135 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
136 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"2850\" unitCode=\"KGM\">2850</GrossWeightMeasure>\n" + | ||
137 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">10.89</GrossVolumeMeasure>\n" + | ||
138 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
139 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"125\">125</TotalPieceQuantity>\n" + | ||
140 | - "\t\t\t\t\t<TransportSplitDescription>T</TransportSplitDescription>\n" + | ||
141 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
142 | - "\t\t\t\t\t\t<ID>172-32289946</ID>\n" + | ||
143 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
144 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
145 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
146 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
147 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
148 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
149 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
150 | - "\t\t\t\t\t\t<ID>BLL</ID>\n" + | ||
151 | - "\t\t\t\t\t\t<Name>BILLUND</Name>\n" + | ||
152 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
153 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
154 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
155 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
156 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
157 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
158 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
159 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
160 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
161 | - "\t\t\t\t\t<ID>51397</ID>\n" + | ||
162 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">2748</GrossWeightMeasure>\n" + | ||
163 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">12.430865</GrossVolumeMeasure>\n" + | ||
164 | - "\t\t\t\t\t<PieceQuantity>141</PieceQuantity>\n" + | ||
165 | - "\t\t\t\t\t<CharacteristicCode>PMC</CharacteristicCode>\n" + | ||
166 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
167 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
168 | - "\t\t\t\t\t\t\t<ID>ANC</ID>\n" + | ||
169 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
170 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
171 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
172 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
173 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
174 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
175 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
176 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"7209\" unitCode=\"KGM\">2748</GrossWeightMeasure>\n" + | ||
177 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">12.43</GrossVolumeMeasure>\n" + | ||
178 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
179 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"370\">141</TotalPieceQuantity>\n" + | ||
180 | - "\t\t\t\t\t<TransportSplitDescription>S</TransportSplitDescription>\n" + | ||
181 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
182 | - "\t\t\t\t\t\t<ID>172-32625062</ID>\n" + | ||
183 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
184 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
185 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
186 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
187 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
188 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
189 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
190 | - "\t\t\t\t\t\t<ID>LUX</ID>\n" + | ||
191 | - "\t\t\t\t\t\t<Name>Luxembourg </Name>\n" + | ||
192 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
193 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
194 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
195 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
196 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
197 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
198 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
199 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
200 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
201 | - "\t\t\t\t\t<ID>55378</ID>\n" + | ||
202 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">4364</GrossWeightMeasure>\n" + | ||
203 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">19.748324</GrossVolumeMeasure>\n" + | ||
204 | - "\t\t\t\t\t<PieceQuantity>224</PieceQuantity>\n" + | ||
205 | - "\t\t\t\t\t<CharacteristicCode>PMC</CharacteristicCode>\n" + | ||
206 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
207 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
208 | - "\t\t\t\t\t\t\t<ID>ANC</ID>\n" + | ||
209 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
210 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
211 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
212 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
213 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
214 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
215 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
216 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"7209\" unitCode=\"KGM\">4364</GrossWeightMeasure>\n" + | ||
217 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">19.75</GrossVolumeMeasure>\n" + | ||
218 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
219 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"370\">224</TotalPieceQuantity>\n" + | ||
220 | - "\t\t\t\t\t<TransportSplitDescription>S</TransportSplitDescription>\n" + | ||
221 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
222 | - "\t\t\t\t\t\t<ID>172-32625062</ID>\n" + | ||
223 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
224 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
225 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
226 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
227 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
228 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
229 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
230 | - "\t\t\t\t\t\t<ID>LUX</ID>\n" + | ||
231 | - "\t\t\t\t\t\t<Name>Luxembourg </Name>\n" + | ||
232 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
233 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
234 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
235 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
236 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
237 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
238 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
239 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
240 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
241 | - "\t\t\t\t\t<ID>62668</ID>\n" + | ||
242 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">97</GrossWeightMeasure>\n" + | ||
243 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0.440811</GrossVolumeMeasure>\n" + | ||
244 | - "\t\t\t\t\t<PieceQuantity>5</PieceQuantity>\n" + | ||
245 | - "\t\t\t\t\t<CharacteristicCode>PMC</CharacteristicCode>\n" + | ||
246 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
247 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
248 | - "\t\t\t\t\t\t\t<ID>ANC</ID>\n" + | ||
249 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
250 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
251 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
252 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
253 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
254 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
255 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
256 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"7209\" unitCode=\"KGM\">97</GrossWeightMeasure>\n" + | ||
257 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0.44</GrossVolumeMeasure>\n" + | ||
258 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
259 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"370\">5</TotalPieceQuantity>\n" + | ||
260 | - "\t\t\t\t\t<TransportSplitDescription>S</TransportSplitDescription>\n" + | ||
261 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
262 | - "\t\t\t\t\t\t<ID>172-32625062</ID>\n" + | ||
263 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
264 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
265 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
266 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
267 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
268 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
269 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
270 | - "\t\t\t\t\t\t<ID>LUX</ID>\n" + | ||
271 | - "\t\t\t\t\t\t<Name>Luxembourg </Name>\n" + | ||
272 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
273 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
274 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
275 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
276 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
277 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
278 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
279 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
280 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
281 | - "\t\t\t\t\t<ID>86386</ID>\n" + | ||
282 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">2748</GrossWeightMeasure>\n" + | ||
283 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">7.82</GrossVolumeMeasure>\n" + | ||
284 | - "\t\t\t\t\t<PieceQuantity>167</PieceQuantity>\n" + | ||
285 | - "\t\t\t\t\t<CharacteristicCode>PMC</CharacteristicCode>\n" + | ||
286 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
287 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
288 | - "\t\t\t\t\t\t\t<ID>ANC</ID>\n" + | ||
289 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
290 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
291 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
292 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
293 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
294 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
295 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
296 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"2748\" unitCode=\"KGM\">2748</GrossWeightMeasure>\n" + | ||
297 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">7.82</GrossVolumeMeasure>\n" + | ||
298 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
299 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"167\">167</TotalPieceQuantity>\n" + | ||
300 | - "\t\t\t\t\t<TransportSplitDescription>T</TransportSplitDescription>\n" + | ||
301 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
302 | - "\t\t\t\t\t\t<ID>172-32625095</ID>\n" + | ||
303 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
304 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
305 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
306 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
307 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
308 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
309 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
310 | - "\t\t\t\t\t\t<ID>LUX</ID>\n" + | ||
311 | - "\t\t\t\t\t\t<Name>Luxembourg </Name>\n" + | ||
312 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
313 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
314 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
315 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
316 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
317 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
318 | - "\t\t</ArrivalEvent>\n" + | ||
319 | - "\t\t<ArrivalEvent>\n" + | ||
320 | - "\t\t\t<ScheduledArrivalOccurrenceDateTime>2018-11-18T01:45:00+08:00</ScheduledArrivalOccurrenceDateTime>\n" + | ||
321 | - "\t\t\t<ScheduledDepartureOccurrenceDateTime>2018-11-18T04:00:00+08:00</ScheduledDepartureOccurrenceDateTime>\n" + | ||
322 | - "\t\t\t<OccurrenceArrivalLocation>\n" + | ||
323 | - "\t\t\t\t<ID>ATL</ID>\n" + | ||
324 | - "\t\t\t\t<Name>ATLANTA</Name>\n" + | ||
325 | - "\t\t\t\t<TypeCode>Airport</TypeCode>\n" + | ||
326 | - "\t\t\t\t<FirstArrivalCountryID>US</FirstArrivalCountryID>\n" + | ||
327 | - "\t\t\t</OccurrenceArrivalLocation>\n" + | ||
328 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
329 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
330 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
331 | - "\t\t\t\t\t<ID>40442</ID>\n" + | ||
332 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">3139</GrossWeightMeasure>\n" + | ||
333 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">30.64</GrossVolumeMeasure>\n" + | ||
334 | - "\t\t\t\t\t<PieceQuantity>170</PieceQuantity>\n" + | ||
335 | - "\t\t\t\t\t<CharacteristicCode>PGF</CharacteristicCode>\n" + | ||
336 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
337 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
338 | - "\t\t\t\t\t\t\t<ID>ATL</ID>\n" + | ||
339 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
340 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
341 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
342 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
343 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
344 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
345 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
346 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"3139\" unitCode=\"KGM\">3139</GrossWeightMeasure>\n" + | ||
347 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">30.64</GrossVolumeMeasure>\n" + | ||
348 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
349 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"170\">170</TotalPieceQuantity>\n" + | ||
350 | - "\t\t\t\t\t<TransportSplitDescription>T</TransportSplitDescription>\n" + | ||
351 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
352 | - "\t\t\t\t\t\t<ID>172-32625084</ID>\n" + | ||
353 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
354 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
355 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
356 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
357 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
358 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
359 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
360 | - "\t\t\t\t\t\t<ID>LUX</ID>\n" + | ||
361 | - "\t\t\t\t\t\t<Name>Luxembourg </Name>\n" + | ||
362 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
363 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
364 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
365 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
366 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
367 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
368 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
369 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
370 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
371 | - "\t\t\t\t\t<ID>52267</ID>\n" + | ||
372 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">4108</GrossWeightMeasure>\n" + | ||
373 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
374 | - "\t\t\t\t\t<PieceQuantity>95</PieceQuantity>\n" + | ||
375 | - "\t\t\t\t\t<CharacteristicCode>PGF</CharacteristicCode>\n" + | ||
376 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
377 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
378 | - "\t\t\t\t\t\t\t<ID>ATL</ID>\n" + | ||
379 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
380 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
381 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
382 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
383 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
384 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
385 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
386 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"656\" unitCode=\"KGM\">190</GrossWeightMeasure>\n" + | ||
387 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
388 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
389 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"3\">1</TotalPieceQuantity>\n" + | ||
390 | - "\t\t\t\t\t<TransportSplitDescription>S</TransportSplitDescription>\n" + | ||
391 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
392 | - "\t\t\t\t\t\t<ID>172-28962172</ID>\n" + | ||
393 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
394 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
395 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
396 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
397 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
398 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
399 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
400 | - "\t\t\t\t\t\t<ID>AMS</ID>\n" + | ||
401 | - "\t\t\t\t\t\t<Name>AMSTERDAM</Name>\n" + | ||
402 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
403 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
404 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
405 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
406 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
407 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
408 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"3256\" unitCode=\"KGM\">3256</GrossWeightMeasure>\n" + | ||
409 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
410 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
411 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"3\">3</TotalPieceQuantity>\n" + | ||
412 | - "\t\t\t\t\t<TransportSplitDescription>T</TransportSplitDescription>\n" + | ||
413 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
414 | - "\t\t\t\t\t\t<ID>172-32802162</ID>\n" + | ||
415 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
416 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
417 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
418 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
419 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
420 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
421 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
422 | - "\t\t\t\t\t\t<ID>DUS</ID>\n" + | ||
423 | - "\t\t\t\t\t\t<Name>Dusseldorf</Name>\n" + | ||
424 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
425 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
426 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
427 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
428 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
429 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
430 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"1988\" unitCode=\"KGM\">662</GrossWeightMeasure>\n" + | ||
431 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
432 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
433 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"273\">91</TotalPieceQuantity>\n" + | ||
434 | - "\t\t\t\t\t<TransportSplitDescription>S</TransportSplitDescription>\n" + | ||
435 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
436 | - "\t\t\t\t\t\t<ID>172-32802210</ID>\n" + | ||
437 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
438 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
439 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
440 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
441 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
442 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
443 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
444 | - "\t\t\t\t\t\t<ID>STR</ID>\n" + | ||
445 | - "\t\t\t\t\t\t<Name>Stuttgart</Name>\n" + | ||
446 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
447 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
448 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
449 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
450 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
451 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
452 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
453 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
454 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
455 | - "\t\t\t\t\t<ID>52774</ID>\n" + | ||
456 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">5435</GrossWeightMeasure>\n" + | ||
457 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
458 | - "\t\t\t\t\t<PieceQuantity>93</PieceQuantity>\n" + | ||
459 | - "\t\t\t\t\t<CharacteristicCode>PGF</CharacteristicCode>\n" + | ||
460 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
461 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
462 | - "\t\t\t\t\t\t\t<ID>ATL</ID>\n" + | ||
463 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
464 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
465 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
466 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
467 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
468 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
469 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
470 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"1225\" unitCode=\"KGM\">1225</GrossWeightMeasure>\n" + | ||
471 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
472 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
473 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"1\">1</TotalPieceQuantity>\n" + | ||
474 | - "\t\t\t\t\t<TransportSplitDescription>T</TransportSplitDescription>\n" + | ||
475 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
476 | - "\t\t\t\t\t\t<ID>172-30562033</ID>\n" + | ||
477 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
478 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
479 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
480 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
481 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
482 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
483 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
484 | - "\t\t\t\t\t\t<ID>MIL</ID>\n" + | ||
485 | - "\t\t\t\t\t\t<Name>MILAN</Name>\n" + | ||
486 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
487 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
488 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
489 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
490 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
491 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
492 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"1472\" unitCode=\"KGM\">1472</GrossWeightMeasure>\n" + | ||
493 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
494 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
495 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"1\">1</TotalPieceQuantity>\n" + | ||
496 | - "\t\t\t\t\t<TransportSplitDescription>T</TransportSplitDescription>\n" + | ||
497 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
498 | - "\t\t\t\t\t\t<ID>172-30817776</ID>\n" + | ||
499 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
500 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
501 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
502 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
503 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
504 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
505 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
506 | - "\t\t\t\t\t\t<ID>BGO</ID>\n" + | ||
507 | - "\t\t\t\t\t\t<Name>Berlin </Name>\n" + | ||
508 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
509 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
510 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
511 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
512 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
513 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
514 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"1896\" unitCode=\"KGM\">1896</GrossWeightMeasure>\n" + | ||
515 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
516 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
517 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"6\">6</TotalPieceQuantity>\n" + | ||
518 | - "\t\t\t\t\t<TransportSplitDescription>T</TransportSplitDescription>\n" + | ||
519 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
520 | - "\t\t\t\t\t\t<ID>172-31997980</ID>\n" + | ||
521 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
522 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
523 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
524 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
525 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
526 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
527 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
528 | - "\t\t\t\t\t\t<ID>STR</ID>\n" + | ||
529 | - "\t\t\t\t\t\t<Name>Stuttgart</Name>\n" + | ||
530 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
531 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
532 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
533 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
534 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
535 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
536 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"228\" unitCode=\"KGM\">228</GrossWeightMeasure>\n" + | ||
537 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
538 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
539 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"1\">1</TotalPieceQuantity>\n" + | ||
540 | - "\t\t\t\t\t<TransportSplitDescription>T</TransportSplitDescription>\n" + | ||
541 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
542 | - "\t\t\t\t\t\t<ID>172-32802081</ID>\n" + | ||
543 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
544 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
545 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
546 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
547 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
548 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
549 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
550 | - "\t\t\t\t\t\t<ID>DUS</ID>\n" + | ||
551 | - "\t\t\t\t\t\t<Name>Dusseldorf</Name>\n" + | ||
552 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
553 | - "\t\t\t\t\t<HandlingInstructions>\n" + | ||
554 | - "\t\t\t\t\t\t<Description>dangerous goods</Description>\n" + | ||
555 | - "\t\t\t\t\t\t<DescriptionCode>DGR</DescriptionCode>\n" + | ||
556 | - "\t\t\t\t\t</HandlingInstructions>\n" + | ||
557 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
558 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
559 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
560 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
561 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
562 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"1988\" unitCode=\"KGM\">614</GrossWeightMeasure>\n" + | ||
563 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
564 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
565 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"273\">84</TotalPieceQuantity>\n" + | ||
566 | - "\t\t\t\t\t<TransportSplitDescription>S</TransportSplitDescription>\n" + | ||
567 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
568 | - "\t\t\t\t\t\t<ID>172-32802210</ID>\n" + | ||
569 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
570 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
571 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
572 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
573 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
574 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
575 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
576 | - "\t\t\t\t\t\t<ID>STR</ID>\n" + | ||
577 | - "\t\t\t\t\t\t<Name>Stuttgart</Name>\n" + | ||
578 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
579 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
580 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
581 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
582 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
583 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
584 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
585 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
586 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
587 | - "\t\t\t\t\t<ID>21947</ID>\n" + | ||
588 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">2067</GrossWeightMeasure>\n" + | ||
589 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
590 | - "\t\t\t\t\t<PieceQuantity>77</PieceQuantity>\n" + | ||
591 | - "\t\t\t\t\t<CharacteristicCode>PMC</CharacteristicCode>\n" + | ||
592 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
593 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
594 | - "\t\t\t\t\t\t\t<ID>ATL</ID>\n" + | ||
595 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
596 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
597 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
598 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">C6</PrimaryID>\n" + | ||
599 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
600 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
601 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
602 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"8765\" unitCode=\"KGM\">1580</GrossWeightMeasure>\n" + | ||
603 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
604 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
605 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"256\">10</TotalPieceQuantity>\n" + | ||
606 | - "\t\t\t\t\t<TransportSplitDescription>S</TransportSplitDescription>\n" + | ||
607 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
608 | - "\t\t\t\t\t\t<ID>172-22896414</ID>\n" + | ||
609 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
610 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
611 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
612 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
613 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
614 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
615 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
616 | - "\t\t\t\t\t\t<ID>LUX</ID>\n" + | ||
617 | - "\t\t\t\t\t\t<Name>Luxembourg </Name>\n" + | ||
618 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
619 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
620 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
621 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
622 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
623 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
624 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"1988\" unitCode=\"KGM\">487</GrossWeightMeasure>\n" + | ||
625 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
626 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
627 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"273\">67</TotalPieceQuantity>\n" + | ||
628 | - "\t\t\t\t\t<TransportSplitDescription>S</TransportSplitDescription>\n" + | ||
629 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
630 | - "\t\t\t\t\t\t<ID>172-32802210</ID>\n" + | ||
631 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
632 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
633 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
634 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
635 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
636 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
637 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
638 | - "\t\t\t\t\t\t<ID>STR</ID>\n" + | ||
639 | - "\t\t\t\t\t\t<Name>Stuttgart</Name>\n" + | ||
640 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
641 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
642 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
643 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
644 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
645 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
646 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
647 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
648 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
649 | - "\t\t\t\t\t<ID>33877</ID>\n" + | ||
650 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">980</GrossWeightMeasure>\n" + | ||
651 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
652 | - "\t\t\t\t\t<PieceQuantity>77</PieceQuantity>\n" + | ||
653 | - "\t\t\t\t\t<CharacteristicCode>PMC</CharacteristicCode>\n" + | ||
654 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
655 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
656 | - "\t\t\t\t\t\t\t<ID>ATL</ID>\n" + | ||
657 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
658 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
659 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
660 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
661 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
662 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
663 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
664 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"8765\" unitCode=\"KGM\">980</GrossWeightMeasure>\n" + | ||
665 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
666 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
667 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"256\">77</TotalPieceQuantity>\n" + | ||
668 | - "\t\t\t\t\t<TransportSplitDescription>S</TransportSplitDescription>\n" + | ||
669 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
670 | - "\t\t\t\t\t\t<ID>172-22896414</ID>\n" + | ||
671 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
672 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
673 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
674 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
675 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
676 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
677 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
678 | - "\t\t\t\t\t\t<ID>LUX</ID>\n" + | ||
679 | - "\t\t\t\t\t\t<Name>Luxembourg </Name>\n" + | ||
680 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
681 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
682 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
683 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
684 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
685 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
686 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
687 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
688 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
689 | - "\t\t\t\t\t<ID>41626</ID>\n" + | ||
690 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">2142</GrossWeightMeasure>\n" + | ||
691 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
692 | - "\t\t\t\t\t<PieceQuantity>74</PieceQuantity>\n" + | ||
693 | - "\t\t\t\t\t<CharacteristicCode>PMC</CharacteristicCode>\n" + | ||
694 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
695 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
696 | - "\t\t\t\t\t\t\t<ID>ATL</ID>\n" + | ||
697 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
698 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
699 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
700 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
701 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
702 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
703 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
704 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"656\" unitCode=\"KGM\">466</GrossWeightMeasure>\n" + | ||
705 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
706 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
707 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"3\">2</TotalPieceQuantity>\n" + | ||
708 | - "\t\t\t\t\t<TransportSplitDescription>S</TransportSplitDescription>\n" + | ||
709 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
710 | - "\t\t\t\t\t\t<ID>172-28962172</ID>\n" + | ||
711 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
712 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
713 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
714 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
715 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
716 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
717 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
718 | - "\t\t\t\t\t\t<ID>AMS</ID>\n" + | ||
719 | - "\t\t\t\t\t\t<Name>AMSTERDAM</Name>\n" + | ||
720 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
721 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
722 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
723 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
724 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
725 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
726 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"594\" unitCode=\"KGM\">594</GrossWeightMeasure>\n" + | ||
727 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
728 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
729 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"2\">2</TotalPieceQuantity>\n" + | ||
730 | - "\t\t\t\t\t<TransportSplitDescription>T</TransportSplitDescription>\n" + | ||
731 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
732 | - "\t\t\t\t\t\t<ID>172-28962776</ID>\n" + | ||
733 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
734 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
735 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
736 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
737 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
738 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
739 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
740 | - "\t\t\t\t\t\t<ID>OPO</ID>\n" + | ||
741 | - "\t\t\t\t\t\t<Name>PORTO</Name>\n" + | ||
742 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
743 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
744 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
745 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
746 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
747 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
748 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"592\" unitCode=\"KGM\">592</GrossWeightMeasure>\n" + | ||
749 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
750 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
751 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"25\">25</TotalPieceQuantity>\n" + | ||
752 | - "\t\t\t\t\t<TransportSplitDescription>T</TransportSplitDescription>\n" + | ||
753 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
754 | - "\t\t\t\t\t\t<ID>172-30560961</ID>\n" + | ||
755 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
756 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
757 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
758 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
759 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
760 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
761 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
762 | - "\t\t\t\t\t\t<ID>MXP</ID>\n" + | ||
763 | - "\t\t\t\t\t\t<Name>MILAN</Name>\n" + | ||
764 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
765 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
766 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
767 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
768 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
769 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
770 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"5\" unitCode=\"KGM\">5</GrossWeightMeasure>\n" + | ||
771 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
772 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
773 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"2\">2</TotalPieceQuantity>\n" + | ||
774 | - "\t\t\t\t\t<TransportSplitDescription>T</TransportSplitDescription>\n" + | ||
775 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
776 | - "\t\t\t\t\t\t<ID>172-31920744</ID>\n" + | ||
777 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
778 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
779 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
780 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
781 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
782 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
783 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
784 | - "\t\t\t\t\t\t<ID>CDG</ID>\n" + | ||
785 | - "\t\t\t\t\t\t<Name>Paris</Name>\n" + | ||
786 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
787 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
788 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
789 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
790 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
791 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
792 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"260\" unitCode=\"KGM\">260</GrossWeightMeasure>\n" + | ||
793 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
794 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
795 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"12\">12</TotalPieceQuantity>\n" + | ||
796 | - "\t\t\t\t\t<TransportSplitDescription>T</TransportSplitDescription>\n" + | ||
797 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
798 | - "\t\t\t\t\t\t<ID>172-32802184</ID>\n" + | ||
799 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
800 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
801 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
802 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
803 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
804 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
805 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
806 | - "\t\t\t\t\t\t<ID>HAM</ID>\n" + | ||
807 | - "\t\t\t\t\t\t<Name>HAMBURG</Name>\n" + | ||
808 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
809 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
810 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
811 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
812 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
813 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
814 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"1988\" unitCode=\"KGM\">225</GrossWeightMeasure>\n" + | ||
815 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
816 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
817 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"273\">31</TotalPieceQuantity>\n" + | ||
818 | - "\t\t\t\t\t<TransportSplitDescription>S</TransportSplitDescription>\n" + | ||
819 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
820 | - "\t\t\t\t\t\t<ID>172-32802210</ID>\n" + | ||
821 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
822 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
823 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
824 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
825 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
826 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
827 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
828 | - "\t\t\t\t\t\t<ID>STR</ID>\n" + | ||
829 | - "\t\t\t\t\t\t<Name>Stuttgart</Name>\n" + | ||
830 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
831 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
832 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
833 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
834 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
835 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
836 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
837 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
838 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
839 | - "\t\t\t\t\t<ID>50791</ID>\n" + | ||
840 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">2850</GrossWeightMeasure>\n" + | ||
841 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">10.89</GrossVolumeMeasure>\n" + | ||
842 | - "\t\t\t\t\t<PieceQuantity>125</PieceQuantity>\n" + | ||
843 | - "\t\t\t\t\t<CharacteristicCode>PMC</CharacteristicCode>\n" + | ||
844 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
845 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
846 | - "\t\t\t\t\t\t\t<ID>ATL</ID>\n" + | ||
847 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
848 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
849 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
850 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
851 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
852 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
853 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
854 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"2850\" unitCode=\"KGM\">2850</GrossWeightMeasure>\n" + | ||
855 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">10.89</GrossVolumeMeasure>\n" + | ||
856 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
857 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"125\">125</TotalPieceQuantity>\n" + | ||
858 | - "\t\t\t\t\t<TransportSplitDescription>T</TransportSplitDescription>\n" + | ||
859 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
860 | - "\t\t\t\t\t\t<ID>172-32289946</ID>\n" + | ||
861 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
862 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
863 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
864 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
865 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
866 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
867 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
868 | - "\t\t\t\t\t\t<ID>BLL</ID>\n" + | ||
869 | - "\t\t\t\t\t\t<Name>BILLUND</Name>\n" + | ||
870 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
871 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
872 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
873 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
874 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
875 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
876 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
877 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
878 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
879 | - "\t\t\t\t\t<ID>51397</ID>\n" + | ||
880 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">2748</GrossWeightMeasure>\n" + | ||
881 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">12.430865</GrossVolumeMeasure>\n" + | ||
882 | - "\t\t\t\t\t<PieceQuantity>141</PieceQuantity>\n" + | ||
883 | - "\t\t\t\t\t<CharacteristicCode>PMC</CharacteristicCode>\n" + | ||
884 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
885 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
886 | - "\t\t\t\t\t\t\t<ID>ATL</ID>\n" + | ||
887 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
888 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
889 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
890 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
891 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
892 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
893 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
894 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"7209\" unitCode=\"KGM\">2748</GrossWeightMeasure>\n" + | ||
895 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">12.43</GrossVolumeMeasure>\n" + | ||
896 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
897 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"370\">141</TotalPieceQuantity>\n" + | ||
898 | - "\t\t\t\t\t<TransportSplitDescription>S</TransportSplitDescription>\n" + | ||
899 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
900 | - "\t\t\t\t\t\t<ID>172-32625062</ID>\n" + | ||
901 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
902 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
903 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
904 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
905 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
906 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
907 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
908 | - "\t\t\t\t\t\t<ID>LUX</ID>\n" + | ||
909 | - "\t\t\t\t\t\t<Name>Luxembourg </Name>\n" + | ||
910 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
911 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
912 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
913 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
914 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
915 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
916 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
917 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
918 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
919 | - "\t\t\t\t\t<ID>54652</ID>\n" + | ||
920 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">2490</GrossWeightMeasure>\n" + | ||
921 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
922 | - "\t\t\t\t\t<PieceQuantity>85</PieceQuantity>\n" + | ||
923 | - "\t\t\t\t\t<CharacteristicCode>PMC</CharacteristicCode>\n" + | ||
924 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
925 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
926 | - "\t\t\t\t\t\t\t<ID>ATL</ID>\n" + | ||
927 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
928 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
929 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
930 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
931 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
932 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
933 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
934 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"8765\" unitCode=\"KGM\">2490</GrossWeightMeasure>\n" + | ||
935 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
936 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
937 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"256\">85</TotalPieceQuantity>\n" + | ||
938 | - "\t\t\t\t\t<TransportSplitDescription>S</TransportSplitDescription>\n" + | ||
939 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
940 | - "\t\t\t\t\t\t<ID>172-22896414</ID>\n" + | ||
941 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
942 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
943 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
944 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
945 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
946 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
947 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
948 | - "\t\t\t\t\t\t<ID>LUX</ID>\n" + | ||
949 | - "\t\t\t\t\t\t<Name>Luxembourg </Name>\n" + | ||
950 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
951 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
952 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
953 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
954 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
955 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
956 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
957 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
958 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
959 | - "\t\t\t\t\t<ID>55378</ID>\n" + | ||
960 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">4364</GrossWeightMeasure>\n" + | ||
961 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">19.748324</GrossVolumeMeasure>\n" + | ||
962 | - "\t\t\t\t\t<PieceQuantity>224</PieceQuantity>\n" + | ||
963 | - "\t\t\t\t\t<CharacteristicCode>PMC</CharacteristicCode>\n" + | ||
964 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
965 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
966 | - "\t\t\t\t\t\t\t<ID>ATL</ID>\n" + | ||
967 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
968 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
969 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
970 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
971 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
972 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
973 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
974 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"7209\" unitCode=\"KGM\">4364</GrossWeightMeasure>\n" + | ||
975 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">19.75</GrossVolumeMeasure>\n" + | ||
976 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
977 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"370\">224</TotalPieceQuantity>\n" + | ||
978 | - "\t\t\t\t\t<TransportSplitDescription>S</TransportSplitDescription>\n" + | ||
979 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
980 | - "\t\t\t\t\t\t<ID>172-32625062</ID>\n" + | ||
981 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
982 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
983 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
984 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
985 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
986 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
987 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
988 | - "\t\t\t\t\t\t<ID>LUX</ID>\n" + | ||
989 | - "\t\t\t\t\t\t<Name>Luxembourg </Name>\n" + | ||
990 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
991 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
992 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
993 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
994 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
995 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
996 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
997 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
998 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
999 | - "\t\t\t\t\t<ID>60364</ID>\n" + | ||
1000 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">2415</GrossWeightMeasure>\n" + | ||
1001 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
1002 | - "\t\t\t\t\t<PieceQuantity>76</PieceQuantity>\n" + | ||
1003 | - "\t\t\t\t\t<CharacteristicCode>PMC</CharacteristicCode>\n" + | ||
1004 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
1005 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
1006 | - "\t\t\t\t\t\t\t<ID>ATL</ID>\n" + | ||
1007 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
1008 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
1009 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
1010 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
1011 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
1012 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
1013 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
1014 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"8765\" unitCode=\"KGM\">2415</GrossWeightMeasure>\n" + | ||
1015 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
1016 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
1017 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"256\">76</TotalPieceQuantity>\n" + | ||
1018 | - "\t\t\t\t\t<TransportSplitDescription>S</TransportSplitDescription>\n" + | ||
1019 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
1020 | - "\t\t\t\t\t\t<ID>172-22896414</ID>\n" + | ||
1021 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
1022 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
1023 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
1024 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
1025 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
1026 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
1027 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
1028 | - "\t\t\t\t\t\t<ID>LUX</ID>\n" + | ||
1029 | - "\t\t\t\t\t\t<Name>Luxembourg </Name>\n" + | ||
1030 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
1031 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
1032 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
1033 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
1034 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
1035 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
1036 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
1037 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
1038 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
1039 | - "\t\t\t\t\t<ID>62668</ID>\n" + | ||
1040 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">97</GrossWeightMeasure>\n" + | ||
1041 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0.440811</GrossVolumeMeasure>\n" + | ||
1042 | - "\t\t\t\t\t<PieceQuantity>5</PieceQuantity>\n" + | ||
1043 | - "\t\t\t\t\t<CharacteristicCode>PMC</CharacteristicCode>\n" + | ||
1044 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
1045 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
1046 | - "\t\t\t\t\t\t\t<ID>ATL</ID>\n" + | ||
1047 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
1048 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
1049 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
1050 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
1051 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
1052 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
1053 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
1054 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"7209\" unitCode=\"KGM\">97</GrossWeightMeasure>\n" + | ||
1055 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0.44</GrossVolumeMeasure>\n" + | ||
1056 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
1057 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"370\">5</TotalPieceQuantity>\n" + | ||
1058 | - "\t\t\t\t\t<TransportSplitDescription>S</TransportSplitDescription>\n" + | ||
1059 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
1060 | - "\t\t\t\t\t\t<ID>172-32625062</ID>\n" + | ||
1061 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
1062 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
1063 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
1064 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
1065 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
1066 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
1067 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
1068 | - "\t\t\t\t\t\t<ID>LUX</ID>\n" + | ||
1069 | - "\t\t\t\t\t\t<Name>Luxembourg </Name>\n" + | ||
1070 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
1071 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
1072 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
1073 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
1074 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
1075 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
1076 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
1077 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
1078 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
1079 | - "\t\t\t\t\t<ID>71695</ID>\n" + | ||
1080 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">1300</GrossWeightMeasure>\n" + | ||
1081 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
1082 | - "\t\t\t\t\t<PieceQuantity>8</PieceQuantity>\n" + | ||
1083 | - "\t\t\t\t\t<CharacteristicCode>PMC</CharacteristicCode>\n" + | ||
1084 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
1085 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
1086 | - "\t\t\t\t\t\t\t<ID>ATL</ID>\n" + | ||
1087 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
1088 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
1089 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
1090 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
1091 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
1092 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
1093 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
1094 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"8765\" unitCode=\"KGM\">1300</GrossWeightMeasure>\n" + | ||
1095 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">0</GrossVolumeMeasure>\n" + | ||
1096 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
1097 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"256\">8</TotalPieceQuantity>\n" + | ||
1098 | - "\t\t\t\t\t<TransportSplitDescription>S</TransportSplitDescription>\n" + | ||
1099 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
1100 | - "\t\t\t\t\t\t<ID>172-22896414</ID>\n" + | ||
1101 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
1102 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
1103 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
1104 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
1105 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
1106 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
1107 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
1108 | - "\t\t\t\t\t\t<ID>LUX</ID>\n" + | ||
1109 | - "\t\t\t\t\t\t<Name>Luxembourg </Name>\n" + | ||
1110 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
1111 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
1112 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
1113 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
1114 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
1115 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
1116 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
1117 | - "\t\t\t\t<TypeCode>ULD</TypeCode>\n" + | ||
1118 | - "\t\t\t\t<UtilizedUnitLoadTransportEquipment>\n" + | ||
1119 | - "\t\t\t\t\t<ID>86386</ID>\n" + | ||
1120 | - "\t\t\t\t\t<GrossWeightMeasure unitCode=\"KGM\">2748</GrossWeightMeasure>\n" + | ||
1121 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">7.82</GrossVolumeMeasure>\n" + | ||
1122 | - "\t\t\t\t\t<PieceQuantity>167</PieceQuantity>\n" + | ||
1123 | - "\t\t\t\t\t<CharacteristicCode>PMC</CharacteristicCode>\n" + | ||
1124 | - "\t\t\t\t\t<PositioningEvent>\n" + | ||
1125 | - "\t\t\t\t\t\t<OccurrencePositioningLocation>\n" + | ||
1126 | - "\t\t\t\t\t\t\t<ID>ATL</ID>\n" + | ||
1127 | - "\t\t\t\t\t\t</OccurrencePositioningLocation>\n" + | ||
1128 | - "\t\t\t\t\t</PositioningEvent>\n" + | ||
1129 | - "\t\t\t\t\t<OperatingParty>\n" + | ||
1130 | - "\t\t\t\t\t\t<PrimaryID schemeAgencyID=\"3\">R7</PrimaryID>\n" + | ||
1131 | - "\t\t\t\t\t</OperatingParty>\n" + | ||
1132 | - "\t\t\t\t</UtilizedUnitLoadTransportEquipment>\n" + | ||
1133 | - "\t\t\t\t<IncludedMasterConsignment>\n" + | ||
1134 | - "\t\t\t\t\t<GrossWeightMeasure TotalConsignmentWeight=\"2748\" unitCode=\"KGM\">2748</GrossWeightMeasure>\n" + | ||
1135 | - "\t\t\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">7.82</GrossVolumeMeasure>\n" + | ||
1136 | - "\t\t\t\t\t<DensityGroupCode>MC</DensityGroupCode>\n" + | ||
1137 | - "\t\t\t\t\t<TotalPieceQuantity TotalConsignmentPieces=\"167\">167</TotalPieceQuantity>\n" + | ||
1138 | - "\t\t\t\t\t<TransportSplitDescription>T</TransportSplitDescription>\n" + | ||
1139 | - "\t\t\t\t\t<TransportContractDocument>\n" + | ||
1140 | - "\t\t\t\t\t\t<ID>172-32625095</ID>\n" + | ||
1141 | - "\t\t\t\t\t\t<TypeCode>741</TypeCode>\n" + | ||
1142 | - "\t\t\t\t\t</TransportContractDocument>\n" + | ||
1143 | - "\t\t\t\t\t<OriginLocation>\n" + | ||
1144 | - "\t\t\t\t\t\t<ID>CGO</ID>\n" + | ||
1145 | - "\t\t\t\t\t\t<Name>ZHENGZHOU</Name>\n" + | ||
1146 | - "\t\t\t\t\t</OriginLocation>\n" + | ||
1147 | - "\t\t\t\t\t<FinalDestinationLocation>\n" + | ||
1148 | - "\t\t\t\t\t\t<ID>LUX</ID>\n" + | ||
1149 | - "\t\t\t\t\t\t<Name>Luxembourg </Name>\n" + | ||
1150 | - "\t\t\t\t\t</FinalDestinationLocation>\n" + | ||
1151 | - "\t\t\t\t\t<IncludedMasterConsignmentItem>\n" + | ||
1152 | - "\t\t\t\t\t\t<TypeCode listAgencyID=\"1\">CONSOLIDATION</TypeCode>\n" + | ||
1153 | - "\t\t\t\t\t</IncludedMasterConsignmentItem>\n" + | ||
1154 | - "\t\t\t\t</IncludedMasterConsignment>\n" + | ||
1155 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
1156 | - "\t\t</ArrivalEvent>\n" + | ||
1157 | - "\t\t<ArrivalEvent>\n" + | ||
1158 | - "\t\t\t<ScheduledArrivalOccurrenceDateTime>2018-11-18T06:00:00+08:00</ScheduledArrivalOccurrenceDateTime>\n" + | ||
1159 | - "\t\t\t<ScheduledDepartureOccurrenceDateTime/>\n" + | ||
1160 | - "\t\t\t<OccurrenceArrivalLocation>\n" + | ||
1161 | - "\t\t\t\t<ID>ORD</ID>\n" + | ||
1162 | - "\t\t\t\t<Name>Chicago</Name>\n" + | ||
1163 | - "\t\t\t\t<TypeCode>Airport</TypeCode>\n" + | ||
1164 | - "\t\t\t\t<FirstArrivalCountryID>US</FirstArrivalCountryID>\n" + | ||
1165 | - "\t\t\t</OccurrenceArrivalLocation>\n" + | ||
1166 | - "\t\t\t<AssociatedTransportCargo>\n" + | ||
1167 | - "\t\t\t\t<TypeCode>NIL</TypeCode>\n" + | ||
1168 | - "\t\t\t</AssociatedTransportCargo>\n" + | ||
1169 | - "\t\t</ArrivalEvent>\n" + | ||
1170 | - "\t</LogisticsTransportManifest>\n" + | ||
1171 | - "</MSG>"; | 34 | + |
35 | + @Autowired | ||
36 | + private T_ETL_MESSAGE_Service message_service; | ||
1172 | 37 | ||
1173 | // @Scheduled(fixedRate = 5000) | 38 | // @Scheduled(fixedRate = 5000) |
39 | + @Scheduled(cron="0/10 * * * * ?") | ||
1174 | public void FWB_analysis(){ | 40 | public void FWB_analysis(){ |
1175 | logger.info("scheduled - fixedRate - print time every 5 seconds:{}", format.format(new Date()) ); | 41 | logger.info("scheduled - fixedRate - print time every 5 seconds:{}", format.format(new Date()) ); |
1176 | - String testMsg= "<MSG>\n" + | ||
1177 | - "\t<META>\n" + | ||
1178 | - "\t\t<SNDR>TXD</SNDR>\n" + | ||
1179 | - "\t\t<DDTM>20181114040536</DDTM>\n" + | ||
1180 | - "\t\t<TYPE>DFME</TYPE>\n" + | ||
1181 | - "\t\t<STYP>FWB</STYP>\n" + | ||
1182 | - "\t\t<SEQN>4643187</SEQN>\n" + | ||
1183 | - "\t</META>\n" + | ||
1184 | - "\t<MasterConsignment>\n" + | ||
1185 | - "\t\t<ID>880-83213594</ID>\n" + | ||
1186 | - "\t\t<TypeCode>741</TypeCode>\n" + | ||
1187 | - "\t\t<NilCarriageValueIndicator>false</NilCarriageValueIndicator>\n" + | ||
1188 | - "\t\t<DeclaredValueForCarriageAmount currencyID=\"CNY\">0</DeclaredValueForCarriageAmount>\n" + | ||
1189 | - "\t\t<NilCustomsValueIndicator>true</NilCustomsValueIndicator>\n" + | ||
1190 | - "\t\t<DeclaredValueForCustomsAmount currencyID=\"CNY\">NCV</DeclaredValueForCustomsAmount>\n" + | ||
1191 | - "\t\t<NilInsuranceValueIndicator>true</NilInsuranceValueIndicator>\n" + | ||
1192 | - "\t\t<InsuranceValueAmount currencyID=\"CNY\">XXX</InsuranceValueAmount>\n" + | ||
1193 | - "\t\t<TotalChargePrepaidIndicator>true</TotalChargePrepaidIndicator>\n" + | ||
1194 | - "\t\t<WeightTotalChargeAmount currencyID=\"CNY\">502</WeightTotalChargeAmount>\n" + | ||
1195 | - "\t\t<ValuationTotalChargeAmount currencyID=\"CNY\">0.00</ValuationTotalChargeAmount>\n" + | ||
1196 | - "\t\t<TotalDisbursementPrepaidIndicator>true</TotalDisbursementPrepaidIndicator>\n" + | ||
1197 | - "\t\t<TotalPrepaidChargeAmount currencyID=\"CNY\">613.60</TotalPrepaidChargeAmount>\n" + | ||
1198 | - "\t\t<TotalCollectChargeAmount currencyID=\"CNY\">0</TotalCollectChargeAmount>\n" + | ||
1199 | - "\t\t<DestinationCurrencyTotalCollectChargeAmount currencyID=\"CNY\">0</DestinationCurrencyTotalCollectChargeAmount>\n" + | ||
1200 | - "\t\t<IncludedTareGrossWeightMeasure unitCode=\"KGM\">558.0</IncludedTareGrossWeightMeasure>\n" + | ||
1201 | - "\t\t<NetWeightMeasure/>\n" + | ||
1202 | - "\t\t<GrossVolumeMeasure unitCode=\"MTQ\">4.44</GrossVolumeMeasure>\n" + | ||
1203 | - "\t\t<TotalChargeableWeightMeasure unitCode=\"KGM\">558.0</TotalChargeableWeightMeasure>\n" + | ||
1204 | - "\t\t<ConsignmentItemQuantity>1</ConsignmentItemQuantity>\n" + | ||
1205 | - "\t\t<TotalPieceQuantity>74</TotalPieceQuantity>\n" + | ||
1206 | - "\t\t<TotalLoadedPackageQuantity>74</TotalLoadedPackageQuantity>\n" + | ||
1207 | - "\t\t<PackageInfo>编织袋</PackageInfo>\n" + | ||
1208 | - "\t\t<FreightRateTypeCode>Q</FreightRateTypeCode>\n" + | ||
1209 | - "\t\t<ConsignorParty>\n" + | ||
1210 | - "\t\t\t<PrimaryID schemeAgencyID=\"1\">HNHH</PrimaryID>\n" + | ||
1211 | - "\t\t\t<Name>河南汇海物流有限公司</Name>\n" + | ||
1212 | - "\t\t\t<AccountID>INFOSKY:NULL</AccountID>\n" + | ||
1213 | - "\t\t\t<PostalStructuredAddress>\n" + | ||
1214 | - "\t\t\t\t<StreetName>郑州</StreetName>\n" + | ||
1215 | - "\t\t\t\t<CityName>CGO</CityName>\n" + | ||
1216 | - "\t\t\t\t<CountryID>CN</CountryID>\n" + | ||
1217 | - "\t\t\t\t<SpecifiedAddressLocation/>\n" + | ||
1218 | - "\t\t\t</PostalStructuredAddress>\n" + | ||
1219 | - "\t\t\t<SpecifiedCargoAgentLocation/>\n" + | ||
1220 | - "\t\t\t<DefinedTradeContact>\n" + | ||
1221 | - "\t\t\t\t<DirectTelephoneCommunication>\n" + | ||
1222 | - "\t\t\t\t\t<CompleteNumber>CGO</CompleteNumber>\n" + | ||
1223 | - "\t\t\t\t</DirectTelephoneCommunication>\n" + | ||
1224 | - "\t\t\t</DefinedTradeContact>\n" + | ||
1225 | - "\t\t</ConsignorParty>\n" + | ||
1226 | - "\t\t<ConsigneeParty>\n" + | ||
1227 | - "\t\t\t<PrimaryID schemeAgencyID=\"2\">SK</PrimaryID>\n" + | ||
1228 | - "\t\t\t<Name>海南顺丰速运有限公司</Name>\n" + | ||
1229 | - "\t\t\t<AccountID>INFOSKY:NULL</AccountID>\n" + | ||
1230 | - "\t\t\t<PostalStructuredAddress>\n" + | ||
1231 | - "\t\t\t\t<StreetName>机场自提</StreetName>\n" + | ||
1232 | - "\t\t\t\t<CityName>HAK</CityName>\n" + | ||
1233 | - "\t\t\t\t<CountryID>CN</CountryID>\n" + | ||
1234 | - "\t\t\t\t<SpecifiedAddressLocation/>\n" + | ||
1235 | - "\t\t\t</PostalStructuredAddress>\n" + | ||
1236 | - "\t\t\t<SpecifiedCargoAgentLocation/>\n" + | ||
1237 | - "\t\t\t<DefinedTradeContact/>\n" + | ||
1238 | - "\t\t</ConsigneeParty>\n" + | ||
1239 | - "\t\t<FreightForwarderParty>\n" + | ||
1240 | - "\t\t\t<Name>CGOSA</Name>\n" + | ||
1241 | - "\t\t\t<AccountID>INFOSKY:NULL</AccountID>\n" + | ||
1242 | - "\t\t\t<PostalStructuredAddress>\n" + | ||
1243 | - "\t\t\t\t<CityName>CGO</CityName>\n" + | ||
1244 | - "\t\t\t\t<CountryID>CN</CountryID>\n" + | ||
1245 | - "\t\t\t\t<SpecifiedAddressLocation/>\n" + | ||
1246 | - "\t\t\t</PostalStructuredAddress>\n" + | ||
1247 | - "\t\t\t<SpecifiedCargoAgentLocation/>\n" + | ||
1248 | - "\t\t\t<DefinedTradeContact/>\n" + | ||
1249 | - "\t\t</FreightForwarderParty>\n" + | ||
1250 | - "\t\t<AssociatedParty>\n" + | ||
1251 | - "\t\t\t<PrimaryID/>\n" + | ||
1252 | - "\t\t\t<Name>CGO</Name>\n" + | ||
1253 | - "\t\t\t<AccountID>INFOSKY:NULL</AccountID>\n" + | ||
1254 | - "\t\t\t<RoleCode>AGT</RoleCode>\n" + | ||
1255 | - "\t\t\t<Role>Agent</Role>\n" + | ||
1256 | - "\t\t\t<PostalStructuredAddress>\n" + | ||
1257 | - "\t\t\t\t<CityName>CGO</CityName>\n" + | ||
1258 | - "\t\t\t\t<CountryID>CN</CountryID>\n" + | ||
1259 | - "\t\t\t\t<SpecifiedAddressLocation/>\n" + | ||
1260 | - "\t\t\t</PostalStructuredAddress>\n" + | ||
1261 | - "\t\t\t<SpecifiedCargoAgentLocation/>\n" + | ||
1262 | - "\t\t\t<DefinedTradeContact/>\n" + | ||
1263 | - "\t\t</AssociatedParty>\n" + | ||
1264 | - "\t\t<AssociatedParty>\n" + | ||
1265 | - "\t\t\t<PrimaryID/>\n" + | ||
1266 | - "\t\t\t<Name>CGOHA</Name>\n" + | ||
1267 | - "\t\t\t<AccountID>INFOSKY:NULL</AccountID>\n" + | ||
1268 | - "\t\t\t<RoleCode>GHA</RoleCode>\n" + | ||
1269 | - "\t\t\t<Role>Ground Handling Agent</Role>\n" + | ||
1270 | - "\t\t\t<PostalStructuredAddress>\n" + | ||
1271 | - "\t\t\t\t<CityName>CGO</CityName>\n" + | ||
1272 | - "\t\t\t\t<CountryID>CN</CountryID>\n" + | ||
1273 | - "\t\t\t\t<SpecifiedAddressLocation/>\n" + | ||
1274 | - "\t\t\t</PostalStructuredAddress>\n" + | ||
1275 | - "\t\t\t<SpecifiedCargoAgentLocation/>\n" + | ||
1276 | - "\t\t\t<DefinedTradeContact/>\n" + | ||
1277 | - "\t\t</AssociatedParty>\n" + | ||
1278 | - "\t\t<OriginLocation>\n" + | ||
1279 | - "\t\t\t<ID>CGO</ID>\n" + | ||
1280 | - "\t\t</OriginLocation>\n" + | ||
1281 | - "\t\t<FinalDestinationLocation>\n" + | ||
1282 | - "\t\t\t<ID>HAK</ID>\n" + | ||
1283 | - "\t\t</FinalDestinationLocation>\n" + | ||
1284 | - "\t\t<SpecifiedLogisticsTransportMovement>\n" + | ||
1285 | - "\t\t\t<StageCode>HU7304/Nov14</StageCode>\n" + | ||
1286 | - "\t\t\t<ModeCode>4</ModeCode>\n" + | ||
1287 | - "\t\t\t<Mode>Air Transport</Mode>\n" + | ||
1288 | - "\t\t\t<ID>HU7304</ID>\n" + | ||
1289 | - "\t\t\t<SequenceNumeric>1</SequenceNumeric>\n" + | ||
1290 | - "\t\t\t<UsedLogisticsTransportMeans/>\n" + | ||
1291 | - "\t\t\t<ArrivalEvent>\n" + | ||
1292 | - "\t\t\t\t<OccurrenceArrivalLocation>\n" + | ||
1293 | - "\t\t\t\t\t<ID>HAK</ID>\n" + | ||
1294 | - "\t\t\t\t</OccurrenceArrivalLocation>\n" + | ||
1295 | - "\t\t\t</ArrivalEvent>\n" + | ||
1296 | - "\t\t\t<DepartureEvent>\n" + | ||
1297 | - "\t\t\t\t<ScheduledOccurrenceDateTime>2018-11-14T00:00:00+08:00</ScheduledOccurrenceDateTime>\n" + | ||
1298 | - "\t\t\t\t<OccurrenceDepartureLocation>\n" + | ||
1299 | - "\t\t\t\t\t<ID>CGO</ID>\n" + | ||
1300 | - "\t\t\t\t</OccurrenceDepartureLocation>\n" + | ||
1301 | - "\t\t\t</DepartureEvent>\n" + | ||
1302 | - "\t\t</SpecifiedLogisticsTransportMovement>\n" + | ||
1303 | - "\t\t<IncludedAccountingNote>\n" + | ||
1304 | - "\t\t\t<ContentCode>20010003普通</ContentCode>\n" + | ||
1305 | - "\t\t\t<Content>20010003普通</Content>\n" + | ||
1306 | - "\t\t</IncludedAccountingNote>\n" + | ||
1307 | - "\t\t<AssociatedConsignmentCustomsProcedure/>\n" + | ||
1308 | - "\t\t<ApplicableTradeCurrencyExchange>\n" + | ||
1309 | - "\t\t\t<SourceCurrencyCode>CNY</SourceCurrencyCode>\n" + | ||
1310 | - "\t\t\t<TargetCurrencyCode>CNY</TargetCurrencyCode>\n" + | ||
1311 | - "\t\t\t<MarketID>S</MarketID>\n" + | ||
1312 | - "\t\t\t<ConversionRate>1</ConversionRate>\n" + | ||
1313 | - "\t\t</ApplicableTradeCurrencyExchange>\n" + | ||
1314 | - "\t\t<ApplicableLogisticsServiceCharge/>\n" + | ||
1315 | - "\t\t<ApplicableLogisticsAllowanceCharge>\n" + | ||
1316 | - "\t\t\t<ID>MY</ID>\n" + | ||
1317 | - "\t\t\t<Reason>燃油费</Reason>\n" + | ||
1318 | - "\t\t\t<ActualAmount currencyID=\"CNY\">111.6</ActualAmount>\n" + | ||
1319 | - "\t\t\t<PartyTypeCode>C</PartyTypeCode>\n" + | ||
1320 | - "\t\t</ApplicableLogisticsAllowanceCharge>\n" + | ||
1321 | - "\t\t<SignatoryCarrierAuthentication>\n" + | ||
1322 | - "\t\t\t<ActualDateTime>2018-11-14T04:02:00</ActualDateTime>\n" + | ||
1323 | - "\t\t\t<Signatory>牛青</Signatory>\n" + | ||
1324 | - "\t\t\t<IssueAuthenticationLocation>\n" + | ||
1325 | - "\t\t\t\t<Name>郑州</Name>\n" + | ||
1326 | - "\t\t\t</IssueAuthenticationLocation>\n" + | ||
1327 | - "\t\t</SignatoryCarrierAuthentication>\n" + | ||
1328 | - "\t\t<IncludedMasterConsignmentItem>\n" + | ||
1329 | - "\t\t\t<SequenceNumeric>1</SequenceNumeric>\n" + | ||
1330 | - "\t\t\t<TypeCode listAgencyID=\"1\">PH</TypeCode>\n" + | ||
1331 | - "\t\t\t<GrossWeightMeasure unitCode=\"KGM\">558.0</GrossWeightMeasure>\n" + | ||
1332 | - "\t\t\t<GrossVolumeMeasure unitCode=\"MTQ\">4.44</GrossVolumeMeasure>\n" + | ||
1333 | - "\t\t\t<PieceQuantity>74</PieceQuantity>\n" + | ||
1334 | - "\t\t\t<TareWeightMeasure unitCode=\"KGM\">558.0</TareWeightMeasure>\n" + | ||
1335 | - "\t\t\t<NatureIdentificationTransportCargo>\n" + | ||
1336 | - "\t\t\t\t<Identification>手机机头(无电池) 电子主板 上衣 茶叶 大枣 皮带 票证 运动鞋 背包 灯座</Identification>\n" + | ||
1337 | - "\t\t\t</NatureIdentificationTransportCargo>\n" + | ||
1338 | - "\t\t\t<OriginCountry/>\n" + | ||
1339 | - "\t\t\t<AssociatedUnitLoadTransportEquipment>\n" + | ||
1340 | - "\t\t\t\t<OperatingParty/>\n" + | ||
1341 | - "\t\t\t</AssociatedUnitLoadTransportEquipment>\n" + | ||
1342 | - "\t\t\t<TransportLogisticsPackage>\n" + | ||
1343 | - "\t\t\t\t<ItemQuantity>74</ItemQuantity>\n" + | ||
1344 | - "\t\t\t\t<LinearSpatialDimension>\n" + | ||
1345 | - "\t\t\t\t\t<Description>true</Description>\n" + | ||
1346 | - "\t\t\t\t\t<WidthMeasure unitCode=\"CMT\">40</WidthMeasure>\n" + | ||
1347 | - "\t\t\t\t\t<LengthMeasure unitCode=\"CMT\">30</LengthMeasure>\n" + | ||
1348 | - "\t\t\t\t\t<HeightMeasure unitCode=\"CMT\">50</HeightMeasure>\n" + | ||
1349 | - "\t\t\t\t</LinearSpatialDimension>\n" + | ||
1350 | - "\t\t\t</TransportLogisticsPackage>\n" + | ||
1351 | - "\t\t\t<ApplicableFreightRateServiceCharge>\n" + | ||
1352 | - "\t\t\t\t<CategoryCode>Q</CategoryCode>\n" + | ||
1353 | - "\t\t\t\t<CommodityItemID>P</CommodityItemID>\n" + | ||
1354 | - "\t\t\t\t<ChargeableWeightMeasure unitCode=\"KGM\">558.0</ChargeableWeightMeasure>\n" + | ||
1355 | - "\t\t\t\t<AppliedRate>0.9</AppliedRate>\n" + | ||
1356 | - "\t\t\t\t<AppliedAmount currencyID=\"CNY\">502</AppliedAmount>\n" + | ||
1357 | - "\t\t\t</ApplicableFreightRateServiceCharge>\n" + | ||
1358 | - "\t\t\t<SpecifiedRateCombinationPointLocation/>\n" + | ||
1359 | - "\t\t</IncludedMasterConsignmentItem>\n" + | ||
1360 | - "\t\t<ReportedStatus>\n" + | ||
1361 | - "\t\t\t<ReasonCode>FWB</ReasonCode>\n" + | ||
1362 | - "\t\t\t<EventTime>\n" + | ||
1363 | - "\t\t\t\t<OccurrenceDateTime>2018-11-14T04:03:02+08:00</OccurrenceDateTime>\n" + | ||
1364 | - "\t\t\t\t<DateTimeTypeCode>Actual</DateTimeTypeCode>\n" + | ||
1365 | - "\t\t\t</EventTime>\n" + | ||
1366 | - "\t\t\t<SpecifiedLocation>\n" + | ||
1367 | - "\t\t\t\t<ID>CGO</ID>\n" + | ||
1368 | - "\t\t\t</SpecifiedLocation>\n" + | ||
1369 | - "\t\t</ReportedStatus>\n" + | ||
1370 | - "\t</MasterConsignment>\n" + | ||
1371 | - "</MSG>"; | ||
1372 | - try { | ||
1373 | - XMLParse xmlParse = new XMLParse(testMsg); | ||
1374 | - Map resoultMaps = xmlParse.getAllValuesFromXmlString(); | ||
1375 | - logger.info(resoultMaps.toString()); | ||
1376 | - FWBAssociatedParty fwbAssociatedParty = new FWBAssociatedParty(); | ||
1377 | 42 | ||
1378 | - fwbAssociatedParty.setAwbnumber(xmlParse.getNodeValueFromXmlString( "/MSG/MasterConsignment/ID")); | ||
1379 | - String[] flight = xmlParse.getNodeValueFromXmlString( "/MSG/MasterConsignment/SpecifiedLogisticsTransportMovement/StageCode").split("/"); | ||
1380 | - String flightDep = xmlParse.getNodeValueFromXmlString( "/MSG/MasterConsignment/SpecifiedLogisticsTransportMovement/DepartureEvent/ScheduledOccurrenceDateTime"); | ||
1381 | - String flight_No = flight[0]; //航班号 | ||
1382 | - String flight_date=flight[1]; //航班日期年月 | ||
1383 | - fwbAssociatedParty.setFlightnumber(flight_No); | 43 | + //读取fwb报文 |
44 | + List<T_ETL_MESSAGE> messageList = message_service.selectFWB(); | ||
45 | + for (T_ETL_MESSAGE message : messageList){ | ||
46 | + String content = message.getContent(); | ||
47 | + BigDecimal fid = message.getFid(); | ||
1384 | 48 | ||
1385 | - //根据离港日期取航班日期年份 | ||
1386 | - ZonedDateTime depZoneTime = ZonedDateTime.parse(flightDep); | ||
1387 | - String year = String.valueOf(depZoneTime.getYear()); | ||
1388 | - //合并航班日期和离港年份,组成完整日期格式 | ||
1389 | - flight_date = flight_date+year; | ||
1390 | - DateTimeFormatter formatter = DateTimeFormatter.ofLocalizedDate(FormatStyle.FULL); | ||
1391 | - formatter = DateTimeFormatter.ofPattern("MMMddyyyy",Locale.ENGLISH); | ||
1392 | - LocalDate date =LocalDate.parse(flight_date,formatter); | ||
1393 | - //写入对象 | ||
1394 | - fwbAssociatedParty.setFlightdate(date); | ||
1395 | - //以上关于运单的信息与航班信息已解析完成 | 49 | + T_ETL_FWB_Handle fwb_handle = new T_ETL_FWB_Handle(); |
50 | + fwb_handle.insertHandle(content,fid); | ||
51 | + } | ||
1396 | 52 | ||
1397 | - //开始读取相同节点数组 | ||
1398 | - List<Map> stype_value =xmlParse.getNodeValuesFromXmlString( "/MSG/MasterConsignment/AssociatedParty"); | ||
1399 | - for (Map map :stype_value){ | ||
1400 | - fwbAssociatedParty.setPrimaryid((String) map.get("PrimaryID")); | ||
1401 | - fwbAssociatedParty.setName(map.get("Name").toString()); | ||
1402 | - fwbAssociatedParty.setAccountid(map.get("AccountID").toString()); | ||
1403 | - fwbAssociatedParty.setRolecode(map.get("RoleCode").toString()); | ||
1404 | - fwbAssociatedParty.setRole(map.get("Role").toString()); | ||
1405 | - } | ||
1406 | 53 | ||
1407 | - // | ||
1408 | 54 | ||
1409 | - logger.info(stype_value.toString()); | ||
1410 | - }catch (Exception var7){ | ||
1411 | - logger.error(var7.toString()); | ||
1412 | - } | 55 | + long beginTime = System.currentTimeMillis(); |
56 | + | ||
57 | + | ||
1413 | } | 58 | } |
1414 | 59 | ||
1415 | /** | 60 | /** |
@@ -1431,13 +76,8 @@ public class FWBTask { | @@ -1431,13 +76,8 @@ public class FWBTask { | ||
1431 | logger.info("scheduled - cron - print time every 10 seconds:{}", format.format(new Date()) ); | 76 | logger.info("scheduled - cron - print time every 10 seconds:{}", format.format(new Date()) ); |
1432 | 77 | ||
1433 | 78 | ||
1434 | - try{ | ||
1435 | - XMLParse xmlParse = new XMLParse(PFFM); | ||
1436 | - List<Map> stype_value =xmlParse.getNodeValuesFromXmlString( "/MSG/LogisticsTransportManifest/ArrivalEvent"); | ||
1437 | - logger.info(stype_value.toString()); | ||
1438 | - }catch (Exception e){ | ||
1439 | - logger.error(e.toString()); | ||
1440 | - } | 79 | + |
1441 | 80 | ||
1442 | } | 81 | } |
82 | + | ||
1443 | } | 83 | } |
1 | +package com.example.demo.service; | ||
2 | + | ||
3 | +import com.example.demo.model.T_ETL_MESSAGE; | ||
4 | + | ||
5 | +import java.math.BigDecimal; | ||
6 | +import java.util.List; | ||
7 | + | ||
8 | +public interface T_ETL_MESSAGE_Service { | ||
9 | + T_ETL_MESSAGE selectByPrimaryKey(BigDecimal fid); | ||
10 | + | ||
11 | + List<T_ETL_MESSAGE> selectFWB(); | ||
12 | +} |
1 | +package com.example.demo.service; | ||
2 | + | ||
3 | +import com.example.demo.model.T_TXD_FWB; | ||
4 | + | ||
5 | +import java.math.BigDecimal; | ||
6 | + | ||
7 | +public interface T_TXD_FWB_Service { | ||
8 | + int deleteByPrimaryKey(BigDecimal fid); | ||
9 | + | ||
10 | + int insert(T_TXD_FWB record); | ||
11 | + | ||
12 | + int insertSelective(T_TXD_FWB record); | ||
13 | + | ||
14 | + T_TXD_FWB selectByPrimaryKey(BigDecimal fid); | ||
15 | + | ||
16 | + int updateByPrimaryKeySelective(T_TXD_FWB record); | ||
17 | + | ||
18 | + int updateByPrimaryKey(T_TXD_FWB record); | ||
19 | +} |
1 | -package com.example.demo.service; | ||
2 | - | ||
3 | -import com.example.demo.model.User; | ||
4 | -import com.github.pagehelper.PageInfo; | ||
5 | - | ||
6 | - | ||
7 | -public interface UserService { | ||
8 | - int deleteByPrimaryKey(Integer userId); | ||
9 | - | ||
10 | - int insert(User record); | ||
11 | - | ||
12 | - int insertSelective(User record); | ||
13 | - | ||
14 | - User selectByPrimaryKey(Integer userId); | ||
15 | - | ||
16 | - int updateByPrimaryKeySelective(User record); | ||
17 | - | ||
18 | - int updateByPrimaryKey(User record); | ||
19 | - | ||
20 | - PageInfo<User> findAllUser(int pageNum, int pageSize); | ||
21 | -} |
1 | -package com.example.demo.service.imp; | ||
2 | - | ||
3 | -import com.example.demo.mapper.FWBAssociatedPartyMapper; | ||
4 | -import com.example.demo.model.FWBAssociatedParty; | ||
5 | -import org.springframework.beans.factory.annotation.Autowired; | ||
6 | -import org.springframework.stereotype.Service; | ||
7 | - | ||
8 | -@Service("fwbAssService") | ||
9 | -public class FWBAsssociatedPartyService implements com.example.demo.service.FWBAsssociatedPartyService { | ||
10 | - | ||
11 | - | ||
12 | - @Autowired | ||
13 | - FWBAssociatedPartyMapper fwbAssociatedPartyMapper; | ||
14 | - | ||
15 | - public int insert(FWBAssociatedParty record){ | ||
16 | - return fwbAssociatedPartyMapper.insert(record); | ||
17 | - } | ||
18 | - | ||
19 | - public int insertSelective(FWBAssociatedParty record){ | ||
20 | - return fwbAssociatedPartyMapper.insertSelective(record); | ||
21 | - } | ||
22 | -} |
1 | +package com.example.demo.service.imp; | ||
2 | + | ||
3 | +import com.example.demo.mapper.T_ETL_MESSAGEMapper; | ||
4 | +import com.example.demo.model.T_ETL_MESSAGE; | ||
5 | +import com.example.demo.service.T_ETL_MESSAGE_Service; | ||
6 | +import org.springframework.beans.factory.annotation.Autowired; | ||
7 | +import org.springframework.stereotype.Service; | ||
8 | + | ||
9 | +import java.math.BigDecimal; | ||
10 | +import java.util.List; | ||
11 | + | ||
12 | +@Service("etlMessageService") | ||
13 | +public class T_ETL_MESSAGE_ServiceImp implements T_ETL_MESSAGE_Service{ | ||
14 | + | ||
15 | + @Autowired | ||
16 | + private T_ETL_MESSAGEMapper t_etl_messageMapper; | ||
17 | + | ||
18 | + public T_ETL_MESSAGE selectByPrimaryKey(BigDecimal fid){ | ||
19 | + return t_etl_messageMapper.selectByPrimaryKey(fid); | ||
20 | + } | ||
21 | + | ||
22 | + public List<T_ETL_MESSAGE> selectFWB(){ | ||
23 | + return t_etl_messageMapper.selectFWB(); | ||
24 | + } | ||
25 | +} |
1 | +package com.example.demo.service.imp; | ||
2 | + | ||
3 | +import com.example.demo.mapper.T_TXD_FWBPARTYMapper; | ||
4 | +import com.example.demo.model.T_TXD_FWBPARTY; | ||
5 | +import com.example.demo.service.T_TXD_FWBPARTY_Service; | ||
6 | +import org.springframework.beans.factory.annotation.Autowired; | ||
7 | +import org.springframework.stereotype.Service; | ||
8 | + | ||
9 | +@Service("fwbPartyService") | ||
10 | +public class T_TXD_FWBPARTY_ServiceImp implements T_TXD_FWBPARTY_Service{ | ||
11 | + | ||
12 | + @Autowired | ||
13 | + private T_TXD_FWBPARTYMapper fwbpartyMapper; | ||
14 | + | ||
15 | + public int insert(T_TXD_FWBPARTY record){ | ||
16 | + return fwbpartyMapper.insert(record); | ||
17 | + } | ||
18 | +} |
1 | +package com.example.demo.service.imp; | ||
2 | + | ||
3 | +import com.example.demo.mapper.T_TXD_FWBSTATUSMapper; | ||
4 | +import com.example.demo.model.T_TXD_FWBSTATUS; | ||
5 | +import com.example.demo.service.T_TXD_FWBSTATUS_Service; | ||
6 | +import org.springframework.beans.factory.annotation.Autowired; | ||
7 | +import org.springframework.stereotype.Service; | ||
8 | + | ||
9 | +@Service("fwbStatusService") | ||
10 | +public class T_TXD_FWBSTATUS_ServiceImp implements T_TXD_FWBSTATUS_Service{ | ||
11 | + | ||
12 | + @Autowired | ||
13 | + private T_TXD_FWBSTATUSMapper fwbstatusMapper; | ||
14 | + | ||
15 | + public int insert(T_TXD_FWBSTATUS record){ | ||
16 | + return fwbstatusMapper.insert(record); | ||
17 | + } | ||
18 | +} |
1 | +package com.example.demo.service.imp; | ||
2 | + | ||
3 | +import com.example.demo.mapper.T_TXD_FWBMapper; | ||
4 | +import com.example.demo.model.T_TXD_FWB; | ||
5 | +import com.example.demo.service.T_TXD_FWB_Service; | ||
6 | +import org.springframework.beans.factory.annotation.Autowired; | ||
7 | +import org.springframework.stereotype.Service; | ||
8 | + | ||
9 | +import java.math.BigDecimal; | ||
10 | + | ||
11 | +@Service("fwbService") | ||
12 | +public class T_TXD_FWB_ServiceImp implements T_TXD_FWB_Service{ | ||
13 | + | ||
14 | + @Autowired | ||
15 | + private T_TXD_FWBMapper t_txd_fwbMapper; | ||
16 | + | ||
17 | + public int deleteByPrimaryKey(BigDecimal fid){ | ||
18 | + return t_txd_fwbMapper.deleteByPrimaryKey(fid); | ||
19 | + } | ||
20 | + | ||
21 | + public int insert(T_TXD_FWB record){ | ||
22 | + return t_txd_fwbMapper.insert(record); | ||
23 | + } | ||
24 | + | ||
25 | + public int insertSelective(T_TXD_FWB record){ | ||
26 | + return t_txd_fwbMapper.insertSelective(record); | ||
27 | + } | ||
28 | + | ||
29 | + public T_TXD_FWB selectByPrimaryKey(BigDecimal fid){ | ||
30 | + return t_txd_fwbMapper.selectByPrimaryKey(fid); | ||
31 | + } | ||
32 | + | ||
33 | + public int updateByPrimaryKeySelective(T_TXD_FWB record){ | ||
34 | + return t_txd_fwbMapper.updateByPrimaryKeySelective(record); | ||
35 | + } | ||
36 | + | ||
37 | + public int updateByPrimaryKey(T_TXD_FWB record){ | ||
38 | + return t_txd_fwbMapper.updateByPrimaryKey(record); | ||
39 | + } | ||
40 | +} |
1 | -package com.example.demo.service.imp; | ||
2 | - | ||
3 | -import com.example.demo.mapper.UserMapper; | ||
4 | -import com.example.demo.model.User; | ||
5 | -import com.example.demo.service.UserService; | ||
6 | -import com.github.pagehelper.PageHelper; | ||
7 | -import com.github.pagehelper.PageInfo; | ||
8 | -import org.springframework.beans.factory.annotation.Autowired; | ||
9 | -import org.springframework.stereotype.Service; | ||
10 | - | ||
11 | -import java.util.List; | ||
12 | - | ||
13 | -@Service(value = "userService") | ||
14 | -public class UserServiceImp implements UserService{ | ||
15 | - | ||
16 | - @Autowired | ||
17 | - private UserMapper userMapper; | ||
18 | - | ||
19 | - public int deleteByPrimaryKey(Integer userId){ | ||
20 | - return userMapper.deleteByPrimaryKey(userId); | ||
21 | - } | ||
22 | - | ||
23 | - public int insert(User record){ | ||
24 | - return userMapper.insert(record); | ||
25 | - } | ||
26 | - | ||
27 | - public int insertSelective(User record){ | ||
28 | - return userMapper.insertSelective(record); | ||
29 | - } | ||
30 | - | ||
31 | - public User selectByPrimaryKey(Integer userId){ | ||
32 | - return userMapper.selectByPrimaryKey(userId); | ||
33 | - } | ||
34 | - | ||
35 | - public int updateByPrimaryKeySelective(User record){ | ||
36 | - return userMapper.updateByPrimaryKeySelective(record); | ||
37 | - } | ||
38 | - | ||
39 | - public int updateByPrimaryKey(User record){ | ||
40 | - return userMapper.updateByPrimaryKey(record); | ||
41 | - } | ||
42 | - | ||
43 | - public PageInfo<User> findAllUser(int pageNum, int pageSize){ | ||
44 | - PageHelper.startPage(pageNum,pageSize); | ||
45 | - List<User> users = userMapper.selectUsers(); | ||
46 | - PageInfo<User> result = new PageInfo<User>(users); | ||
47 | - return result; | ||
48 | - | ||
49 | - } | ||
50 | -} |
1 | +package com.example.demo.util; | ||
2 | + | ||
3 | +import org.springframework.lang.Nullable; | ||
4 | + | ||
5 | +import java.math.BigDecimal; | ||
6 | +import java.math.BigInteger; | ||
7 | +import java.util.Map; | ||
8 | + | ||
9 | +public class Helper { | ||
10 | + | ||
11 | + /** | ||
12 | + * Object转BigDecimal类型-MRZ-2018年5月14日09:56:26 | ||
13 | + * | ||
14 | + * @param value 要转的object类型 | ||
15 | + * @return 转成的BigDecimal类型数据 | ||
16 | + */ | ||
17 | + static public BigDecimal getBigDecimal(Object value) { | ||
18 | + BigDecimal ret = null; | ||
19 | + if (value != null) { | ||
20 | + if (value instanceof BigDecimal) { | ||
21 | + ret = (BigDecimal) value; | ||
22 | + } else if (value instanceof String) { | ||
23 | + ret = new BigDecimal((String) value); | ||
24 | + } else if (value instanceof BigInteger) { | ||
25 | + ret = new BigDecimal((BigInteger) value); | ||
26 | + } else if (value instanceof Number) { | ||
27 | + ret = new BigDecimal(((Number) value).doubleValue()); | ||
28 | + } else { | ||
29 | + throw new ClassCastException("Not possible to coerce [" + value + "] from class " + value.getClass() + " into a BigDecimal."); | ||
30 | + } | ||
31 | + } | ||
32 | + return ret; | ||
33 | + } | ||
34 | + | ||
35 | + /** | ||
36 | + * 判断map是否包含key,包含返回KEY值,不包含返回NULL | ||
37 | + * @param map | ||
38 | + * @param key | ||
39 | + * @return | ||
40 | + */ | ||
41 | + @Nullable static public Object CheckMapKey(Map map, String key){ | ||
42 | + boolean contains = map.containsKey(key); //判断是否包含指定的键值 | ||
43 | + if (contains) { //如果条件为真 | ||
44 | + return map.get(key); | ||
45 | + } else { | ||
46 | + return null; | ||
47 | + } | ||
48 | + } | ||
49 | +} |
@@ -10,10 +10,12 @@ eureka.client.service-url.defaultZone=http://localhost:7001/eureka/ | @@ -10,10 +10,12 @@ eureka.client.service-url.defaultZone=http://localhost:7001/eureka/ | ||
10 | #服务名 | 10 | #服务名 |
11 | spring.application.name=fileServer-01 | 11 | spring.application.name=fileServer-01 |
12 | 12 | ||
13 | -spring.datasource.name=test | ||
14 | -spring.datasource.url=jdbc:mysql://127.0.0.1:3307/statistics | ||
15 | -spring.datasource.username=root | ||
16 | -spring.datasource.password= | 13 | +#spring.datasource.name=CGOETL |
14 | +spring.datasource.type=com.alibaba.druid.pool.DruidDataSource | ||
15 | +spring.datasource.driver-class-name=oracle.jdbc.OracleDriver | ||
16 | +spring.datasource.url=jdbc:oracle:thin:@10.50.3.68:1521:CGODW | ||
17 | +spring.datasource.username=cgoetl | ||
18 | +spring.datasource.password=1q2w3e4r | ||
17 | #配置初始化大小/最小/最大 | 19 | #配置初始化大小/最小/最大 |
18 | spring.datasource.druid.initial-size=1 | 20 | spring.datasource.druid.initial-size=1 |
19 | spring.datasource.druid.min-idle=1 | 21 | spring.datasource.druid.min-idle=1 |
@@ -24,15 +26,15 @@ spring.datasource.druid.max-wait=60000 | @@ -24,15 +26,15 @@ spring.datasource.druid.max-wait=60000 | ||
24 | spring.datasource.druid.min-evictable-idle-time-millis=300000 | 26 | spring.datasource.druid.min-evictable-idle-time-millis=300000 |
25 | #间隔多久进行一次检测,检测需要关闭的空闲连接 | 27 | #间隔多久进行一次检测,检测需要关闭的空闲连接 |
26 | spring.datasource.druid.time-between-eviction-runs-millis=60000 | 28 | spring.datasource.druid.time-between-eviction-runs-millis=60000 |
27 | -spring.datasource.druid.validation-query=SELECT 'x' | 29 | +spring.datasource.druid.validation-query=SELECT 'x' FROM DUAL |
28 | spring.datasource.druid.test-while-idle=true | 30 | spring.datasource.druid.test-while-idle=true |
29 | spring.datasource.druid.test-on-borrow=false | 31 | spring.datasource.druid.test-on-borrow=false |
30 | spring.datasource.druid.test-on-return=false | 32 | spring.datasource.druid.test-on-return=false |
31 | -spring.datasource.type=com.alibaba.druid.pool.DruidDataSource | ||
32 | -spring.datasource.driver-class-name=com.mysql.jdbc.Driver | 33 | +spring.datasource.druid.default-auto-commit=true |
33 | 34 | ||
34 | mybatis.mapper-locations=classpath:mapping/*.xml | 35 | mybatis.mapper-locations=classpath:mapping/*.xml |
35 | mybatis.type-aliases-package=com.example.demo.model | 36 | mybatis.type-aliases-package=com.example.demo.model |
37 | +logging.level.com.example.demo.mapper=DEBUG | ||
36 | 38 | ||
37 | pagehelper.helper-dialect=mysql | 39 | pagehelper.helper-dialect=mysql |
38 | pagehelper.reasonable=true | 40 | pagehelper.reasonable=true |
@@ -4,7 +4,8 @@ | @@ -4,7 +4,8 @@ | ||
4 | "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd"> | 4 | "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd"> |
5 | <generatorConfiguration> | 5 | <generatorConfiguration> |
6 | <!-- 数据库驱动:选择你的本地硬盘上面的数据库驱动包--> | 6 | <!-- 数据库驱动:选择你的本地硬盘上面的数据库驱动包--> |
7 | - <classPathEntry location="/Users/mrz/Downloads/mybatis-generator-core-1.3.2/lib/mysql-connector-java-5.1.25-bin.jar"/> | 7 | + <!--<classPathEntry location="/Users/mrz/Downloads/mybatis-generator-core-1.3.2/lib/mysql-connector-java-5.1.25-bin.jar"/>--> |
8 | + <classPathEntry location="/Users/mrz/Documents/maven/ojdbc6.jar"/> | ||
8 | <context id="DB2Tables" targetRuntime="MyBatis3"> | 9 | <context id="DB2Tables" targetRuntime="MyBatis3"> |
9 | <commentGenerator> | 10 | <commentGenerator> |
10 | <property name="suppressDate" value="true"/> | 11 | <property name="suppressDate" value="true"/> |
@@ -12,8 +13,18 @@ | @@ -12,8 +13,18 @@ | ||
12 | <property name="suppressAllComments" value="true"/> | 13 | <property name="suppressAllComments" value="true"/> |
13 | </commentGenerator> | 14 | </commentGenerator> |
14 | <!--数据库链接URL,用户名、密码 --> | 15 | <!--数据库链接URL,用户名、密码 --> |
15 | - <jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://127.0.0.1:3307/statistics" userId="root" password=""> | 16 | + <!--<jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://127.0.0.1:3307/statistics" userId="root" password="">--> |
17 | + <!--</jdbcConnection>--> | ||
18 | + <jdbcConnection driverClass="oracle.jdbc.driver.OracleDriver" | ||
19 | + connectionURL="jdbc:oracle:thin:@10.50.3.68:1521:CGODW" | ||
20 | + userId="cgoetl" | ||
21 | + password="1q2w3e4r"> | ||
16 | </jdbcConnection> | 22 | </jdbcConnection> |
23 | + <!-- 默认false,把JDBC DECIMAL 和 NUMERIC 类型解析为 Integer,为 true时把JDBC DECIMAL 和 | ||
24 | + NUMERIC 类型解析为java.math.BigDecimal --> | ||
25 | + <!--<javaTypeResolver>--> | ||
26 | + <!--<property name="forceBigDecimals" value="true" />--> | ||
27 | + <!--</javaTypeResolver>--> | ||
17 | <javaTypeResolver> | 28 | <javaTypeResolver> |
18 | <property name="forceBigDecimals" value="false"/> | 29 | <property name="forceBigDecimals" value="false"/> |
19 | </javaTypeResolver> | 30 | </javaTypeResolver> |
@@ -31,6 +42,6 @@ | @@ -31,6 +42,6 @@ | ||
31 | <property name="enableSubPackages" value="true"/> | 42 | <property name="enableSubPackages" value="true"/> |
32 | </javaClientGenerator> | 43 | </javaClientGenerator> |
33 | <!-- 要生成的表 tableName是数据库中的表名或视图名 domainObjectName是实体类名--> | 44 | <!-- 要生成的表 tableName是数据库中的表名或视图名 domainObjectName是实体类名--> |
34 | - <table tableName="AssociatedParty" domainObjectName="FWBAssociatedParty" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false" selectByExampleQueryId="false"></table> | 45 | + <table tableName="T_ETL_MESSAGE" domainObjectName="T_ETL_MESSAGE" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false" selectByExampleQueryId="false"></table> |
35 | </context> | 46 | </context> |
36 | </generatorConfiguration> | 47 | </generatorConfiguration> |
1 | -<?xml version="1.0" encoding="UTF-8" ?> | ||
2 | -<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > | ||
3 | -<mapper namespace="com.example.demo.mapper.FWBAssociatedPartyMapper" > | ||
4 | - <resultMap id="BaseResultMap" type="com.example.demo.model.FWBAssociatedParty" > | ||
5 | - <id column="ID" property="id" jdbcType="INTEGER" /> | ||
6 | - <result column="PrimaryID" property="primaryid" jdbcType="VARCHAR" /> | ||
7 | - <result column="Name" property="name" jdbcType="VARCHAR" /> | ||
8 | - <result column="AccountID" property="accountid" jdbcType="VARCHAR" /> | ||
9 | - <result column="RoleCode" property="rolecode" jdbcType="VARCHAR" /> | ||
10 | - <result column="Role" property="role" jdbcType="VARCHAR" /> | ||
11 | - <result column="CityName" property="cityname" jdbcType="VARCHAR" /> | ||
12 | - <result column="CountryID" property="countryid" jdbcType="VARCHAR" /> | ||
13 | - <result column="AWBNumber" property="awbnumber" jdbcType="VARCHAR" /> | ||
14 | - <result column="FlightDate" property="flightdate" jdbcType="TIMESTAMP" /> | ||
15 | - <result column="FlightNumber" property="flightnumber" jdbcType="VARCHAR" /> | ||
16 | - </resultMap> | ||
17 | - <sql id="Base_Column_List" > | ||
18 | - ID, PrimaryID, Name, AccountID, RoleCode, Role, CityName, CountryID, AWBNumber, FlightDate, | ||
19 | - FlightNumber | ||
20 | - </sql> | ||
21 | - <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" > | ||
22 | - select | ||
23 | - <include refid="Base_Column_List" /> | ||
24 | - from AssociatedParty | ||
25 | - where ID = #{id,jdbcType=INTEGER} | ||
26 | - </select> | ||
27 | - <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" > | ||
28 | - delete from AssociatedParty | ||
29 | - where ID = #{id,jdbcType=INTEGER} | ||
30 | - </delete> | ||
31 | - <insert id="insert" parameterType="com.example.demo.model.FWBAssociatedParty" > | ||
32 | - insert into AssociatedParty (ID, PrimaryID, Name, | ||
33 | - AccountID, RoleCode, Role, | ||
34 | - CityName, CountryID, AWBNumber, | ||
35 | - FlightDate, FlightNumber) | ||
36 | - values (#{id,jdbcType=INTEGER}, #{primaryid,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, | ||
37 | - #{accountid,jdbcType=VARCHAR}, #{rolecode,jdbcType=VARCHAR}, #{role,jdbcType=VARCHAR}, | ||
38 | - #{cityname,jdbcType=VARCHAR}, #{countryid,jdbcType=VARCHAR}, #{awbnumber,jdbcType=VARCHAR}, | ||
39 | - #{flightdate,jdbcType=TIMESTAMP}, #{flightnumber,jdbcType=VARCHAR}) | ||
40 | - </insert> | ||
41 | - <insert id="insertSelective" parameterType="com.example.demo.model.FWBAssociatedParty" > | ||
42 | - insert into AssociatedParty | ||
43 | - <trim prefix="(" suffix=")" suffixOverrides="," > | ||
44 | - <if test="id != null" > | ||
45 | - ID, | ||
46 | - </if> | ||
47 | - <if test="primaryid != null" > | ||
48 | - PrimaryID, | ||
49 | - </if> | ||
50 | - <if test="name != null" > | ||
51 | - Name, | ||
52 | - </if> | ||
53 | - <if test="accountid != null" > | ||
54 | - AccountID, | ||
55 | - </if> | ||
56 | - <if test="rolecode != null" > | ||
57 | - RoleCode, | ||
58 | - </if> | ||
59 | - <if test="role != null" > | ||
60 | - Role, | ||
61 | - </if> | ||
62 | - <if test="cityname != null" > | ||
63 | - CityName, | ||
64 | - </if> | ||
65 | - <if test="countryid != null" > | ||
66 | - CountryID, | ||
67 | - </if> | ||
68 | - <if test="awbnumber != null" > | ||
69 | - AWBNumber, | ||
70 | - </if> | ||
71 | - <if test="flightdate != null" > | ||
72 | - FlightDate, | ||
73 | - </if> | ||
74 | - <if test="flightnumber != null" > | ||
75 | - FlightNumber, | ||
76 | - </if> | ||
77 | - </trim> | ||
78 | - <trim prefix="values (" suffix=")" suffixOverrides="," > | ||
79 | - <if test="id != null" > | ||
80 | - #{id,jdbcType=INTEGER}, | ||
81 | - </if> | ||
82 | - <if test="primaryid != null" > | ||
83 | - #{primaryid,jdbcType=VARCHAR}, | ||
84 | - </if> | ||
85 | - <if test="name != null" > | ||
86 | - #{name,jdbcType=VARCHAR}, | ||
87 | - </if> | ||
88 | - <if test="accountid != null" > | ||
89 | - #{accountid,jdbcType=VARCHAR}, | ||
90 | - </if> | ||
91 | - <if test="rolecode != null" > | ||
92 | - #{rolecode,jdbcType=VARCHAR}, | ||
93 | - </if> | ||
94 | - <if test="role != null" > | ||
95 | - #{role,jdbcType=VARCHAR}, | ||
96 | - </if> | ||
97 | - <if test="cityname != null" > | ||
98 | - #{cityname,jdbcType=VARCHAR}, | ||
99 | - </if> | ||
100 | - <if test="countryid != null" > | ||
101 | - #{countryid,jdbcType=VARCHAR}, | ||
102 | - </if> | ||
103 | - <if test="awbnumber != null" > | ||
104 | - #{awbnumber,jdbcType=VARCHAR}, | ||
105 | - </if> | ||
106 | - <if test="flightdate != null" > | ||
107 | - #{flightdate,jdbcType=TIMESTAMP}, | ||
108 | - </if> | ||
109 | - <if test="flightnumber != null" > | ||
110 | - #{flightnumber,jdbcType=VARCHAR}, | ||
111 | - </if> | ||
112 | - </trim> | ||
113 | - </insert> | ||
114 | - <update id="updateByPrimaryKeySelective" parameterType="com.example.demo.model.FWBAssociatedParty" > | ||
115 | - update AssociatedParty | ||
116 | - <set > | ||
117 | - <if test="primaryid != null" > | ||
118 | - PrimaryID = #{primaryid,jdbcType=VARCHAR}, | ||
119 | - </if> | ||
120 | - <if test="name != null" > | ||
121 | - Name = #{name,jdbcType=VARCHAR}, | ||
122 | - </if> | ||
123 | - <if test="accountid != null" > | ||
124 | - AccountID = #{accountid,jdbcType=VARCHAR}, | ||
125 | - </if> | ||
126 | - <if test="rolecode != null" > | ||
127 | - RoleCode = #{rolecode,jdbcType=VARCHAR}, | ||
128 | - </if> | ||
129 | - <if test="role != null" > | ||
130 | - Role = #{role,jdbcType=VARCHAR}, | ||
131 | - </if> | ||
132 | - <if test="cityname != null" > | ||
133 | - CityName = #{cityname,jdbcType=VARCHAR}, | ||
134 | - </if> | ||
135 | - <if test="countryid != null" > | ||
136 | - CountryID = #{countryid,jdbcType=VARCHAR}, | ||
137 | - </if> | ||
138 | - <if test="awbnumber != null" > | ||
139 | - AWBNumber = #{awbnumber,jdbcType=VARCHAR}, | ||
140 | - </if> | ||
141 | - <if test="flightdate != null" > | ||
142 | - FlightDate = #{flightdate,jdbcType=TIMESTAMP}, | ||
143 | - </if> | ||
144 | - <if test="flightnumber != null" > | ||
145 | - FlightNumber = #{flightnumber,jdbcType=VARCHAR}, | ||
146 | - </if> | ||
147 | - </set> | ||
148 | - where ID = #{id,jdbcType=INTEGER} | ||
149 | - </update> | ||
150 | - <update id="updateByPrimaryKey" parameterType="com.example.demo.model.FWBAssociatedParty" > | ||
151 | - update AssociatedParty | ||
152 | - set PrimaryID = #{primaryid,jdbcType=VARCHAR}, | ||
153 | - Name = #{name,jdbcType=VARCHAR}, | ||
154 | - AccountID = #{accountid,jdbcType=VARCHAR}, | ||
155 | - RoleCode = #{rolecode,jdbcType=VARCHAR}, | ||
156 | - Role = #{role,jdbcType=VARCHAR}, | ||
157 | - CityName = #{cityname,jdbcType=VARCHAR}, | ||
158 | - CountryID = #{countryid,jdbcType=VARCHAR}, | ||
159 | - AWBNumber = #{awbnumber,jdbcType=VARCHAR}, | ||
160 | - FlightDate = #{flightdate,jdbcType=TIMESTAMP}, | ||
161 | - FlightNumber = #{flightnumber,jdbcType=VARCHAR} | ||
162 | - where ID = #{id,jdbcType=INTEGER} | ||
163 | - </update> | ||
164 | -</mapper> |
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
3 | +<mapper namespace="com.example.demo.mapper.T_ETL_MESSAGEMapper"> | ||
4 | + <resultMap id="BaseResultMap" type="com.example.demo.model.T_ETL_MESSAGE"> | ||
5 | + <id column="FID" jdbcType="DECIMAL" property="fid" /> | ||
6 | + <result column="OPER" jdbcType="VARCHAR" property="oper" /> | ||
7 | + <result column="SNTM" jdbcType="TIMESTAMP" property="sntm" /> | ||
8 | + <result column="SNDR" jdbcType="VARCHAR" property="sndr" /> | ||
9 | + <result column="RCVR" jdbcType="VARCHAR" property="rcvr" /> | ||
10 | + <result column="SEQN" jdbcType="VARCHAR" property="seqn" /> | ||
11 | + <result column="DDTM" jdbcType="TIMESTAMP" property="ddtm" /> | ||
12 | + <result column="TYPE" jdbcType="VARCHAR" property="type" /> | ||
13 | + <result column="STYP" jdbcType="VARCHAR" property="styp" /> | ||
14 | + <result column="TRANSID" jdbcType="VARCHAR" property="transid" /> | ||
15 | + <result column="REMARK" jdbcType="OTHER" property="remark" /> | ||
16 | + <result column="OUTTM" jdbcType="TIMESTAMP" property="outtm" /> | ||
17 | + <result column="OUTFLAG" jdbcType="DECIMAL" property="outflag" /> | ||
18 | + <result column="ETLTIM" jdbcType="TIMESTAMP" property="etltim" /> | ||
19 | + <result column="ETLFLAG" jdbcType="DECIMAL" property="etlflag" /> | ||
20 | + <result column="ERRTM" jdbcType="TIMESTAMP" property="errtm" /> | ||
21 | + <result column="ERRFLAG" jdbcType="DECIMAL" property="errflag" /> | ||
22 | + <result column="ERRLOG" jdbcType="OTHER" property="errlog" /> | ||
23 | + <result column="APPID" jdbcType="VARCHAR" property="appid" /> | ||
24 | + </resultMap> | ||
25 | + <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.example.demo.model.T_ETL_MESSAGE"> | ||
26 | + <result column="CONTENT" jdbcType="CLOB" property="content" /> | ||
27 | + </resultMap> | ||
28 | + <sql id="Base_Column_List"> | ||
29 | + FID, OPER, SNTM, SNDR, RCVR, SEQN, DDTM, TYPE, STYP, TRANSID, REMARK, OUTTM, OUTFLAG, | ||
30 | + ETLTIM, ETLFLAG, ERRTM, ERRFLAG, ERRLOG, APPID | ||
31 | + </sql> | ||
32 | + <sql id="Blob_Column_List"> | ||
33 | + CONTENT | ||
34 | + </sql> | ||
35 | + <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="ResultMapWithBLOBs"> | ||
36 | + select | ||
37 | + <include refid="Base_Column_List" /> | ||
38 | + , | ||
39 | + <include refid="Blob_Column_List" /> | ||
40 | + from T_ETL_MESSAGE | ||
41 | + where FID = #{fid,jdbcType=DECIMAL} | ||
42 | + </select> | ||
43 | + | ||
44 | + <select id="selectFWB" resultMap="ResultMapWithBLOBs"> | ||
45 | + select FID, | ||
46 | + <include refid="Blob_Column_List" /> | ||
47 | + from T_ETL_MESSAGE | ||
48 | + <where> | ||
49 | + <trim prefixOverrides="and"> | ||
50 | + STYP='FWB' AND SNDR='TXD' AND TYPE='DFME' AND FID=11191192 | ||
51 | + </trim> | ||
52 | + </where> | ||
53 | + </select> | ||
54 | + <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal"> | ||
55 | + delete from T_ETL_MESSAGE | ||
56 | + where FID = #{fid,jdbcType=DECIMAL} | ||
57 | + </delete> | ||
58 | + <insert id="insert" parameterType="com.example.demo.model.T_ETL_MESSAGE"> | ||
59 | + insert into T_ETL_MESSAGE (FID, OPER, SNTM, | ||
60 | + SNDR, RCVR, SEQN, DDTM, | ||
61 | + TYPE, STYP, TRANSID, | ||
62 | + REMARK, OUTTM, OUTFLAG, | ||
63 | + ETLTIM, ETLFLAG, ERRTM, | ||
64 | + ERRFLAG, ERRLOG, APPID, | ||
65 | + CONTENT) | ||
66 | + values (#{fid,jdbcType=DECIMAL}, #{oper,jdbcType=VARCHAR}, #{sntm,jdbcType=TIMESTAMP}, | ||
67 | + #{sndr,jdbcType=VARCHAR}, #{rcvr,jdbcType=VARCHAR}, #{seqn,jdbcType=VARCHAR}, #{ddtm,jdbcType=TIMESTAMP}, | ||
68 | + #{type,jdbcType=VARCHAR}, #{styp,jdbcType=VARCHAR}, #{transid,jdbcType=VARCHAR}, | ||
69 | + #{remark,jdbcType=OTHER}, #{outtm,jdbcType=TIMESTAMP}, #{outflag,jdbcType=DECIMAL}, | ||
70 | + #{etltim,jdbcType=TIMESTAMP}, #{etlflag,jdbcType=DECIMAL}, #{errtm,jdbcType=TIMESTAMP}, | ||
71 | + #{errflag,jdbcType=DECIMAL}, #{errlog,jdbcType=OTHER}, #{appid,jdbcType=VARCHAR}, | ||
72 | + #{content,jdbcType=CLOB}) | ||
73 | + </insert> | ||
74 | + <insert id="insertSelective" parameterType="com.example.demo.model.T_ETL_MESSAGE"> | ||
75 | + insert into T_ETL_MESSAGE | ||
76 | + <trim prefix="(" suffix=")" suffixOverrides=","> | ||
77 | + <if test="fid != null"> | ||
78 | + FID, | ||
79 | + </if> | ||
80 | + <if test="oper != null"> | ||
81 | + OPER, | ||
82 | + </if> | ||
83 | + <if test="sntm != null"> | ||
84 | + SNTM, | ||
85 | + </if> | ||
86 | + <if test="sndr != null"> | ||
87 | + SNDR, | ||
88 | + </if> | ||
89 | + <if test="rcvr != null"> | ||
90 | + RCVR, | ||
91 | + </if> | ||
92 | + <if test="seqn != null"> | ||
93 | + SEQN, | ||
94 | + </if> | ||
95 | + <if test="ddtm != null"> | ||
96 | + DDTM, | ||
97 | + </if> | ||
98 | + <if test="type != null"> | ||
99 | + TYPE, | ||
100 | + </if> | ||
101 | + <if test="styp != null"> | ||
102 | + STYP, | ||
103 | + </if> | ||
104 | + <if test="transid != null"> | ||
105 | + TRANSID, | ||
106 | + </if> | ||
107 | + <if test="remark != null"> | ||
108 | + REMARK, | ||
109 | + </if> | ||
110 | + <if test="outtm != null"> | ||
111 | + OUTTM, | ||
112 | + </if> | ||
113 | + <if test="outflag != null"> | ||
114 | + OUTFLAG, | ||
115 | + </if> | ||
116 | + <if test="etltim != null"> | ||
117 | + ETLTIM, | ||
118 | + </if> | ||
119 | + <if test="etlflag != null"> | ||
120 | + ETLFLAG, | ||
121 | + </if> | ||
122 | + <if test="errtm != null"> | ||
123 | + ERRTM, | ||
124 | + </if> | ||
125 | + <if test="errflag != null"> | ||
126 | + ERRFLAG, | ||
127 | + </if> | ||
128 | + <if test="errlog != null"> | ||
129 | + ERRLOG, | ||
130 | + </if> | ||
131 | + <if test="appid != null"> | ||
132 | + APPID, | ||
133 | + </if> | ||
134 | + <if test="content != null"> | ||
135 | + CONTENT, | ||
136 | + </if> | ||
137 | + </trim> | ||
138 | + <trim prefix="values (" suffix=")" suffixOverrides=","> | ||
139 | + <if test="fid != null"> | ||
140 | + #{fid,jdbcType=DECIMAL}, | ||
141 | + </if> | ||
142 | + <if test="oper != null"> | ||
143 | + #{oper,jdbcType=VARCHAR}, | ||
144 | + </if> | ||
145 | + <if test="sntm != null"> | ||
146 | + #{sntm,jdbcType=TIMESTAMP}, | ||
147 | + </if> | ||
148 | + <if test="sndr != null"> | ||
149 | + #{sndr,jdbcType=VARCHAR}, | ||
150 | + </if> | ||
151 | + <if test="rcvr != null"> | ||
152 | + #{rcvr,jdbcType=VARCHAR}, | ||
153 | + </if> | ||
154 | + <if test="seqn != null"> | ||
155 | + #{seqn,jdbcType=VARCHAR}, | ||
156 | + </if> | ||
157 | + <if test="ddtm != null"> | ||
158 | + #{ddtm,jdbcType=TIMESTAMP}, | ||
159 | + </if> | ||
160 | + <if test="type != null"> | ||
161 | + #{type,jdbcType=VARCHAR}, | ||
162 | + </if> | ||
163 | + <if test="styp != null"> | ||
164 | + #{styp,jdbcType=VARCHAR}, | ||
165 | + </if> | ||
166 | + <if test="transid != null"> | ||
167 | + #{transid,jdbcType=VARCHAR}, | ||
168 | + </if> | ||
169 | + <if test="remark != null"> | ||
170 | + #{remark,jdbcType=OTHER}, | ||
171 | + </if> | ||
172 | + <if test="outtm != null"> | ||
173 | + #{outtm,jdbcType=TIMESTAMP}, | ||
174 | + </if> | ||
175 | + <if test="outflag != null"> | ||
176 | + #{outflag,jdbcType=DECIMAL}, | ||
177 | + </if> | ||
178 | + <if test="etltim != null"> | ||
179 | + #{etltim,jdbcType=TIMESTAMP}, | ||
180 | + </if> | ||
181 | + <if test="etlflag != null"> | ||
182 | + #{etlflag,jdbcType=DECIMAL}, | ||
183 | + </if> | ||
184 | + <if test="errtm != null"> | ||
185 | + #{errtm,jdbcType=TIMESTAMP}, | ||
186 | + </if> | ||
187 | + <if test="errflag != null"> | ||
188 | + #{errflag,jdbcType=DECIMAL}, | ||
189 | + </if> | ||
190 | + <if test="errlog != null"> | ||
191 | + #{errlog,jdbcType=OTHER}, | ||
192 | + </if> | ||
193 | + <if test="appid != null"> | ||
194 | + #{appid,jdbcType=VARCHAR}, | ||
195 | + </if> | ||
196 | + <if test="content != null"> | ||
197 | + #{content,jdbcType=CLOB}, | ||
198 | + </if> | ||
199 | + </trim> | ||
200 | + </insert> | ||
201 | + <update id="updateByPrimaryKeySelective" parameterType="com.example.demo.model.T_ETL_MESSAGE"> | ||
202 | + update T_ETL_MESSAGE | ||
203 | + <set> | ||
204 | + <if test="oper != null"> | ||
205 | + OPER = #{oper,jdbcType=VARCHAR}, | ||
206 | + </if> | ||
207 | + <if test="sntm != null"> | ||
208 | + SNTM = #{sntm,jdbcType=TIMESTAMP}, | ||
209 | + </if> | ||
210 | + <if test="sndr != null"> | ||
211 | + SNDR = #{sndr,jdbcType=VARCHAR}, | ||
212 | + </if> | ||
213 | + <if test="rcvr != null"> | ||
214 | + RCVR = #{rcvr,jdbcType=VARCHAR}, | ||
215 | + </if> | ||
216 | + <if test="seqn != null"> | ||
217 | + SEQN = #{seqn,jdbcType=VARCHAR}, | ||
218 | + </if> | ||
219 | + <if test="ddtm != null"> | ||
220 | + DDTM = #{ddtm,jdbcType=TIMESTAMP}, | ||
221 | + </if> | ||
222 | + <if test="type != null"> | ||
223 | + TYPE = #{type,jdbcType=VARCHAR}, | ||
224 | + </if> | ||
225 | + <if test="styp != null"> | ||
226 | + STYP = #{styp,jdbcType=VARCHAR}, | ||
227 | + </if> | ||
228 | + <if test="transid != null"> | ||
229 | + TRANSID = #{transid,jdbcType=VARCHAR}, | ||
230 | + </if> | ||
231 | + <if test="remark != null"> | ||
232 | + REMARK = #{remark,jdbcType=OTHER}, | ||
233 | + </if> | ||
234 | + <if test="outtm != null"> | ||
235 | + OUTTM = #{outtm,jdbcType=TIMESTAMP}, | ||
236 | + </if> | ||
237 | + <if test="outflag != null"> | ||
238 | + OUTFLAG = #{outflag,jdbcType=DECIMAL}, | ||
239 | + </if> | ||
240 | + <if test="etltim != null"> | ||
241 | + ETLTIM = #{etltim,jdbcType=TIMESTAMP}, | ||
242 | + </if> | ||
243 | + <if test="etlflag != null"> | ||
244 | + ETLFLAG = #{etlflag,jdbcType=DECIMAL}, | ||
245 | + </if> | ||
246 | + <if test="errtm != null"> | ||
247 | + ERRTM = #{errtm,jdbcType=TIMESTAMP}, | ||
248 | + </if> | ||
249 | + <if test="errflag != null"> | ||
250 | + ERRFLAG = #{errflag,jdbcType=DECIMAL}, | ||
251 | + </if> | ||
252 | + <if test="errlog != null"> | ||
253 | + ERRLOG = #{errlog,jdbcType=OTHER}, | ||
254 | + </if> | ||
255 | + <if test="appid != null"> | ||
256 | + APPID = #{appid,jdbcType=VARCHAR}, | ||
257 | + </if> | ||
258 | + <if test="content != null"> | ||
259 | + CONTENT = #{content,jdbcType=CLOB}, | ||
260 | + </if> | ||
261 | + </set> | ||
262 | + where FID = #{fid,jdbcType=DECIMAL} | ||
263 | + </update> | ||
264 | + <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.example.demo.model.T_ETL_MESSAGE"> | ||
265 | + update T_ETL_MESSAGE | ||
266 | + set OPER = #{oper,jdbcType=VARCHAR}, | ||
267 | + SNTM = #{sntm,jdbcType=TIMESTAMP}, | ||
268 | + SNDR = #{sndr,jdbcType=VARCHAR}, | ||
269 | + RCVR = #{rcvr,jdbcType=VARCHAR}, | ||
270 | + SEQN = #{seqn,jdbcType=VARCHAR}, | ||
271 | + DDTM = #{ddtm,jdbcType=TIMESTAMP}, | ||
272 | + TYPE = #{type,jdbcType=VARCHAR}, | ||
273 | + STYP = #{styp,jdbcType=VARCHAR}, | ||
274 | + TRANSID = #{transid,jdbcType=VARCHAR}, | ||
275 | + REMARK = #{remark,jdbcType=OTHER}, | ||
276 | + OUTTM = #{outtm,jdbcType=TIMESTAMP}, | ||
277 | + OUTFLAG = #{outflag,jdbcType=DECIMAL}, | ||
278 | + ETLTIM = #{etltim,jdbcType=TIMESTAMP}, | ||
279 | + ETLFLAG = #{etlflag,jdbcType=DECIMAL}, | ||
280 | + ERRTM = #{errtm,jdbcType=TIMESTAMP}, | ||
281 | + ERRFLAG = #{errflag,jdbcType=DECIMAL}, | ||
282 | + ERRLOG = #{errlog,jdbcType=OTHER}, | ||
283 | + APPID = #{appid,jdbcType=VARCHAR}, | ||
284 | + CONTENT = #{content,jdbcType=CLOB} | ||
285 | + where FID = #{fid,jdbcType=DECIMAL} | ||
286 | + </update> | ||
287 | + <update id="updateByPrimaryKey" parameterType="com.example.demo.model.T_ETL_MESSAGE"> | ||
288 | + update T_ETL_MESSAGE | ||
289 | + set OPER = #{oper,jdbcType=VARCHAR}, | ||
290 | + SNTM = #{sntm,jdbcType=TIMESTAMP}, | ||
291 | + SNDR = #{sndr,jdbcType=VARCHAR}, | ||
292 | + RCVR = #{rcvr,jdbcType=VARCHAR}, | ||
293 | + SEQN = #{seqn,jdbcType=VARCHAR}, | ||
294 | + DDTM = #{ddtm,jdbcType=TIMESTAMP}, | ||
295 | + TYPE = #{type,jdbcType=VARCHAR}, | ||
296 | + STYP = #{styp,jdbcType=VARCHAR}, | ||
297 | + TRANSID = #{transid,jdbcType=VARCHAR}, | ||
298 | + REMARK = #{remark,jdbcType=OTHER}, | ||
299 | + OUTTM = #{outtm,jdbcType=TIMESTAMP}, | ||
300 | + OUTFLAG = #{outflag,jdbcType=DECIMAL}, | ||
301 | + ETLTIM = #{etltim,jdbcType=TIMESTAMP}, | ||
302 | + ETLFLAG = #{etlflag,jdbcType=DECIMAL}, | ||
303 | + ERRTM = #{errtm,jdbcType=TIMESTAMP}, | ||
304 | + ERRFLAG = #{errflag,jdbcType=DECIMAL}, | ||
305 | + ERRLOG = #{errlog,jdbcType=OTHER}, | ||
306 | + APPID = #{appid,jdbcType=VARCHAR} | ||
307 | + where FID = #{fid,jdbcType=DECIMAL} | ||
308 | + </update> | ||
309 | + | ||
310 | +</mapper> |
-
请 注册 或 登录 后发表评论