正在显示
50 个修改的文件
包含
4202 行增加
和
0 行删除
db/land/dtcmessagehead.sql
0 → 100644
1 | +/* | ||
2 | +Navicat MySQL Data Transfer | ||
3 | + | ||
4 | +Source Server : Mysql5.17 | ||
5 | +Source Server Version : 50717 | ||
6 | +Source Host : localhost:3306 | ||
7 | +Source Database : station | ||
8 | + | ||
9 | +Target Server Type : MYSQL | ||
10 | +Target Server Version : 50717 | ||
11 | +File Encoding : 65001 | ||
12 | + | ||
13 | +Date: 2018-10-26 10:37:54 | ||
14 | +*/ | ||
15 | + | ||
16 | +SET FOREIGN_KEY_CHECKS=0; | ||
17 | + | ||
18 | +-- ---------------------------- | ||
19 | +-- Table structure for `dtcmessagehead` | ||
20 | +-- ---------------------------- | ||
21 | +DROP TABLE IF EXISTS `dtcmessagehead`; | ||
22 | +CREATE TABLE `dtcmessagehead` ( | ||
23 | + `MESSAGETYPE` varchar(20) DEFAULT NULL COMMENT '报文业务类型', | ||
24 | + `MESSAGEID` varchar(36) NOT NULL COMMENT '数据交换的报文唯一标识编号', | ||
25 | + `MESSAGETIME` datetime DEFAULT NULL COMMENT '报文的生成或发送时间', | ||
26 | + `SENDERID` varchar(12) DEFAULT NULL COMMENT '报文发出点代码', | ||
27 | + `SENDERADDRESS` varchar(30) DEFAULT NULL COMMENT '报文发出点地址', | ||
28 | + `RECEIVERID` varchar(12) DEFAULT NULL COMMENT '报文介绍点代码', | ||
29 | + `RECEIVERADDRESS` varchar(30) DEFAULT NULL COMMENT '报文接收地址', | ||
30 | + `PLATFORMNO` varchar(10) DEFAULT NULL COMMENT '企业10位海关代码', | ||
31 | + `CUSTOMCODE` varchar(5) DEFAULT NULL COMMENT '海关代码', | ||
32 | + `SEQNO` varchar(64) DEFAULT NULL COMMENT '单证的主单号', | ||
33 | + `NOTE` varchar(20) DEFAULT NULL COMMENT '备注', | ||
34 | + PRIMARY KEY (`MESSAGEID`) | ||
35 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
36 | + | ||
37 | +-- ---------------------------- | ||
38 | +-- Records of dtcmessagehead | ||
39 | +-- ---------------------------- |
db/land/land_businesstype_list.sql
0 → 100644
1 | +/* | ||
2 | +Navicat MySQL Data Transfer | ||
3 | + | ||
4 | +Source Server : Mysql5.17 | ||
5 | +Source Server Version : 50717 | ||
6 | +Source Host : localhost:3306 | ||
7 | +Source Database : station | ||
8 | + | ||
9 | +Target Server Type : MYSQL | ||
10 | +Target Server Version : 50717 | ||
11 | +File Encoding : 65001 | ||
12 | + | ||
13 | +Date: 2018-10-26 10:38:11 | ||
14 | +*/ | ||
15 | + | ||
16 | +SET FOREIGN_KEY_CHECKS=0; | ||
17 | + | ||
18 | +-- ---------------------------- | ||
19 | +-- Table structure for `land_businesstype_list` | ||
20 | +-- ---------------------------- | ||
21 | +DROP TABLE IF EXISTS `land_businesstype_list`; | ||
22 | +CREATE TABLE `land_businesstype_list` ( | ||
23 | + `id` varchar(64) NOT NULL COMMENT '主键', | ||
24 | + `MASSAGE_ID` varchar(64) DEFAULT NULL COMMENT '主键', | ||
25 | + `TRAILER_FRAME_NO` varchar(32) DEFAULT NULL, | ||
26 | + `TRAILER_LICENSE_NO` varchar(64) DEFAULT NULL COMMENT '车架号', | ||
27 | + `MASTER_LIST` varchar(1024) DEFAULT NULL COMMENT '主单列表', | ||
28 | + `PRODECT_TIME` datetime DEFAULT NULL, | ||
29 | + `RETURNMESSAGE` varchar(255) DEFAULT NULL COMMENT '回执内容', | ||
30 | + `AGENTNO` varchar(32) DEFAULT NULL COMMENT '货代代码', | ||
31 | + `AGENTNAME` varchar(255) DEFAULT NULL COMMENT '货代名称', | ||
32 | + `COCODE` varchar(32) DEFAULT NULL COMMENT '所在企业代码', | ||
33 | + `DRIVERNAME` varchar(32) DEFAULT NULL COMMENT '驾驶员姓名', | ||
34 | + `DRIVERID` varchar(32) DEFAULT NULL COMMENT '驾驶员ID', | ||
35 | + `STARTPORT` varchar(4) DEFAULT NULL COMMENT '起始海关代码', | ||
36 | + `ENDPORT` varchar(4) DEFAULT NULL COMMENT '目的关区代码', | ||
37 | + `STARTSATATION` varchar(64) DEFAULT NULL COMMENT '场站', | ||
38 | + `ENDSTATION` varchar(64) DEFAULT NULL COMMENT '目的场站', | ||
39 | + `AISLE` varchar(32) DEFAULT NULL COMMENT '通道,卡口', | ||
40 | + `BUSINESSTYPE` varchar(5) DEFAULT NULL COMMENT '业务类型(1.出口送货,2:进口提货,3:分拨分流,4:货运调拨)', | ||
41 | + `TURNOVERFLAG` varchar(5) DEFAULT NULL COMMENT '进出场标识', | ||
42 | + `CONTRASTFLAG` varchar(2) DEFAULT NULL COMMENT '校验标识', | ||
43 | + `CREATE_BY` varchar(64) DEFAULT NULL COMMENT '创建人', | ||
44 | + `CREATE_DATE` datetime DEFAULT NULL COMMENT '创建时间', | ||
45 | + `UPDATE_BY` varchar(64) DEFAULT NULL, | ||
46 | + `UPDATE_DATE` datetime DEFAULT NULL, | ||
47 | + PRIMARY KEY (`id`) | ||
48 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
49 | + | ||
50 | +-- ---------------------------- | ||
51 | +-- Records of land_businesstype_list | ||
52 | +-- ---------------------------- | ||
53 | +INSERT INTO `land_businesstype_list` VALUES ('1e2784f422554e11a49c63f3393d6b17', null, 'SDFG12FGFGG', '126663SFFSXGGD', '', '2018-10-26 10:59:23', null, 'HX', 'SAADFFG', 'JKS36625143', 'SFGH', '15633254255333', '4604', '4620', '郑州场站', '综保区', '1号卡口', '分拨分流', '进场站', null, '1', '2018-10-10 11:00:16', '1', '2018-10-20 16:05:47'); | ||
54 | +INSERT INTO `land_businesstype_list` VALUES ('5c42bc17622b4834ab4c5522eb36ae17', null, 'AAAAGGJRGTWWEFF', 'SDDG5555678SSSH', '', '2018-10-22 11:27:38', null, 'SSDF', 'SSSS', 'SSDFFGFGGG', 'FFG', 'SS123366555', '4604', '4604', '郑州场站', '郑州场站', '1号卡口', '货物流转', '进场站', null, '1', '2018-10-09 14:51:45', '1', '2018-10-10 14:17:19'); | ||
55 | +INSERT INTO `land_businesstype_list` VALUES ('8c7dd77302804530bfa4deb4f4daacb5', null, 'ASD123', 'fg23633ssddsd', '172-12341234', '2018-10-10 10:53:09', null, 'hx', '港龙', 'hxshikl333ffgg', '里斯', '412365448112236641x', '4604', '4620', '郑州场站', '综保区', '1号卡口', '分拨分流', '进场站', null, '1', '2018-10-10 10:54:15', '1', '2018-10-10 12:47:25'); |
db/land/land_corporation_info.sql
0 → 100644
1 | +/* | ||
2 | +Navicat MySQL Data Transfer | ||
3 | + | ||
4 | +Source Server : Mysql5.17 | ||
5 | +Source Server Version : 50717 | ||
6 | +Source Host : localhost:3306 | ||
7 | +Source Database : station | ||
8 | + | ||
9 | +Target Server Type : MYSQL | ||
10 | +Target Server Version : 50717 | ||
11 | +File Encoding : 65001 | ||
12 | + | ||
13 | +Date: 2018-10-26 10:38:22 | ||
14 | +*/ | ||
15 | + | ||
16 | +SET FOREIGN_KEY_CHECKS=0; | ||
17 | + | ||
18 | +-- ---------------------------- | ||
19 | +-- Table structure for `land_corporation_info` | ||
20 | +-- ---------------------------- | ||
21 | +DROP TABLE IF EXISTS `land_corporation_info`; | ||
22 | +CREATE TABLE `land_corporation_info` ( | ||
23 | + `EPORT_ID` varchar(32) DEFAULT NULL COMMENT '电子口岸录入号ID', | ||
24 | + `CO_CODE` varchar(20) DEFAULT NULL COMMENT '企业代码', | ||
25 | + `MAIN_PORT` varchar(4) DEFAULT NULL COMMENT '主管海关代码', | ||
26 | + `CO_REG_ADDR` varchar(12) DEFAULT NULL COMMENT '企业注册地', | ||
27 | + `APPR_DEP` varchar(64) DEFAULT NULL COMMENT '批准海关', | ||
28 | + `APPR_NO` varchar(64) DEFAULT NULL COMMENT '批准/许可批文号', | ||
29 | + `APPR_VALID_TIME` date DEFAULT NULL COMMENT '批准/许可批文有效期', | ||
30 | + `APPR_PORTS` varchar(255) DEFAULT NULL COMMENT '批准行驶口岸', | ||
31 | + `CO_NAME_CN` varchar(255) DEFAULT NULL COMMENT '企业中文名称', | ||
32 | + `CO_NAME_EN` varchar(255) DEFAULT NULL COMMENT '企业外文名称', | ||
33 | + `CO_DEAL_TYPE` varchar(5) DEFAULT NULL COMMENT '企业经营类型:1.货运企业;2.客运企业;3.转关运输企业;4.其他。', | ||
34 | + `CO_DEAL_QUA` varchar(8) DEFAULT NULL COMMENT '企业经营资格', | ||
35 | + `CO_ADDR` varchar(255) DEFAULT NULL COMMENT '企业地址', | ||
36 | + `CO_REP` varchar(64) DEFAULT NULL COMMENT '企业负责人', | ||
37 | + `CO_REP_PHON` varchar(64) DEFAULT NULL COMMENT '企业负责人联系电话', | ||
38 | + `INSIDE_ADDR` varchar(255) DEFAULT NULL COMMENT '境内联系地址', | ||
39 | + `INSIDE_PHONE` varchar(64) DEFAULT NULL COMMENT '境内联系电话', | ||
40 | + `CO_SERVICE_NAME` varchar(255) DEFAULT NULL COMMENT '运输工具服务企业名称', | ||
41 | + `CO_SERVICE_ADDP` varchar(255) DEFAULT NULL COMMENT '运输工具服务企业地址', | ||
42 | + `CO_SERVICE_PHONE` varchar(64) DEFAULT NULL COMMENT '运输工具服务企业联系电话', | ||
43 | + `APPR_GOODS_VE_COUNT` varchar(10) DEFAULT NULL COMMENT '批准货运车辆指标数', | ||
44 | + `APPR_PASSENGERS_VE_COUNT` varchar(10) DEFAULT NULL COMMENT '批准客运车辆指标数', | ||
45 | + `ASSURE_TYPE` varchar(1) DEFAULT NULL COMMENT '担保方式', | ||
46 | + `ASSURE_LETTER_NO` varchar(32) DEFAULT NULL COMMENT '担保函编号(唯一)', | ||
47 | + `ASSURE_MONEY` varchar(12) DEFAULT NULL COMMENT '担保函金额', | ||
48 | + `ASSURE_TERM` date DEFAULT NULL COMMENT '担保期限', | ||
49 | + `ASSURE_CO_ORG_CODE` varchar(255) DEFAULT NULL COMMENT '担保企业组织机构代码', | ||
50 | + `ASSURE_CO_NAME` varchar(32) DEFAULT NULL COMMENT '担保企业名称(人、单位)', | ||
51 | + `ASSURE_CO_REP` varchar(32) DEFAULT NULL COMMENT '担保企业法人代表', | ||
52 | + `ASSURE_CO_PHONE` varchar(32) DEFAULT NULL COMMENT '担保企业电话', | ||
53 | + `ASSURE_O_ADDR` varchar(255) DEFAULT NULL COMMENT '担保企业地址', | ||
54 | + `ASSURE_CONTACT` varchar(32) DEFAULT NULL COMMENT '担保企业联系人', | ||
55 | + `ASSURE_CO_CON_PHONE` varchar(32) DEFAULT NULL COMMENT '担保企业联系人电话', | ||
56 | + `MEMO` varchar(255) DEFAULT NULL COMMENT '备注', | ||
57 | + `CURR_APPLY_BUSSINE` varchar(255) DEFAULT NULL COMMENT '最新更新申请业务类型', | ||
58 | + `PROPOSER` varchar(32) DEFAULT NULL COMMENT '申请人', | ||
59 | + `PROPOSE_TIME` datetime DEFAULT NULL COMMENT '申请时间', | ||
60 | + `CO_REC_TYPE` varchar(1) DEFAULT NULL COMMENT '企业备案类别:1.经营性进出境公路运输企业;2.非经营性进出境公路交通工具负责人;3.进出境公路运输工具代理企业;4.经营性来往港澳公路运输企业;5.非经营性来往港澳公路交通工具负责人;6.来往港澳公路运输工具代理企业。', | ||
61 | + `OPERATION_TYPE` varchar(2) DEFAULT NULL COMMENT '数据操作类型', | ||
62 | + `APPRO_NO_PIC` varchar(255) DEFAULT NULL COMMENT '批文扫描图', | ||
63 | + `ABROAD_CO_INFO` varchar(32) DEFAULT NULL COMMENT '电子口岸表体顺序号(电子口岸与海关数据传输使用,企业无需填写)', | ||
64 | + `ABROAD_ID` varchar(32) DEFAULT NULL COMMENT '境外商号海关关键字', | ||
65 | + `ABROAD_REGISTER` varchar(255) DEFAULT NULL COMMENT '境外商号注册人', | ||
66 | + `ABROAD_ADDR` varchar(255) DEFAULT NULL COMMENT '境外商号地址', | ||
67 | + `ABROAD_PHONE` varchar(32) DEFAULT NULL COMMENT '境外商号电话', | ||
68 | + `OPERATION_TYPE_ABROAD` varchar(2) DEFAULT NULL COMMENT '数据操作类型', | ||
69 | + `ASSUME_CO_INFO` varchar(32) DEFAULT NULL COMMENT '电子口岸表体顺序号(电子口岸与海关数据传输使用,企业无需填写)', | ||
70 | + `ASSUME_ID` varchar(36) DEFAULT NULL COMMENT '内承单位海关关键字', | ||
71 | + `ASSUME_NAME` varchar(255) DEFAULT NULL COMMENT '内承单位名称', | ||
72 | + `ASSUME_REP` varchar(32) DEFAULT NULL COMMENT '内承单位法人代表', | ||
73 | + `ASSUME_REP_PHONE` varchar(32) DEFAULT NULL COMMENT '内承单位法人代表电话', | ||
74 | + `ASSUME_ADDR` varchar(255) DEFAULT NULL COMMENT '内承单位联系地址', | ||
75 | + `ASSUME_PHONE` varchar(32) DEFAULT NULL COMMENT '内承单位联系电话', | ||
76 | + `OPERATION_TYPE_ASSUME` varchar(2) DEFAULT NULL COMMENT '数据操作类型', | ||
77 | + `CO_BELONG_PART_ORG` varchar(32) DEFAULT NULL COMMENT '电子口岸表体顺序号(电子口岸与海关数据传输使用,企业无需填写)', | ||
78 | + `PART_ORG_ID` varchar(36) DEFAULT NULL COMMENT '企业所属分支机构海关关键字', | ||
79 | + `BELONG_ORG_NAME` varchar(32) DEFAULT NULL COMMENT '所属分支机构名称', | ||
80 | + `BELONG_ORG_ADDRESS` varchar(255) DEFAULT NULL COMMENT '所属分支机构地址', | ||
81 | + `BELONG_ORG_PRINCINAL` varchar(32) DEFAULT NULL COMMENT '所属分支机构负责人', | ||
82 | + `BELONG_ORG_PHONE` varchar(32) DEFAULT NULL COMMENT '所属分支机构联系电话', | ||
83 | + `OPERAYION_TYPE_BELONG` varchar(2) DEFAULT NULL COMMENT '数据操作类型', | ||
84 | + `RETURNMESSAGE` varchar(255) DEFAULT NULL COMMENT '回执内容', | ||
85 | + `ID` varchar(64) NOT NULL, | ||
86 | + `CREATE_BY` varchar(64) DEFAULT NULL, | ||
87 | + `CREATE_DATE` datetime DEFAULT NULL, | ||
88 | + `UPDATE_BY` varchar(64) DEFAULT NULL, | ||
89 | + `UPDATE_DATE` datetime DEFAULT NULL, | ||
90 | + PRIMARY KEY (`ID`) | ||
91 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
92 | + | ||
93 | +-- ---------------------------- | ||
94 | +-- Records of land_corporation_info | ||
95 | +-- ---------------------------- |
db/land/land_response_message.sql
0 → 100644
1 | +/* | ||
2 | +Navicat MySQL Data Transfer | ||
3 | + | ||
4 | +Source Server : Mysql5.17 | ||
5 | +Source Server Version : 50717 | ||
6 | +Source Host : localhost:3306 | ||
7 | +Source Database : station | ||
8 | + | ||
9 | +Target Server Type : MYSQL | ||
10 | +Target Server Version : 50717 | ||
11 | +File Encoding : 65001 | ||
12 | + | ||
13 | +Date: 2018-10-26 10:38:32 | ||
14 | +*/ | ||
15 | + | ||
16 | +SET FOREIGN_KEY_CHECKS=0; | ||
17 | + | ||
18 | +-- ---------------------------- | ||
19 | +-- Table structure for `land_response_message` | ||
20 | +-- ---------------------------- | ||
21 | +DROP TABLE IF EXISTS `land_response_message`; | ||
22 | +CREATE TABLE `land_response_message` ( | ||
23 | + `MESSAGE_ID` varchar(64) DEFAULT NULL COMMENT '回执ID', | ||
24 | + `RESPONSE_CODE` varchar(5) DEFAULT NULL COMMENT '回执代码', | ||
25 | + `RESPONSE_TEXT` varchar(512) DEFAULT NULL COMMENT '回执描述', | ||
26 | + `RESPONSE_TIME` datetime DEFAULT NULL | ||
27 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
28 | + | ||
29 | +-- ---------------------------- | ||
30 | +-- Records of land_response_message | ||
31 | +-- ---------------------------- |
db/land/land_road_dr_record.sql
0 → 100644
1 | +/* | ||
2 | +Navicat MySQL Data Transfer | ||
3 | + | ||
4 | +Source Server : Mysql5.17 | ||
5 | +Source Server Version : 50717 | ||
6 | +Source Host : localhost:3306 | ||
7 | +Source Database : station | ||
8 | + | ||
9 | +Target Server Type : MYSQL | ||
10 | +Target Server Version : 50717 | ||
11 | +File Encoding : 65001 | ||
12 | + | ||
13 | +Date: 2018-10-26 10:38:40 | ||
14 | +*/ | ||
15 | + | ||
16 | +SET FOREIGN_KEY_CHECKS=0; | ||
17 | + | ||
18 | +-- ---------------------------- | ||
19 | +-- Table structure for `land_road_dr_record` | ||
20 | +-- ---------------------------- | ||
21 | +DROP TABLE IF EXISTS `land_road_dr_record`; | ||
22 | +CREATE TABLE `land_road_dr_record` ( | ||
23 | + `EPORT_ID` varchar(32) DEFAULT NULL COMMENT '电子口岸报文ID(电子口岸与海关数据传输使用,企业无需填写)', | ||
24 | + `MAIN_PORT` varchar(4) DEFAULT NULL COMMENT '主管海关代码', | ||
25 | + `DR_NAME` varchar(20) DEFAULT NULL COMMENT '驾驶员姓名', | ||
26 | + `ID_CARD` varchar(18) DEFAULT NULL COMMENT '身份证号/护照号\r\n', | ||
27 | + `DR_NATIVE` varchar(20) DEFAULT NULL COMMENT '籍贯', | ||
28 | + `GENDER` varchar(1) DEFAULT NULL COMMENT '性别', | ||
29 | + `BIRTHDAY` date DEFAULT NULL COMMENT '出生日期', | ||
30 | + `LIVE_ADDR` varchar(255) DEFAULT NULL COMMENT '居住地址', | ||
31 | + `CURR_APPLY_BUSSINESS` varchar(255) DEFAULT NULL COMMENT '最新更新申请业务类型', | ||
32 | + `PROPOSER` varchar(32) DEFAULT NULL COMMENT '申请人', | ||
33 | + `PROPOSE_TIME` datetime DEFAULT NULL COMMENT '申请时间', | ||
34 | + `DR_CLASS_FLAG` varchar(1) DEFAULT NULL COMMENT '驾驶员分类:1.经营性进出境公路运输工具驾驶员;2.经营性来往港澳公路运输工具驾驶员;3.非经营性进出境交通工具驾驶员;4.非经营性来往港澳公路交通工具驾驶员。', | ||
35 | + `OPERATION_TYPE` varchar(32) DEFAULT NULL COMMENT '数据操作类型', | ||
36 | + `DR_PIC` varchar(255) DEFAULT NULL COMMENT '驾驶员照片', | ||
37 | + `MEMO` varchar(512) DEFAULT NULL COMMENT '备注', | ||
38 | + `ROAD_DR_QUA_INFO` varchar(32) DEFAULT NULL COMMENT '驾车资格申请电子口岸预录入号ID(电子口岸与海关数据传输使用,企业无需填写)', | ||
39 | + `QUA_ID` varchar(32) NOT NULL COMMENT '驾车资格编号', | ||
40 | + `DR_QUA` varchar(5) DEFAULT NULL COMMENT '驾车资格:1.经营性来往港澳公路运输工具驾驶资格;2.经营性进出境公路运输工具驾驶资格;3.境内公路承运海关监管货物运输工具驾驶资格;4.非经营性来往港澳公路交通工具驾驶资格;5.非经营性进出境公路交通工具驾驶资格。', | ||
41 | + `APPR_NO` varchar(32) DEFAULT NULL COMMENT '批文编号(N)', | ||
42 | + `OPERATION_TYPE_INFO` varchar(2) DEFAULT NULL COMMENT '数据操作类型', | ||
43 | + `NATIONALITY` varchar(2) DEFAULT NULL COMMENT '国籍', | ||
44 | + `APPR_PERIOD` date DEFAULT NULL, | ||
45 | + `CO_CODE` varchar(32) DEFAULT NULL COMMENT '代码', | ||
46 | + `RETURNMESSAGE` varchar(255) DEFAULT NULL COMMENT '回执内容', | ||
47 | + `ID` varchar(64) NOT NULL, | ||
48 | + `CREATE_BY` varchar(64) DEFAULT NULL, | ||
49 | + `CREATE_DATE` datetime DEFAULT NULL, | ||
50 | + `UPDATE_BY` varchar(64) DEFAULT NULL, | ||
51 | + `UPDATE_DATE` datetime DEFAULT NULL, | ||
52 | + PRIMARY KEY (`ID`) | ||
53 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
54 | + | ||
55 | +-- ---------------------------- | ||
56 | +-- Records of land_road_dr_record | ||
57 | +-- ---------------------------- |
db/land/land_road_trailer_record.sql
0 → 100644
1 | +/* | ||
2 | +Navicat MySQL Data Transfer | ||
3 | + | ||
4 | +Source Server : Mysql5.17 | ||
5 | +Source Server Version : 50717 | ||
6 | +Source Host : localhost:3306 | ||
7 | +Source Database : station | ||
8 | + | ||
9 | +Target Server Type : MYSQL | ||
10 | +Target Server Version : 50717 | ||
11 | +File Encoding : 65001 | ||
12 | + | ||
13 | +Date: 2018-10-26 10:38:50 | ||
14 | +*/ | ||
15 | + | ||
16 | +SET FOREIGN_KEY_CHECKS=0; | ||
17 | + | ||
18 | +-- ---------------------------- | ||
19 | +-- Table structure for `land_road_trailer_record` | ||
20 | +-- ---------------------------- | ||
21 | +DROP TABLE IF EXISTS `land_road_trailer_record`; | ||
22 | +CREATE TABLE `land_road_trailer_record` ( | ||
23 | + `EPORT_ID` varchar(32) DEFAULT NULL COMMENT '电子口岸报文ID(电子口岸与海关数据传输使用,企业无需填写)', | ||
24 | + `MAIN_PORT` varchar(4) DEFAULT NULL COMMENT '主管海关代码', | ||
25 | + `TRAILER_LICENSE_NO` varchar(32) DEFAULT NULL COMMENT '挂车牌号', | ||
26 | + `TRAILER_REG_PLACE` varchar(32) DEFAULT NULL COMMENT '挂车注册地', | ||
27 | + `FRAME_NO` varchar(32) DEFAULT NULL COMMENT '车架号码', | ||
28 | + `TRAILER_WT` varchar(10) DEFAULT NULL COMMENT '挂车重量', | ||
29 | + `TRAILER_COLOR` varchar(10) DEFAULT NULL COMMENT '挂车颜色', | ||
30 | + `VE_CON_PIC` varchar(255) DEFAULT NULL COMMENT '车厢照片', | ||
31 | + `PROPOSER` varchar(32) DEFAULT NULL COMMENT '申请人', | ||
32 | + `PROPOSE_TIME` datetime DEFAULT NULL COMMENT '申请时间', | ||
33 | + `TRAILER_CLASS_FLAG` varchar(1) DEFAULT NULL COMMENT '挂车备案类别:1是进出境挂车;2是来往港澳挂车', | ||
34 | + `OPERATION_TYPE` varchar(32) DEFAULT NULL COMMENT '数据操作类型', | ||
35 | + `TRAILER_LICENSE_NO_PIC` varchar(255) DEFAULT NULL COMMENT '挂车牌号图片', | ||
36 | + `RETURNMESSAGE` varchar(255) DEFAULT NULL COMMENT '回执内容', | ||
37 | + `ID` varchar(64) NOT NULL, | ||
38 | + `CREATE_BY` varchar(64) DEFAULT NULL, | ||
39 | + `CREATE_DATE` datetime DEFAULT NULL, | ||
40 | + `UPDATE_BY` varchar(64) DEFAULT NULL, | ||
41 | + `UPDATE_DATE` datetime DEFAULT NULL, | ||
42 | + PRIMARY KEY (`ID`) | ||
43 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
44 | + | ||
45 | +-- ---------------------------- | ||
46 | +-- Records of land_road_trailer_record | ||
47 | +-- ---------------------------- |
db/land/land_road_ve_record.sql
0 → 100644
1 | +/* | ||
2 | +Navicat MySQL Data Transfer | ||
3 | + | ||
4 | +Source Server : Mysql5.17 | ||
5 | +Source Server Version : 50717 | ||
6 | +Source Host : localhost:3306 | ||
7 | +Source Database : station | ||
8 | + | ||
9 | +Target Server Type : MYSQL | ||
10 | +Target Server Version : 50717 | ||
11 | +File Encoding : 65001 | ||
12 | + | ||
13 | +Date: 2018-10-26 10:39:01 | ||
14 | +*/ | ||
15 | + | ||
16 | +SET FOREIGN_KEY_CHECKS=0; | ||
17 | + | ||
18 | +-- ---------------------------- | ||
19 | +-- Table structure for `land_road_ve_record` | ||
20 | +-- ---------------------------- | ||
21 | +DROP TABLE IF EXISTS `land_road_ve_record`; | ||
22 | +CREATE TABLE `land_road_ve_record` ( | ||
23 | + `EPORT_ID` varchar(32) DEFAULT NULL COMMENT '电子口岸录入号ID(电子口岸与海关数据传输使用,企业无需填写)', | ||
24 | + `MAIN_PORT` varchar(4) DEFAULT NULL COMMENT '主管海关代码', | ||
25 | + `CO_CODE` varchar(20) DEFAULT NULL COMMENT '企业代码', | ||
26 | + `VE_TARGET_NO` varchar(20) DEFAULT NULL COMMENT '车牌指标编码', | ||
27 | + `DOMESTIC_LISENCE_NO` varchar(32) DEFAULT NULL COMMENT '国内车牌', | ||
28 | + `DOMESTIC_LICENSE_COLOR` varchar(4) DEFAULT NULL COMMENT '车牌颜色', | ||
29 | + `FOREIGN_LICENSE` varchar(32) DEFAULT NULL COMMENT '外籍车牌', | ||
30 | + `VE_REG_PLACE` varchar(4) DEFAULT NULL, | ||
31 | + `VE_PROPERTY` varchar(4) DEFAULT NULL COMMENT '使用性质', | ||
32 | + `VE_CONVEY_QUA` varchar(8) DEFAULT NULL COMMENT '车辆运输资格', | ||
33 | + `VE_CARD_NO` varchar(32) DEFAULT NULL COMMENT '车辆行驶证编号', | ||
34 | + `VE_OWNER_NAME` varchar(255) DEFAULT NULL COMMENT '车辆登记车主名称', | ||
35 | + `VE_OWNER_NO` varchar(32) DEFAULT NULL COMMENT '车辆登记车主证件号码', | ||
36 | + `OWNER_INSIDE_ADDR` varchar(255) DEFAULT NULL COMMENT '车主境内联系地址', | ||
37 | + `OWNER_INSIDE_TEL` varchar(32) DEFAULT NULL COMMENT '车主境内联系电话', | ||
38 | + `VE_TYPE` varchar(5) DEFAULT NULL COMMENT '车辆类型(型样)', | ||
39 | + `BRAND` varchar(20) DEFAULT NULL COMMENT '厂牌', | ||
40 | + `MODEL` varchar(9) DEFAULT NULL, | ||
41 | + `EXHAUST_CAPACITY` varchar(20) DEFAULT NULL COMMENT '排气量', | ||
42 | + `VE_FACTORY_DATE` date DEFAULT NULL COMMENT '车辆出厂日期(yyyyMMdd-0)', | ||
43 | + `VE_MOTOR_NO` varchar(30) DEFAULT NULL COMMENT '发动机号', | ||
44 | + `VE_FRAME_NO` varchar(30) DEFAULT NULL COMMENT '车架号(车辆识别代号)', | ||
45 | + `VE_TON` varchar(10) DEFAULT NULL COMMENT '核定载客/核定载质量:客车的核定载客单位仍为:人;货车的核定载客单位改为:千克。', | ||
46 | + `SELF_WT` varchar(10) DEFAULT NULL COMMENT '自重(整备质量)', | ||
47 | + `ALLOW_TOW_TOTAL_WT` varchar(10) DEFAULT NULL COMMENT '准牵引总质量', | ||
48 | + `CONTAINER_INNER_LENGTH` varchar(10) DEFAULT NULL COMMENT '内部长度', | ||
49 | + `CONTAINER_INNER_WIDTH` varchar(10) DEFAULT NULL COMMENT '货箱内部宽度(M)', | ||
50 | + `CONTAINER_INNER_HEIGHT` varchar(10) DEFAULT NULL COMMENT '货箱内部高度(M)', | ||
51 | + `OUTER_LENGTH` varchar(10) DEFAULT NULL COMMENT '外廓长度(M)', | ||
52 | + `OUTER_WIDTH` varchar(10) DEFAULT NULL COMMENT '外廓宽度(M)', | ||
53 | + `OUTER_HEIGHT` varchar(10) DEFAULT NULL COMMENT '外廓高度(M)', | ||
54 | + `VE_BODY_COLOR` varchar(10) DEFAULT NULL COMMENT '车身颜色', | ||
55 | + `OIL_BOX_CAPCITY` varchar(10) DEFAULT NULL COMMENT '油箱容量(升)', | ||
56 | + `ALLOW_VE_IE_PORT` varchar(255) DEFAULT NULL COMMENT '批准车辆进出口岸', | ||
57 | + `APPR_NO` varchar(5) DEFAULT NULL COMMENT '批文/许可证编号', | ||
58 | + `APPR_PERIOD` date DEFAULT NULL COMMENT '批文/许可证有效期(yyyyMMdd-0)', | ||
59 | + `CURR_APPLY_BUSSINESS` varchar(255) DEFAULT NULL COMMENT '最新更新申请业务类型', | ||
60 | + `FRONT_45C_PIC` varchar(255) DEFAULT NULL COMMENT '车前45度照片', | ||
61 | + `BACK_45C_PIC` varchar(255) DEFAULT NULL COMMENT '车后45度照片', | ||
62 | + `OIL_BOX_PIC` varchar(255) DEFAULT NULL COMMENT '油箱照片', | ||
63 | + `VE_BOTTOM_PIC` varchar(255) DEFAULT NULL COMMENT '车底照片', | ||
64 | + `MEMO` varchar(512) DEFAULT NULL COMMENT '备注', | ||
65 | + `PROPOSER` varchar(32) DEFAULT NULL COMMENT '申请人', | ||
66 | + `PROPOSE_TIME` datetime DEFAULT NULL COMMENT '申请时间 yyyyMMddHHmmss', | ||
67 | + `VE_CLASS_FLAG` varchar(2) DEFAULT NULL COMMENT '车辆分类。1是进出境公路运输工具;2是来往港澳公路运输工具;3是进出境公/私用公路交通工具;4是来往港澳公/私用公路交通工具', | ||
68 | + `OPERATION_TYPE` varchar(4) DEFAULT NULL COMMENT '数据操作类型', | ||
69 | + `TRAILER_LICENSE_NO` varchar(32) DEFAULT NULL COMMENT '挂车牌号', | ||
70 | + `TRAILER_FRAME_NO` varchar(32) DEFAULT NULL COMMENT '挂车车架号', | ||
71 | + `APPRO_NO_PIC` varchar(255) DEFAULT NULL COMMENT '批文扫描图', | ||
72 | + `VE_FRAME_NO_PIC` varchar(255) DEFAULT NULL COMMENT '车架号扫描图', | ||
73 | + `MOTOR_NO_PIC` varchar(255) DEFAULT NULL COMMENT '发动机拓印件', | ||
74 | + `FOREIGN_LICENSE_PIC` varchar(255) DEFAULT NULL COMMENT '外籍车牌照片', | ||
75 | + `NATIONALITY` varchar(4) DEFAULT NULL COMMENT '国籍', | ||
76 | + `RETURNMESSAGE` varchar(255) DEFAULT NULL COMMENT '回执内容', | ||
77 | + `ID` varchar(64) NOT NULL, | ||
78 | + `CREATE_BY` varchar(64) DEFAULT NULL, | ||
79 | + `CREATE_DATE` datetime DEFAULT NULL, | ||
80 | + `UPDATE_BY` varchar(64) DEFAULT NULL, | ||
81 | + `UPDATE_DATE` datetime DEFAULT NULL, | ||
82 | + PRIMARY KEY (`ID`) | ||
83 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
84 | + | ||
85 | +-- ---------------------------- | ||
86 | +-- Records of land_road_ve_record | ||
87 | +-- ---------------------------- | ||
88 | +INSERT INTO `land_road_ve_record` VALUES (null, '4604', 'DDFGGS566233S', 'DDSA', 'FG123', '黄', '', '郑州', '货运', '1256', 'SDF263511', '里斯', '126664562126666316X', 'ZZ', '12345678901', 'DD', 'SSS', 'HUOCHE', '5', '2018-10-09', 'SSD15533SSDRFD', 'SSKKOD3362511', '10000', '2360', '20000', '2.5', '3.5', '1.8', '2.8', '3.7', '2.0', '黑', '200', '4604', '15663', '2018-11-09', '', '', '', '', '', '测试', '张三', '2018-10-09 17:20:47', '1', '', 'SD2365', '123654djffeer', '', '', '', '', '中国', null, 'd91ff86130eb498aa49c0e4f12ee0b4d', '1', '2018-10-09 17:21:57', '1', '2018-10-11 11:41:57'); |
db/land/port_manifest_body.sql
0 → 100644
1 | +/* | ||
2 | +Navicat MySQL Data Transfer | ||
3 | + | ||
4 | +Source Server : Mysql5.17 | ||
5 | +Source Server Version : 50717 | ||
6 | +Source Host : localhost:3306 | ||
7 | +Source Database : station | ||
8 | + | ||
9 | +Target Server Type : MYSQL | ||
10 | +Target Server Version : 50717 | ||
11 | +File Encoding : 65001 | ||
12 | + | ||
13 | +Date: 2018-10-26 10:39:11 | ||
14 | +*/ | ||
15 | + | ||
16 | +SET FOREIGN_KEY_CHECKS=0; | ||
17 | + | ||
18 | +-- ---------------------------- | ||
19 | +-- Table structure for `port_manifest_body` | ||
20 | +-- ---------------------------- | ||
21 | +DROP TABLE IF EXISTS `port_manifest_body`; | ||
22 | +CREATE TABLE `port_manifest_body` ( | ||
23 | + `AUTOID` varchar(36) NOT NULL COMMENT '自动编号', | ||
24 | + `BASEID` varchar(36) NOT NULL COMMENT '核放单号', | ||
25 | + `GJNO` varchar(50) DEFAULT NULL COMMENT '页面录入单证号', | ||
26 | + `BILLNO` varchar(50) DEFAULT NULL COMMENT '提运单号', | ||
27 | + `STATUS` varchar(20) DEFAULT NULL COMMENT '单证状态(不用)', | ||
28 | + `LASTCAR` varchar(20) DEFAULT NULL COMMENT '末车标志', | ||
29 | + `DETNO` varchar(36) DEFAULT NULL COMMENT '扣留编号', | ||
30 | + `DETFLAG` varchar(50) DEFAULT NULL COMMENT '扣留标志', | ||
31 | + `NUM` decimal(19,4) DEFAULT NULL COMMENT '件数', | ||
32 | + `WT` decimal(19,4) DEFAULT NULL COMMENT '重量', | ||
33 | + `WARN` varchar(20) DEFAULT NULL COMMENT '超时报警', | ||
34 | + `TOTALNUM` decimal(19,4) DEFAULT NULL COMMENT 'GJNO总件数', | ||
35 | + `TOTALWT` decimal(19,4) DEFAULT NULL COMMENT 'GJNO总重量', | ||
36 | + `MEMO` varchar(200) DEFAULT NULL COMMENT '备注', | ||
37 | + `FLAG1` decimal(19,4) DEFAULT NULL, | ||
38 | + `FLAG2` decimal(19,4) DEFAULT NULL, | ||
39 | + `FLAG3` varchar(20) DEFAULT NULL, | ||
40 | + `FLAG4` varchar(20) DEFAULT NULL, | ||
41 | + `FLAG5` date DEFAULT NULL, | ||
42 | + `REMARK1` varchar(50) DEFAULT NULL COMMENT '预留字段', | ||
43 | + `REMARK2` varchar(50) DEFAULT NULL COMMENT '预留字段', | ||
44 | + `REMARK3` date DEFAULT NULL COMMENT '预留字段', | ||
45 | + `REMARK4` decimal(19,4) DEFAULT NULL, | ||
46 | + `REMARK` decimal(19,4) DEFAULT NULL COMMENT '预留字段', | ||
47 | + PRIMARY KEY (`AUTOID`) | ||
48 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
49 | + | ||
50 | +-- ---------------------------- | ||
51 | +-- Records of port_manifest_body | ||
52 | +-- ---------------------------- |
db/land/port_manifest_head.sql
0 → 100644
1 | +/* | ||
2 | +Navicat MySQL Data Transfer | ||
3 | + | ||
4 | +Source Server : Mysql5.17 | ||
5 | +Source Server Version : 50717 | ||
6 | +Source Host : localhost:3306 | ||
7 | +Source Database : station | ||
8 | + | ||
9 | +Target Server Type : MYSQL | ||
10 | +Target Server Version : 50717 | ||
11 | +File Encoding : 65001 | ||
12 | + | ||
13 | +Date: 2018-10-26 10:39:21 | ||
14 | +*/ | ||
15 | + | ||
16 | +SET FOREIGN_KEY_CHECKS=0; | ||
17 | + | ||
18 | +-- ---------------------------- | ||
19 | +-- Table structure for `port_manifest_head` | ||
20 | +-- ---------------------------- | ||
21 | +DROP TABLE IF EXISTS `port_manifest_head`; | ||
22 | +CREATE TABLE `port_manifest_head` ( | ||
23 | + `BASEID` varchar(36) NOT NULL COMMENT '核放单编号', | ||
24 | + `TRADECODE` varchar(10) DEFAULT NULL COMMENT '客户海关代码', | ||
25 | + `TRADENAME` varchar(255) DEFAULT NULL COMMENT '客户海关名称', | ||
26 | + `ICCODE` varchar(20) DEFAULT NULL COMMENT 'IC卡号', | ||
27 | + `CARNO` varchar(50) DEFAULT NULL COMMENT '车牌号', | ||
28 | + `BIZTYPE` varchar(10) DEFAULT NULL COMMENT '核放单类型(报关/清关/转关/特殊/扣留)', | ||
29 | + `BIZMODE` varchar(10) DEFAULT NULL COMMENT '特殊类型(业务模式)', | ||
30 | + `FROMPORT` varchar(20) DEFAULT NULL COMMENT '起始地', | ||
31 | + `TOPORT` varchar(20) DEFAULT NULL COMMENT '目的地', | ||
32 | + `IEMARK` varchar(50) DEFAULT NULL COMMENT '进出区标志', | ||
33 | + `IEFLAG` varchar(1) DEFAULT NULL COMMENT '进出口标志(I/E)', | ||
34 | + `TOTALWEIGHT` decimal(19,4) DEFAULT NULL COMMENT '总重', | ||
35 | + `TOTALAMOUNT` decimal(19,4) DEFAULT NULL COMMENT '总件数', | ||
36 | + `STATUS` varchar(20) DEFAULT NULL COMMENT '核放单状态', | ||
37 | + `BSTATUS` varchar(20) DEFAULT NULL COMMENT '核放单下单证状态', | ||
38 | + `MSTATUS` varchar(20) DEFAULT NULL COMMENT '核放单人工操作状态', | ||
39 | + `FITMARK` varchar(20) DEFAULT NULL COMMENT '核放单查验标志', | ||
40 | + `PORTSTATUS` varchar(20) DEFAULT NULL COMMENT '核放单过卡口状态', | ||
41 | + `BILLNO` varchar(36) DEFAULT NULL COMMENT '提运单号(预留暂不用)', | ||
42 | + `GOODSMARK` varchar(400) DEFAULT NULL COMMENT '货物品名', | ||
43 | + `FACTWEIGHT` decimal(19,4) DEFAULT NULL COMMENT '实际重量(地磅称重)', | ||
44 | + `GOODSWT` decimal(19,4) DEFAULT NULL COMMENT '货重(单证汇总)', | ||
45 | + `CARWT` decimal(19,4) DEFAULT NULL COMMENT '车自重', | ||
46 | + `GATEID` varchar(30) DEFAULT NULL COMMENT 'IC卡采集号', | ||
47 | + `DETTYPE` varchar(4) DEFAULT NULL COMMENT '扣留类型', | ||
48 | + `FCONTATYPE` varchar(20) DEFAULT NULL COMMENT '前箱型', | ||
49 | + `FCONTANO` varchar(50) DEFAULT NULL COMMENT '前箱号', | ||
50 | + `FCONTAWT` decimal(19,4) DEFAULT NULL COMMENT '前箱重', | ||
51 | + `FSEALNO` varchar(100) DEFAULT NULL COMMENT '前箱封号', | ||
52 | + `ACONTATYPE` varchar(20) DEFAULT NULL COMMENT '后箱型', | ||
53 | + `ACONTANO` varchar(50) DEFAULT NULL COMMENT '后箱号', | ||
54 | + `ACONTAWT` decimal(19,4) DEFAULT NULL COMMENT '后箱重', | ||
55 | + `ASEALNO` varchar(100) DEFAULT NULL COMMENT '后箱封号', | ||
56 | + `CARTYPE` varchar(100) DEFAULT NULL COMMENT '车架类型', | ||
57 | + `CARJNO` varchar(20) DEFAULT NULL COMMENT '车架编号', | ||
58 | + `CARJWT` decimal(19,4) DEFAULT NULL COMMENT '车架重', | ||
59 | + `PORTMAN` varchar(20) DEFAULT NULL COMMENT '卡口确认人', | ||
60 | + `PORTDATE` date DEFAULT NULL COMMENT '申报时间', | ||
61 | + `CUSTOMCODE` varchar(10) DEFAULT NULL COMMENT '海关编码', | ||
62 | + `FROMDATE` date DEFAULT NULL COMMENT '出卡口时间', | ||
63 | + `END_DATE` date DEFAULT NULL COMMENT '进卡口时间', | ||
64 | + `FROMWT` decimal(19,4) DEFAULT NULL COMMENT '出卡口磅重', | ||
65 | + `TOWT` decimal(19,4) DEFAULT NULL COMMENT '进卡口磅重', | ||
66 | + `CHECKRESULT` varchar(200) DEFAULT NULL COMMENT '预警比对文字描述', | ||
67 | + `CHECKTIME` varchar(20) DEFAULT NULL COMMENT '超时预警类型(1:超时)', | ||
68 | + `CHECKWT` varchar(20) DEFAULT NULL COMMENT '重量预警类型(WT_Error)', | ||
69 | + `IFLDFLAG` varchar(2) DEFAULT NULL COMMENT '是否区区联动(Y)同一个库', | ||
70 | + `TIMEOUTFLAG` varchar(1) DEFAULT NULL COMMENT '货物出起始地卡口未入目的地卡口,人工处理标志(Y表示已处理)', | ||
71 | + `TIMEOUTMSG` varchar(500) DEFAULT NULL COMMENT '货物超时人工审批意见', | ||
72 | + `TIMEOUTPERSON` varchar(20) DEFAULT NULL COMMENT '货物超时审批人', | ||
73 | + `LINKTYPE` varchar(50) DEFAULT NULL COMMENT '区港联动,综保区发送的核放单号', | ||
74 | + `LINKBASEID` varchar(20) DEFAULT NULL COMMENT '联动业务,两区拼货(货站)标记', | ||
75 | + `CONTYPE` varchar(50) DEFAULT NULL COMMENT '集装箱J/散货S', | ||
76 | + `LCLCONTA` varchar(50) DEFAULT NULL COMMENT '拆拼箱业务', | ||
77 | + `MEMO` varchar(100) DEFAULT NULL COMMENT '备注', | ||
78 | + `FLAG1` decimal(19,4) DEFAULT NULL COMMENT 'FLAG', | ||
79 | + `FLAG2` decimal(19,4) DEFAULT NULL COMMENT 'FLAG', | ||
80 | + `FLAG3` date DEFAULT NULL COMMENT 'FLAG', | ||
81 | + `FLAG4` varchar(20) DEFAULT NULL COMMENT 'FLAG', | ||
82 | + `FLAG5` varchar(100) DEFAULT NULL COMMENT 'FLAG', | ||
83 | + `REMARK1` varchar(20) DEFAULT NULL COMMENT '扩展字段', | ||
84 | + `REMARK2` varchar(20) DEFAULT NULL COMMENT '扩展字段', | ||
85 | + `REMARK3` date DEFAULT NULL COMMENT '扩展字段', | ||
86 | + `REMARK4` decimal(19,4) DEFAULT NULL COMMENT '扩展字段', | ||
87 | + `REMARK5` varchar(20) DEFAULT NULL COMMENT '扩展字段', | ||
88 | + PRIMARY KEY (`BASEID`) | ||
89 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
90 | + | ||
91 | +-- ---------------------------- | ||
92 | +-- Records of port_manifest_head | ||
93 | +-- ---------------------------- |
db/land/port_manifest_head_stat.sql
0 → 100644
1 | +/* | ||
2 | +Navicat MySQL Data Transfer | ||
3 | + | ||
4 | +Source Server : Mysql5.17 | ||
5 | +Source Server Version : 50717 | ||
6 | +Source Host : localhost:3306 | ||
7 | +Source Database : station | ||
8 | + | ||
9 | +Target Server Type : MYSQL | ||
10 | +Target Server Version : 50717 | ||
11 | +File Encoding : 65001 | ||
12 | + | ||
13 | +Date: 2018-10-26 10:39:32 | ||
14 | +*/ | ||
15 | + | ||
16 | +SET FOREIGN_KEY_CHECKS=0; | ||
17 | + | ||
18 | +-- ---------------------------- | ||
19 | +-- Table structure for `port_manifest_head_stat` | ||
20 | +-- ---------------------------- | ||
21 | +DROP TABLE IF EXISTS `port_manifest_head_stat`; | ||
22 | +CREATE TABLE `port_manifest_head_stat` ( | ||
23 | + `BASEID` varchar(36) NOT NULL COMMENT '核放单编号', | ||
24 | + `AREACODE` varchar(10) DEFAULT NULL COMMENT '区域代码', | ||
25 | + `CUSTOMSCODE` varchar(4) DEFAULT NULL COMMENT '关区代码', | ||
26 | + `TRADECODE` varchar(10) DEFAULT NULL COMMENT '客户海关代码', | ||
27 | + `TRADENAME` varchar(255) DEFAULT NULL COMMENT '客户海关名称', | ||
28 | + `INPUTCODE` varchar(10) DEFAULT NULL COMMENT '录入单位代码', | ||
29 | + `INPUTNAME` varchar(255) DEFAULT NULL COMMENT '客户海关名称', | ||
30 | + `DECLARECODE` varchar(10) DEFAULT NULL COMMENT '申报单位代码', | ||
31 | + `DECLARENAME` varchar(255) DEFAULT NULL COMMENT '申报单位名称', | ||
32 | + `STEPID` varchar(10) DEFAULT NULL COMMENT '当前环节', | ||
33 | + `PRESTEPID` varchar(10) DEFAULT NULL COMMENT '前置环节', | ||
34 | + `OPERTYPE` varchar(10) DEFAULT NULL COMMENT '操作类型(对应前置环节)', | ||
35 | + `OPERRESULT` varchar(10) DEFAULT NULL COMMENT '操作结果(对应前置环节)', | ||
36 | + `CREATEPERSON` varchar(20) DEFAULT NULL COMMENT '创建人', | ||
37 | + `CREATEDATE` date DEFAULT NULL COMMENT '创建时间', | ||
38 | + `DECLAREPERSON` varchar(20) DEFAULT NULL COMMENT '申报人', | ||
39 | + `DECLAREDATE` date DEFAULT NULL COMMENT '申报时间', | ||
40 | + `APPROVEPERSON` varchar(20) DEFAULT NULL COMMENT '审批人', | ||
41 | + `APPROVEDATE` date DEFAULT NULL COMMENT '审批时间', | ||
42 | + `OUTERCOMMENT` varchar(255) DEFAULT NULL COMMENT '外部审批意见', | ||
43 | + `INNERCOMMENT` varchar(255) DEFAULT NULL COMMENT '内部审批意见', | ||
44 | + `EXTENDFIELD1` varchar(20) DEFAULT NULL COMMENT '扩展字段', | ||
45 | + `EXTENDFIELD2` varchar(20) DEFAULT NULL COMMENT '扩展字段', | ||
46 | + `EXTENDFIELD3` varchar(20) DEFAULT NULL COMMENT '扩展字段', | ||
47 | + PRIMARY KEY (`BASEID`) | ||
48 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
49 | + | ||
50 | +-- ---------------------------- | ||
51 | +-- Records of port_manifest_head_stat | ||
52 | +-- ---------------------------- |
db/land/v_express_billno.sql
0 → 100644
1 | +/* | ||
2 | +Navicat MySQL Data Transfer | ||
3 | + | ||
4 | +Source Server : Mysql5.17 | ||
5 | +Source Server Version : 50717 | ||
6 | +Source Host : localhost:3306 | ||
7 | +Source Database : station | ||
8 | + | ||
9 | +Target Server Type : MYSQL | ||
10 | +Target Server Version : 50717 | ||
11 | +File Encoding : 65001 | ||
12 | + | ||
13 | +Date: 2018-10-26 10:37:30 | ||
14 | +*/ | ||
15 | + | ||
16 | +SET FOREIGN_KEY_CHECKS=0; | ||
17 | + | ||
18 | +-- ---------------------------- | ||
19 | +-- Table structure for `v_express_billno` | ||
20 | +-- ---------------------------- | ||
21 | +DROP TABLE IF EXISTS `v_express_billno`; | ||
22 | +CREATE TABLE `v_express_billno` ( | ||
23 | + `HAWB_GUID` varchar(36) NOT NULL COMMENT '唯一值', | ||
24 | + `MAWB_GUID` varchar(36) DEFAULT NULL COMMENT '主键', | ||
25 | + `MAWB_NO` varchar(50) DEFAULT NULL COMMENT '总运单(国际运单)', | ||
26 | + `HAWB_NO` varchar(50) DEFAULT NULL COMMENT '分运单', | ||
27 | + `BILL_NO` varchar(50) DEFAULT NULL COMMENT '总运单_分运单', | ||
28 | + `CAL_TYPE` varchar(20) DEFAULT NULL COMMENT '区港联动/订阅/快件', | ||
29 | + `HAWB_PACKNO` decimal(19,5) DEFAULT NULL COMMENT '区港联动/订阅/件数', | ||
30 | + `HAWB_GROSSWT` decimal(19,5) DEFAULT NULL COMMENT '区港联动/订阅/重量', | ||
31 | + `STATUS` varchar(20) DEFAULT NULL COMMENT '审批状态', | ||
32 | + `APPROVE_PERSON` varchar(20) DEFAULT NULL COMMENT '审批人', | ||
33 | + `APPROVE_DATE` datetime DEFAULT NULL COMMENT '审批时间', | ||
34 | + `CREATE_DATE` datetime DEFAULT NULL COMMENT '创建时间', | ||
35 | + `LAST_UPDATE_TIME` datetime DEFAULT NULL COMMENT '最后一次更新时间', | ||
36 | + `AREA_CODE` varchar(10) DEFAULT NULL COMMENT '运单所在的货站区域', | ||
37 | + `CUSTOM_CODE` varchar(10) DEFAULT NULL COMMENT '关区代码', | ||
38 | + PRIMARY KEY (`HAWB_GUID`) | ||
39 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
40 | + | ||
41 | +-- ---------------------------- | ||
42 | +-- Records of v_express_billno | ||
43 | +-- ---------------------------- |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.dao.dct; | ||
5 | + | ||
6 | +import com.thinkgem.jeesite.common.persistence.CrudDao; | ||
7 | +import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; | ||
8 | +import com.thinkgem.jeesite.modules.bw.entity.dct.Dtcmessagehead; | ||
9 | + | ||
10 | +/** | ||
11 | + * 实体DAO接口 | ||
12 | + * @author zhangfan | ||
13 | + * @version 2018-10-16 | ||
14 | + */ | ||
15 | +@MyBatisDao | ||
16 | +public interface DtcmessageheadDao extends CrudDao<Dtcmessagehead> { | ||
17 | + | ||
18 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.dao.dct; | ||
5 | + | ||
6 | +import com.thinkgem.jeesite.common.persistence.CrudDao; | ||
7 | +import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; | ||
8 | +import com.thinkgem.jeesite.modules.bw.entity.dct.Gatherinfo; | ||
9 | + | ||
10 | +/** | ||
11 | + * 实体DAO接口 | ||
12 | + * @author zhangfan | ||
13 | + * @version 2018-10-19 | ||
14 | + */ | ||
15 | +@MyBatisDao | ||
16 | +public interface GatherinfoDao extends CrudDao<Gatherinfo> { | ||
17 | + | ||
18 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.dao.dct; | ||
5 | + | ||
6 | +import com.thinkgem.jeesite.common.persistence.CrudDao; | ||
7 | +import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; | ||
8 | +import com.thinkgem.jeesite.modules.bw.entity.dct.PortManifestBody; | ||
9 | + | ||
10 | +/** | ||
11 | + * 报文解析DAO接口 | ||
12 | + * @author zhangfan | ||
13 | + * @version 2018-10-16 | ||
14 | + */ | ||
15 | +@MyBatisDao | ||
16 | +public interface PortManifestBodyDao extends CrudDao<PortManifestBody> { | ||
17 | + | ||
18 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.dao.dct; | ||
5 | + | ||
6 | +import com.thinkgem.jeesite.common.persistence.CrudDao; | ||
7 | +import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; | ||
8 | +import com.thinkgem.jeesite.modules.bw.entity.dct.PortManifestHead; | ||
9 | + | ||
10 | +/** | ||
11 | + * 实体DAO接口 | ||
12 | + * @author zhangfan | ||
13 | + * @version 2018-10-16 | ||
14 | + */ | ||
15 | +@MyBatisDao | ||
16 | +public interface PortManifestHeadDao extends CrudDao<PortManifestHead> { | ||
17 | + | ||
18 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.dao.dct; | ||
5 | + | ||
6 | +import com.thinkgem.jeesite.common.persistence.CrudDao; | ||
7 | +import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; | ||
8 | +import com.thinkgem.jeesite.modules.bw.entity.dct.PortManifestHeadStat; | ||
9 | + | ||
10 | +/** | ||
11 | + * 实体DAO接口 | ||
12 | + * @author zhangfan | ||
13 | + * @version 2018-10-16 | ||
14 | + */ | ||
15 | +@MyBatisDao | ||
16 | +public interface PortManifestHeadStatDao extends CrudDao<PortManifestHeadStat> { | ||
17 | + | ||
18 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.dao.dct; | ||
5 | + | ||
6 | +import com.thinkgem.jeesite.common.persistence.CrudDao; | ||
7 | +import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; | ||
8 | +import com.thinkgem.jeesite.modules.bw.entity.dct.VExpressBillno; | ||
9 | + | ||
10 | +/** | ||
11 | + * 实体DAO接口 | ||
12 | + * @author zhangfan | ||
13 | + * @version 2018-10-16 | ||
14 | + */ | ||
15 | +@MyBatisDao | ||
16 | +public interface VExpressBillnoDao extends CrudDao<VExpressBillno> { | ||
17 | + | ||
18 | +} |
1 | +package com.thinkgem.jeesite.modules.bw.entity.dct; | ||
2 | + | ||
3 | +import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.head; | ||
4 | + | ||
5 | +import java.io.File; | ||
6 | +import java.util.List; | ||
7 | + | ||
8 | +import com.thinkgem.jeesite.modules.bw.entity.gather.GatherInfo; | ||
9 | +import com.thoughtworks.xstream.XStream; | ||
10 | +import com.thoughtworks.xstream.io.xml.DomDriver; | ||
11 | + | ||
12 | +import com.thinkgem.jeesite.modules.bw.entity.dct.DTC_Message; | ||
13 | +import com.thinkgem.jeesite.modules.bw.entity.dct.XStreamDateConverter; | ||
14 | + | ||
15 | +public class DCTXStram2 { | ||
16 | + /*public static void main(String[] args) { | ||
17 | + DCTXStram2 t = new DCTXStram2(); | ||
18 | + t.readTicketsXml(); | ||
19 | + }*/ | ||
20 | + | ||
21 | + public DTC_Message readTicketsXml(){ | ||
22 | + XStream xstream = new XStream(new DomDriver ()); | ||
23 | + xstream.registerConverter(new XStreamDateConverter()); | ||
24 | + xstream.processAnnotations(DTC_Message.class); | ||
25 | + xstream.alias("DTC_Message", DTC_Message.class); | ||
26 | + File file = new File("D:\\DTCMessage.xml"); | ||
27 | + DTC_Message message =(DTC_Message)xstream.fromXML(file); | ||
28 | + return message; | ||
29 | + } | ||
30 | + | ||
31 | + public Dtcmessagehead toMessageHead(DTC_Message message) { | ||
32 | + Dtcmessagehead Dtcmessagehead = message.getMessageHead(); | ||
33 | + return Dtcmessagehead; | ||
34 | + } | ||
35 | + public List<PortManifestBody> toBody(DTC_Message message) { | ||
36 | + List<PortManifestBody>bodyList = message.getMessageBody().getDTCFlow().getPORT_MANIFEST_HEAD().getBody(); | ||
37 | + return bodyList; | ||
38 | + } | ||
39 | + | ||
40 | + public PortManifestHead toHead(DTC_Message message) { | ||
41 | + PortManifestHead head = message.getMessageBody().getDTCFlow().getPORT_MANIFEST_HEAD(); | ||
42 | + return head; | ||
43 | + } | ||
44 | + | ||
45 | + public PortManifestHeadStat toStat(DTC_Message message) { | ||
46 | + PortManifestHeadStat stat = message.getMessageBody().getDTCFlow().getPORT_MANIFEST_HEAD().getStat(); | ||
47 | + return stat; | ||
48 | + } | ||
49 | + | ||
50 | +} |
1 | +package com.thinkgem.jeesite.modules.bw.entity.dct; | ||
2 | + | ||
3 | +import java.io.File; | ||
4 | + | ||
5 | +import com.thoughtworks.xstream.XStream; | ||
6 | +import com.thoughtworks.xstream.io.xml.DomDriver; | ||
7 | + | ||
8 | +import com.thinkgem.jeesite.modules.bw.entity.dct.DTC_Message; | ||
9 | +import com.thinkgem.jeesite.modules.bw.entity.dct.XStreamDateConverter; | ||
10 | + | ||
11 | +public class DCTXStram3 { | ||
12 | +/* public static void main(String[] args) { | ||
13 | + DCTXStram3 t = new DCTXStram3(); | ||
14 | + t.readTicketsXml(); | ||
15 | + System.out.println(t.readTicketsXml()); | ||
16 | + }*/ | ||
17 | + public DTC_Message readTicketsXml(){ | ||
18 | + XStream xstream = new XStream(new DomDriver ()); | ||
19 | + xstream.processAnnotations(DTC_Message.class); | ||
20 | + xstream.registerConverter(new XStreamDateConverter()); | ||
21 | + xstream.alias("DTC_Message", DTC_Message.class); | ||
22 | + File file = new File("D:\\DTCMessage1.xml"); | ||
23 | + DTC_Message request =(DTC_Message)xstream.fromXML(file); | ||
24 | + return request; | ||
25 | + } | ||
26 | + public VExpressBillno toBill(DTC_Message message) { | ||
27 | + VExpressBillno billNo = message.getMessageBody().getDTCFlow().getBillBody(); | ||
28 | + return billNo; | ||
29 | + } | ||
30 | + public Dtcmessagehead toMessageHead(DTC_Message message) { | ||
31 | + Dtcmessagehead Dtcmessagehead = message.getMessageHead(); | ||
32 | + return Dtcmessagehead; | ||
33 | + } | ||
34 | + | ||
35 | +} |
1 | +package com.thinkgem.jeesite.modules.bw.entity.dct; | ||
2 | + | ||
3 | +import java.util.List; | ||
4 | + | ||
5 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
6 | + | ||
7 | +public class DTCFlow { | ||
8 | + | ||
9 | + private PortManifestHead PORT_MANIFEST_HEAD ; | ||
10 | + | ||
11 | + @XStreamAlias("BILLNO_CAL_BODY") | ||
12 | + private VExpressBillno billBody; | ||
13 | + | ||
14 | + public PortManifestHead getPORT_MANIFEST_HEAD() { | ||
15 | + return PORT_MANIFEST_HEAD; | ||
16 | + } | ||
17 | + | ||
18 | + public void setPORT_MANIFEST_HEAD(PortManifestHead PORT_MANIFEST_HEAD) { | ||
19 | + PORT_MANIFEST_HEAD = PORT_MANIFEST_HEAD; | ||
20 | + } | ||
21 | + | ||
22 | + public VExpressBillno getBillBody() { | ||
23 | + return billBody; | ||
24 | + } | ||
25 | + | ||
26 | + public void setBillBody(VExpressBillno billBody) { | ||
27 | + this.billBody = billBody; | ||
28 | + } | ||
29 | + | ||
30 | + | ||
31 | + | ||
32 | + | ||
33 | + | ||
34 | + | ||
35 | + | ||
36 | +} |
1 | +package com.thinkgem.jeesite.modules.bw.entity.dct; | ||
2 | + | ||
3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
4 | + | ||
5 | +public class DTC_Message { | ||
6 | + | ||
7 | + @XStreamAlias("MessageHead") | ||
8 | + private Dtcmessagehead MessageHead; | ||
9 | + | ||
10 | + private MessageBody MessageBody; | ||
11 | + | ||
12 | + public Dtcmessagehead getMessageHead() { | ||
13 | + return MessageHead; | ||
14 | + } | ||
15 | + | ||
16 | + public void setMessageHead(Dtcmessagehead messageHead) { | ||
17 | + MessageHead = messageHead; | ||
18 | + } | ||
19 | + | ||
20 | + public MessageBody getMessageBody() { | ||
21 | + return MessageBody; | ||
22 | + } | ||
23 | + | ||
24 | + public void setMessageBody(MessageBody messageBody) { | ||
25 | + MessageBody = messageBody; | ||
26 | + } | ||
27 | + | ||
28 | + | ||
29 | + | ||
30 | + | ||
31 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.entity.dct; | ||
5 | + | ||
6 | +import org.hibernate.validator.constraints.Length; | ||
7 | +import java.util.Date; | ||
8 | +import com.fasterxml.jackson.annotation.JsonFormat; | ||
9 | + | ||
10 | +import com.thinkgem.jeesite.common.persistence.DataEntity; | ||
11 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
12 | +import com.thoughtworks.xstream.annotations.XStreamConverter; | ||
13 | + | ||
14 | +import com.thinkgem.jeesite.modules.bw.entity.dct.XStreamDateConverter; | ||
15 | + | ||
16 | +/** | ||
17 | + * 实体Entity | ||
18 | + * @author zhangfan | ||
19 | + * @version 2018-10-16 | ||
20 | + */ | ||
21 | +public class Dtcmessagehead extends DataEntity<Dtcmessagehead> { | ||
22 | + | ||
23 | + private static final long serialVersionUID = 1L; | ||
24 | + | ||
25 | + @XStreamAlias("MessageType") | ||
26 | + private String messagetype; // 报文业务类型 | ||
27 | + @XStreamAlias("MessageId") | ||
28 | + private String messageid; // 数据交换的报文唯一标识编号 | ||
29 | + @XStreamAlias("MessageTime") | ||
30 | + @XStreamConverter(value=XStreamDateConverter.class) | ||
31 | + private Date messagetime; | ||
32 | + @XStreamAlias("SenderId")// 报文的生成或发送时间 | ||
33 | + private String senderid; // 报文发出点代码 | ||
34 | + @XStreamAlias("SenderAddress") | ||
35 | + private String senderaddress; // 报文发出点地址 | ||
36 | + @XStreamAlias("ReceiverId") | ||
37 | + private String receiverid; // 报文介绍点代码 | ||
38 | + @XStreamAlias("ReceiverAddress") | ||
39 | + private String receiveraddress; // 报文接收地址 | ||
40 | + @XStreamAlias("PlatFormNo") | ||
41 | + private String platformno; // 企业10位海关代码 | ||
42 | + @XStreamAlias("CustomCode") | ||
43 | + private String customcode; // 海关代码 | ||
44 | + @XStreamAlias("SeqNo") | ||
45 | + private String seqno; // 单证的主单号 | ||
46 | + @XStreamAlias("Note") | ||
47 | + private String note; // 备注 | ||
48 | + | ||
49 | + public Dtcmessagehead() { | ||
50 | + super(); | ||
51 | + } | ||
52 | + | ||
53 | + public Dtcmessagehead(String id){ | ||
54 | + super(id); | ||
55 | + } | ||
56 | + | ||
57 | + @Length(min=0, max=20, message="报文业务类型长度必须介于 0 和 20 之间") | ||
58 | + public String getMessagetype() { | ||
59 | + return messagetype; | ||
60 | + } | ||
61 | + | ||
62 | + public void setMessagetype(String messagetype) { | ||
63 | + this.messagetype = messagetype; | ||
64 | + } | ||
65 | + | ||
66 | + @Length(min=0, max=36, message="数据交换的报文唯一标识编号长度必须介于 0 和 36 之间") | ||
67 | + public String getMessageid() { | ||
68 | + return messageid; | ||
69 | + } | ||
70 | + | ||
71 | + public void setMessageid(String messageid) { | ||
72 | + this.messageid = messageid; | ||
73 | + } | ||
74 | + | ||
75 | + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||
76 | + public Date getMessagetime() { | ||
77 | + return messagetime; | ||
78 | + } | ||
79 | + | ||
80 | + public void setMessagetime(Date messagetime) { | ||
81 | + this.messagetime = messagetime; | ||
82 | + } | ||
83 | + | ||
84 | + @Length(min=0, max=12, message="报文发出点代码长度必须介于 0 和 12 之间") | ||
85 | + public String getSenderid() { | ||
86 | + return senderid; | ||
87 | + } | ||
88 | + | ||
89 | + public void setSenderid(String senderid) { | ||
90 | + this.senderid = senderid; | ||
91 | + } | ||
92 | + | ||
93 | + @Length(min=0, max=30, message="报文发出点地址长度必须介于 0 和 30 之间") | ||
94 | + public String getSenderaddress() { | ||
95 | + return senderaddress; | ||
96 | + } | ||
97 | + | ||
98 | + public void setSenderaddress(String senderaddress) { | ||
99 | + this.senderaddress = senderaddress; | ||
100 | + } | ||
101 | + | ||
102 | + @Length(min=0, max=12, message="报文介绍点代码长度必须介于 0 和 12 之间") | ||
103 | + public String getReceiverid() { | ||
104 | + return receiverid; | ||
105 | + } | ||
106 | + | ||
107 | + public void setReceiverid(String receiverid) { | ||
108 | + this.receiverid = receiverid; | ||
109 | + } | ||
110 | + | ||
111 | + @Length(min=0, max=30, message="报文接收地址长度必须介于 0 和 30 之间") | ||
112 | + public String getReceiveraddress() { | ||
113 | + return receiveraddress; | ||
114 | + } | ||
115 | + | ||
116 | + public void setReceiveraddress(String receiveraddress) { | ||
117 | + this.receiveraddress = receiveraddress; | ||
118 | + } | ||
119 | + | ||
120 | + @Length(min=0, max=10, message="企业10位海关代码长度必须介于 0 和 10 之间") | ||
121 | + public String getPlatformno() { | ||
122 | + return platformno; | ||
123 | + } | ||
124 | + | ||
125 | + public void setPlatformno(String platformno) { | ||
126 | + this.platformno = platformno; | ||
127 | + } | ||
128 | + | ||
129 | + @Length(min=0, max=5, message="海关代码长度必须介于 0 和 5 之间") | ||
130 | + public String getCustomcode() { | ||
131 | + return customcode; | ||
132 | + } | ||
133 | + | ||
134 | + public void setCustomcode(String customcode) { | ||
135 | + this.customcode = customcode; | ||
136 | + } | ||
137 | + | ||
138 | + @Length(min=0, max=64, message="单证的主单号长度必须介于 0 和 30 之间") | ||
139 | + public String getSeqno() { | ||
140 | + return seqno; | ||
141 | + } | ||
142 | + | ||
143 | + public void setSeqno(String seqno) { | ||
144 | + this.seqno = seqno; | ||
145 | + } | ||
146 | + | ||
147 | + @Length(min=0, max=20, message="备注长度必须介于 0 和 20 之间") | ||
148 | + public String getNote() { | ||
149 | + return note; | ||
150 | + } | ||
151 | + | ||
152 | + public void setNote(String note) { | ||
153 | + this.note = note; | ||
154 | + } | ||
155 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.entity.dct; | ||
5 | + | ||
6 | +import org.hibernate.validator.constraints.Length; | ||
7 | + | ||
8 | +import com.thinkgem.jeesite.common.persistence.DataEntity; | ||
9 | + | ||
10 | +/** | ||
11 | + * 实体Entity | ||
12 | + * @author zhangfan | ||
13 | + * @version 2018-10-19 | ||
14 | + */ | ||
15 | +public class Gatherinfo extends DataEntity<Gatherinfo> { | ||
16 | + | ||
17 | + private static final long serialVersionUID = 1L; | ||
18 | + private String areaid; // areaid | ||
19 | + private String chnlno; // chnlno | ||
20 | + private String ietype; // ietype | ||
21 | + private String seqno; // seqno | ||
22 | + private String dricno; // dricno | ||
23 | + private String icdrcustomsno; // icdrcustomsno | ||
24 | + private String iccocustomsno; // iccocustomsno | ||
25 | + private String icbillno; // icbillno | ||
26 | + private String icgrosswt; // icgrosswt | ||
27 | + private String icvecustomsno; // icvecustomsno | ||
28 | + private String icvename; // icvename | ||
29 | + private String iccontaid; // iccontaid | ||
30 | + private String icesealid; // icesealid | ||
31 | + private String icbusstype; // icbusstype | ||
32 | + private String icexdata; // icexdata | ||
33 | + private Double grosswt; // grosswt | ||
34 | + private String vename; // vename | ||
35 | + private String carecno; // carecno | ||
36 | + private String carecno2; // carecno2 | ||
37 | + private String vecustomsno; // vecustomsno | ||
38 | + private Double vewt; // vewt | ||
39 | + private String trecno; // trecno | ||
40 | + private String trname; // trname | ||
41 | + private Double trwt; // trwt | ||
42 | + private String contanum; // contanum | ||
43 | + private String contareco; // contareco | ||
44 | + private String contaidf; // contaidf | ||
45 | + private String contaidb; // contaidb | ||
46 | + private String contamodelf; // contamodelf | ||
47 | + private String contamodelb; // contamodelb | ||
48 | + private String barcode; // barcode | ||
49 | + private String esealid; // esealid | ||
50 | + private String esealicno; // esealicno | ||
51 | + | ||
52 | + public Gatherinfo() { | ||
53 | + super(); | ||
54 | + } | ||
55 | + | ||
56 | + public Gatherinfo(String id){ | ||
57 | + super(id); | ||
58 | + } | ||
59 | + | ||
60 | + @Length(min=0, max=10, message="areaid长度必须介于 0 和 10 之间") | ||
61 | + public String getAreaid() { | ||
62 | + return areaid; | ||
63 | + } | ||
64 | + | ||
65 | + public void setAreaid(String areaid) { | ||
66 | + this.areaid = areaid; | ||
67 | + } | ||
68 | + | ||
69 | + @Length(min=0, max=10, message="chnlno长度必须介于 0 和 10 之间") | ||
70 | + public String getChnlno() { | ||
71 | + return chnlno; | ||
72 | + } | ||
73 | + | ||
74 | + public void setChnlno(String chnlno) { | ||
75 | + this.chnlno = chnlno; | ||
76 | + } | ||
77 | + | ||
78 | + @Length(min=0, max=5, message="ietype长度必须介于 0 和 5 之间") | ||
79 | + public String getIetype() { | ||
80 | + return ietype; | ||
81 | + } | ||
82 | + | ||
83 | + public void setIetype(String ietype) { | ||
84 | + this.ietype = ietype; | ||
85 | + } | ||
86 | + | ||
87 | + @Length(min=0, max=20, message="seqno长度必须介于 0 和 20 之间") | ||
88 | + public String getSeqno() { | ||
89 | + return seqno; | ||
90 | + } | ||
91 | + | ||
92 | + public void setSeqno(String seqno) { | ||
93 | + this.seqno = seqno; | ||
94 | + } | ||
95 | + | ||
96 | + @Length(min=0, max=20, message="dricno长度必须介于 0 和 20 之间") | ||
97 | + public String getDricno() { | ||
98 | + return dricno; | ||
99 | + } | ||
100 | + | ||
101 | + public void setDricno(String dricno) { | ||
102 | + this.dricno = dricno; | ||
103 | + } | ||
104 | + | ||
105 | + @Length(min=0, max=20, message="icdrcustomsno长度必须介于 0 和 20 之间") | ||
106 | + public String getIcdrcustomsno() { | ||
107 | + return icdrcustomsno; | ||
108 | + } | ||
109 | + | ||
110 | + public void setIcdrcustomsno(String icdrcustomsno) { | ||
111 | + this.icdrcustomsno = icdrcustomsno; | ||
112 | + } | ||
113 | + | ||
114 | + @Length(min=0, max=20, message="iccocustomsno长度必须介于 0 和 20 之间") | ||
115 | + public String getIccocustomsno() { | ||
116 | + return iccocustomsno; | ||
117 | + } | ||
118 | + | ||
119 | + public void setIccocustomsno(String iccocustomsno) { | ||
120 | + this.iccocustomsno = iccocustomsno; | ||
121 | + } | ||
122 | + | ||
123 | + @Length(min=0, max=36, message="icbillno长度必须介于 0 和 36 之间") | ||
124 | + public String getIcbillno() { | ||
125 | + return icbillno; | ||
126 | + } | ||
127 | + | ||
128 | + public void setIcbillno(String icbillno) { | ||
129 | + this.icbillno = icbillno; | ||
130 | + } | ||
131 | + | ||
132 | + @Length(min=0, max=10, message="icgrosswt长度必须介于 0 和 10 之间") | ||
133 | + public String getIcgrosswt() { | ||
134 | + return icgrosswt; | ||
135 | + } | ||
136 | + | ||
137 | + public void setIcgrosswt(String icgrosswt) { | ||
138 | + this.icgrosswt = icgrosswt; | ||
139 | + } | ||
140 | + | ||
141 | + @Length(min=0, max=36, message="icvecustomsno长度必须介于 0 和 36 之间") | ||
142 | + public String getIcvecustomsno() { | ||
143 | + return icvecustomsno; | ||
144 | + } | ||
145 | + | ||
146 | + public void setIcvecustomsno(String icvecustomsno) { | ||
147 | + this.icvecustomsno = icvecustomsno; | ||
148 | + } | ||
149 | + | ||
150 | + @Length(min=0, max=20, message="icvename长度必须介于 0 和 20 之间") | ||
151 | + public String getIcvename() { | ||
152 | + return icvename; | ||
153 | + } | ||
154 | + | ||
155 | + public void setIcvename(String icvename) { | ||
156 | + this.icvename = icvename; | ||
157 | + } | ||
158 | + | ||
159 | + @Length(min=0, max=36, message="iccontaid长度必须介于 0 和 36 之间") | ||
160 | + public String getIccontaid() { | ||
161 | + return iccontaid; | ||
162 | + } | ||
163 | + | ||
164 | + public void setIccontaid(String iccontaid) { | ||
165 | + this.iccontaid = iccontaid; | ||
166 | + } | ||
167 | + | ||
168 | + @Length(min=0, max=36, message="icesealid长度必须介于 0 和 36 之间") | ||
169 | + public String getIcesealid() { | ||
170 | + return icesealid; | ||
171 | + } | ||
172 | + | ||
173 | + public void setIcesealid(String icesealid) { | ||
174 | + this.icesealid = icesealid; | ||
175 | + } | ||
176 | + | ||
177 | + @Length(min=0, max=10, message="icbusstype长度必须介于 0 和 10 之间") | ||
178 | + public String getIcbusstype() { | ||
179 | + return icbusstype; | ||
180 | + } | ||
181 | + | ||
182 | + public void setIcbusstype(String icbusstype) { | ||
183 | + this.icbusstype = icbusstype; | ||
184 | + } | ||
185 | + | ||
186 | + @Length(min=0, max=200, message="icexdata长度必须介于 0 和 200 之间") | ||
187 | + public String getIcexdata() { | ||
188 | + return icexdata; | ||
189 | + } | ||
190 | + | ||
191 | + public void setIcexdata(String icexdata) { | ||
192 | + this.icexdata = icexdata; | ||
193 | + } | ||
194 | + | ||
195 | + @Length(min=0, max=10, message="grosswt长度必须介于 0 和 10 之间") | ||
196 | + public Double getGrosswt() { | ||
197 | + return grosswt; | ||
198 | + } | ||
199 | + | ||
200 | + public void setGrosswt(Double double1) { | ||
201 | + this.grosswt = double1; | ||
202 | + } | ||
203 | + | ||
204 | + @Length(min=0, max=20, message="vename长度必须介于 0 和 20 之间") | ||
205 | + public String getVename() { | ||
206 | + return vename; | ||
207 | + } | ||
208 | + | ||
209 | + public void setVename(String vename) { | ||
210 | + this.vename = vename; | ||
211 | + } | ||
212 | + | ||
213 | + @Length(min=0, max=36, message="carecno长度必须介于 0 和 36 之间") | ||
214 | + public String getCarecno() { | ||
215 | + return carecno; | ||
216 | + } | ||
217 | + | ||
218 | + public void setCarecno(String carecno) { | ||
219 | + this.carecno = carecno; | ||
220 | + } | ||
221 | + | ||
222 | + @Length(min=0, max=36, message="carecno2长度必须介于 0 和 36 之间") | ||
223 | + public String getCarecno2() { | ||
224 | + return carecno2; | ||
225 | + } | ||
226 | + | ||
227 | + public void setCarecno2(String carecno2) { | ||
228 | + this.carecno2 = carecno2; | ||
229 | + } | ||
230 | + | ||
231 | + @Length(min=0, max=36, message="vecustomsno长度必须介于 0 和 36 之间") | ||
232 | + public String getVecustomsno() { | ||
233 | + return vecustomsno; | ||
234 | + } | ||
235 | + | ||
236 | + public void setVecustomsno(String vecustomsno) { | ||
237 | + this.vecustomsno = vecustomsno; | ||
238 | + } | ||
239 | + | ||
240 | + public Double getVewt() { | ||
241 | + return vewt; | ||
242 | + } | ||
243 | + | ||
244 | + public void setVewt(Double vewt) { | ||
245 | + this.vewt = vewt; | ||
246 | + } | ||
247 | + | ||
248 | + @Length(min=0, max=36, message="trecno长度必须介于 0 和 36 之间") | ||
249 | + public String getTrecno() { | ||
250 | + return trecno; | ||
251 | + } | ||
252 | + | ||
253 | + public void setTrecno(String trecno) { | ||
254 | + this.trecno = trecno; | ||
255 | + } | ||
256 | + | ||
257 | + @Length(min=0, max=36, message="trname长度必须介于 0 和 36 之间") | ||
258 | + public String getTrname() { | ||
259 | + return trname; | ||
260 | + } | ||
261 | + | ||
262 | + public void setTrname(String trname) { | ||
263 | + this.trname = trname; | ||
264 | + } | ||
265 | + | ||
266 | + public Double getTrwt() { | ||
267 | + return trwt; | ||
268 | + } | ||
269 | + | ||
270 | + public void setTrwt(Double trwt) { | ||
271 | + this.trwt = trwt; | ||
272 | + } | ||
273 | + | ||
274 | + @Length(min=0, max=10, message="contanum长度必须介于 0 和 10 之间") | ||
275 | + public String getContanum() { | ||
276 | + return contanum; | ||
277 | + } | ||
278 | + | ||
279 | + public void setContanum(String contanum) { | ||
280 | + this.contanum = contanum; | ||
281 | + } | ||
282 | + | ||
283 | + @Length(min=0, max=5, message="contareco长度必须介于 0 和 5 之间") | ||
284 | + public String getContareco() { | ||
285 | + return contareco; | ||
286 | + } | ||
287 | + | ||
288 | + public void setContareco(String contareco) { | ||
289 | + this.contareco = contareco; | ||
290 | + } | ||
291 | + | ||
292 | + @Length(min=0, max=20, message="contaidf长度必须介于 0 和 20 之间") | ||
293 | + public String getContaidf() { | ||
294 | + return contaidf; | ||
295 | + } | ||
296 | + | ||
297 | + public void setContaidf(String contaidf) { | ||
298 | + this.contaidf = contaidf; | ||
299 | + } | ||
300 | + | ||
301 | + @Length(min=0, max=20, message="contaidb长度必须介于 0 和 20 之间") | ||
302 | + public String getContaidb() { | ||
303 | + return contaidb; | ||
304 | + } | ||
305 | + | ||
306 | + public void setContaidb(String contaidb) { | ||
307 | + this.contaidb = contaidb; | ||
308 | + } | ||
309 | + | ||
310 | + @Length(min=0, max=20, message="contamodelf长度必须介于 0 和 20 之间") | ||
311 | + public String getContamodelf() { | ||
312 | + return contamodelf; | ||
313 | + } | ||
314 | + | ||
315 | + public void setContamodelf(String contamodelf) { | ||
316 | + this.contamodelf = contamodelf; | ||
317 | + } | ||
318 | + | ||
319 | + @Length(min=0, max=20, message="contamodelb长度必须介于 0 和 20 之间") | ||
320 | + public String getContamodelb() { | ||
321 | + return contamodelb; | ||
322 | + } | ||
323 | + | ||
324 | + public void setContamodelb(String contamodelb) { | ||
325 | + this.contamodelb = contamodelb; | ||
326 | + } | ||
327 | + | ||
328 | + @Length(min=0, max=36, message="barcode长度必须介于 0 和 36 之间") | ||
329 | + public String getBarcode() { | ||
330 | + return barcode; | ||
331 | + } | ||
332 | + | ||
333 | + public void setBarcode(String barcode) { | ||
334 | + this.barcode = barcode; | ||
335 | + } | ||
336 | + | ||
337 | + @Length(min=0, max=64, message="esealid长度必须介于 0 和 64 之间") | ||
338 | + public String getEsealid() { | ||
339 | + return esealid; | ||
340 | + } | ||
341 | + | ||
342 | + public void setEsealid(String esealid) { | ||
343 | + this.esealid = esealid; | ||
344 | + } | ||
345 | + | ||
346 | + @Length(min=0, max=36, message="esealicno长度必须介于 0 和 36 之间") | ||
347 | + public String getEsealicno() { | ||
348 | + return esealicno; | ||
349 | + } | ||
350 | + | ||
351 | + public void setEsealicno(String esealicno) { | ||
352 | + this.esealicno = esealicno; | ||
353 | + } | ||
354 | + | ||
355 | + @Override | ||
356 | + public String toString() { | ||
357 | + return "Gatherinfo [areaid=" + areaid + ", chnlno=" + chnlno + ", ietype=" + ietype + ", seqno=" + seqno | ||
358 | + + ", dricno=" + dricno + ", icdrcustomsno=" + icdrcustomsno + ", iccocustomsno=" + iccocustomsno | ||
359 | + + ", icbillno=" + icbillno + ", icgrosswt=" + icgrosswt + ", icvecustomsno=" + icvecustomsno | ||
360 | + + ", icvename=" + icvename + ", iccontaid=" + iccontaid + ", icesealid=" + icesealid + ", icbusstype=" | ||
361 | + + icbusstype + ", icexdata=" + icexdata + ", grosswt=" + grosswt + ", vename=" + vename + ", carecno=" | ||
362 | + + carecno + ", carecno2=" + carecno2 + ", vecustomsno=" + vecustomsno + ", vewt=" + vewt + ", trecno=" | ||
363 | + + trecno + ", trname=" + trname + ", trwt=" + trwt + ", contanum=" + contanum + ", contareco=" | ||
364 | + + contareco + ", contaidf=" + contaidf + ", contaidb=" + contaidb + ", contamodelf=" + contamodelf | ||
365 | + + ", contamodelb=" + contamodelb + ", barcode=" + barcode + ", esealid=" + esealid + ", esealicno=" | ||
366 | + + esealicno + "]"; | ||
367 | + } | ||
368 | + | ||
369 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.entity.dct; | ||
5 | + | ||
6 | +import org.hibernate.validator.constraints.Length; | ||
7 | +import java.util.Date; | ||
8 | +import com.fasterxml.jackson.annotation.JsonFormat; | ||
9 | + | ||
10 | +import com.thinkgem.jeesite.common.persistence.DataEntity; | ||
11 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
12 | +import com.thoughtworks.xstream.annotations.XStreamConverter; | ||
13 | + | ||
14 | +import com.thinkgem.jeesite.modules.bw.entity.dct.XStreamDateConverter; | ||
15 | + | ||
16 | +/** | ||
17 | + * 报文解析Entity | ||
18 | + * @author zhangfan | ||
19 | + * @version 2018-10-16 | ||
20 | + */ | ||
21 | +public class PortManifestBody extends DataEntity<PortManifestBody> { | ||
22 | + | ||
23 | + private static final long serialVersionUID = 1L; | ||
24 | + @XStreamAlias("AUTO_ID") | ||
25 | + private String autoid; // 自动编号 | ||
26 | + @XStreamAlias("BASE_ID") | ||
27 | + private String baseid; // 核放单号 | ||
28 | + @XStreamAlias("GJ_NO") | ||
29 | + private String gjno; // 页面录入单证号 | ||
30 | + @XStreamAlias("BILL_NO") | ||
31 | + private String billno; // 提运单号 | ||
32 | + @XStreamAlias("STATUS") | ||
33 | + private String status; // 单证状态(不用) | ||
34 | + @XStreamAlias("LAST_CAR") | ||
35 | + private String lastcar; // 末车标志 | ||
36 | + @XStreamAlias("DET_NO") | ||
37 | + private String detno; // 扣留编号 | ||
38 | + @XStreamAlias("DET_FLAG") | ||
39 | + private String detflag; // 扣留标志 | ||
40 | + @XStreamAlias("NUM") | ||
41 | + private Double num; // 件数 | ||
42 | + @XStreamAlias("WT") | ||
43 | + private Double wt; // 重量 | ||
44 | + @XStreamAlias("WARN") | ||
45 | + private String warn; // 超时报警 | ||
46 | + @XStreamAlias("TOTAL_NUM") | ||
47 | + private Double totalnum; // GJNO总件数 | ||
48 | + @XStreamAlias("TOTAL_WT") | ||
49 | + private Double totalwt; // GJNO总重量 | ||
50 | + @XStreamAlias("MEMO") | ||
51 | + private String memo; // 备注 | ||
52 | + @XStreamAlias("FLAG1") | ||
53 | + private Double flag1; // flag1 | ||
54 | + @XStreamAlias("FLAG2") | ||
55 | + private Double flag2; // flag2 | ||
56 | + @XStreamAlias("FLAG3") | ||
57 | + private String flag3; // flag3 | ||
58 | + @XStreamAlias("FLAG4") | ||
59 | + private String flag4; // flag4 | ||
60 | + @XStreamAlias("FLAG5") | ||
61 | + @XStreamConverter(value=XStreamDateConverter.class) | ||
62 | + private Date flag5; // flag5 | ||
63 | + @XStreamAlias("REMARK1") | ||
64 | + private String remark1; // 预留字段 | ||
65 | + @XStreamAlias("REMARK2") | ||
66 | + private String remark2; // 预留字段 | ||
67 | + @XStreamAlias("REMARK3") | ||
68 | + @XStreamConverter(value=XStreamDateConverter.class) | ||
69 | + private Date remark3; // 预留字段 | ||
70 | + @XStreamAlias("REMARK4") | ||
71 | + private Double remark4; // remark4 | ||
72 | + @XStreamAlias("REMARK5") | ||
73 | + private Double remark; // 预留字段 | ||
74 | + | ||
75 | + public PortManifestBody() { | ||
76 | + super(); | ||
77 | + } | ||
78 | + | ||
79 | + public PortManifestBody(String id){ | ||
80 | + super(id); | ||
81 | + } | ||
82 | + | ||
83 | + @Length(min=1, max=36, message="自动编号长度必须介于 1 和 36 之间") | ||
84 | + public String getAutoid() { | ||
85 | + return autoid; | ||
86 | + } | ||
87 | + | ||
88 | + public void setAutoid(String autoid) { | ||
89 | + this.autoid = autoid; | ||
90 | + } | ||
91 | + | ||
92 | + @Length(min=1, max=36, message="核放单号长度必须介于 1 和 36 之间") | ||
93 | + public String getBaseid() { | ||
94 | + return baseid; | ||
95 | + } | ||
96 | + | ||
97 | + public void setBaseid(String baseid) { | ||
98 | + this.baseid = baseid; | ||
99 | + } | ||
100 | + | ||
101 | + @Length(min=0, max=50, message="页面录入单证号长度必须介于 0 和 50 之间") | ||
102 | + public String getGjno() { | ||
103 | + return gjno; | ||
104 | + } | ||
105 | + | ||
106 | + public void setGjno(String gjno) { | ||
107 | + this.gjno = gjno; | ||
108 | + } | ||
109 | + | ||
110 | + @Length(min=0, max=50, message="提运单号长度必须介于 0 和 50 之间") | ||
111 | + public String getBillno() { | ||
112 | + return billno; | ||
113 | + } | ||
114 | + | ||
115 | + public void setBillno(String billno) { | ||
116 | + this.billno = billno; | ||
117 | + } | ||
118 | + | ||
119 | + @Length(min=0, max=20, message="单证状态(不用)长度必须介于 0 和 20 之间") | ||
120 | + public String getStatus() { | ||
121 | + return status; | ||
122 | + } | ||
123 | + | ||
124 | + public void setStatus(String status) { | ||
125 | + this.status = status; | ||
126 | + } | ||
127 | + | ||
128 | + @Length(min=0, max=20, message="末车标志长度必须介于 0 和 20 之间") | ||
129 | + public String getLastcar() { | ||
130 | + return lastcar; | ||
131 | + } | ||
132 | + | ||
133 | + public void setLastcar(String lastcar) { | ||
134 | + this.lastcar = lastcar; | ||
135 | + } | ||
136 | + | ||
137 | + @Length(min=0, max=36, message="扣留编号长度必须介于 0 和 36 之间") | ||
138 | + public String getDetno() { | ||
139 | + return detno; | ||
140 | + } | ||
141 | + | ||
142 | + public void setDetno(String detno) { | ||
143 | + this.detno = detno; | ||
144 | + } | ||
145 | + | ||
146 | + @Length(min=0, max=50, message="扣留标志长度必须介于 0 和 50 之间") | ||
147 | + public String getDetflag() { | ||
148 | + return detflag; | ||
149 | + } | ||
150 | + | ||
151 | + public void setDetflag(String detflag) { | ||
152 | + this.detflag = detflag; | ||
153 | + } | ||
154 | + | ||
155 | + public Double getNum() { | ||
156 | + return num; | ||
157 | + } | ||
158 | + | ||
159 | + public void setNum(Double num) { | ||
160 | + this.num = num; | ||
161 | + } | ||
162 | + | ||
163 | + public Double getWt() { | ||
164 | + return wt; | ||
165 | + } | ||
166 | + | ||
167 | + public void setWt(Double wt) { | ||
168 | + this.wt = wt; | ||
169 | + } | ||
170 | + | ||
171 | + @Length(min=0, max=20, message="超时报警长度必须介于 0 和 20 之间") | ||
172 | + public String getWarn() { | ||
173 | + return warn; | ||
174 | + } | ||
175 | + | ||
176 | + public void setWarn(String warn) { | ||
177 | + this.warn = warn; | ||
178 | + } | ||
179 | + | ||
180 | + public Double getTotalnum() { | ||
181 | + return totalnum; | ||
182 | + } | ||
183 | + | ||
184 | + public void setTotalnum(Double totalnum) { | ||
185 | + this.totalnum = totalnum; | ||
186 | + } | ||
187 | + | ||
188 | + public Double getTotalwt() { | ||
189 | + return totalwt; | ||
190 | + } | ||
191 | + | ||
192 | + public void setTotalwt(Double totalwt) { | ||
193 | + this.totalwt = totalwt; | ||
194 | + } | ||
195 | + | ||
196 | + @Length(min=0, max=200, message="备注长度必须介于 0 和 200 之间") | ||
197 | + public String getMemo() { | ||
198 | + return memo; | ||
199 | + } | ||
200 | + | ||
201 | + public void setMemo(String memo) { | ||
202 | + this.memo = memo; | ||
203 | + } | ||
204 | + | ||
205 | + public Double getFlag1() { | ||
206 | + return flag1; | ||
207 | + } | ||
208 | + | ||
209 | + public void setFlag1(Double flag1) { | ||
210 | + this.flag1 = flag1; | ||
211 | + } | ||
212 | + | ||
213 | + public Double getFlag2() { | ||
214 | + return flag2; | ||
215 | + } | ||
216 | + | ||
217 | + public void setFlag2(Double flag2) { | ||
218 | + this.flag2 = flag2; | ||
219 | + } | ||
220 | + | ||
221 | + @Length(min=0, max=20, message="flag3长度必须介于 0 和 20 之间") | ||
222 | + public String getFlag3() { | ||
223 | + return flag3; | ||
224 | + } | ||
225 | + | ||
226 | + public void setFlag3(String flag3) { | ||
227 | + this.flag3 = flag3; | ||
228 | + } | ||
229 | + | ||
230 | + @Length(min=0, max=20, message="flag4长度必须介于 0 和 20 之间") | ||
231 | + public String getFlag4() { | ||
232 | + return flag4; | ||
233 | + } | ||
234 | + | ||
235 | + public void setFlag4(String flag4) { | ||
236 | + this.flag4 = flag4; | ||
237 | + } | ||
238 | + | ||
239 | + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||
240 | + public Date getFlag5() { | ||
241 | + return flag5; | ||
242 | + } | ||
243 | + | ||
244 | + public void setFlag5(Date flag5) { | ||
245 | + this.flag5 = flag5; | ||
246 | + } | ||
247 | + | ||
248 | + @Length(min=0, max=50, message="预留字段长度必须介于 0 和 50 之间") | ||
249 | + public String getRemark1() { | ||
250 | + return remark1; | ||
251 | + } | ||
252 | + | ||
253 | + public void setRemark1(String remark1) { | ||
254 | + this.remark1 = remark1; | ||
255 | + } | ||
256 | + | ||
257 | + @Length(min=0, max=50, message="预留字段长度必须介于 0 和 50 之间") | ||
258 | + public String getRemark2() { | ||
259 | + return remark2; | ||
260 | + } | ||
261 | + | ||
262 | + public void setRemark2(String remark2) { | ||
263 | + this.remark2 = remark2; | ||
264 | + } | ||
265 | + | ||
266 | + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||
267 | + public Date getRemark3() { | ||
268 | + return remark3; | ||
269 | + } | ||
270 | + | ||
271 | + public void setRemark3(Date remark3) { | ||
272 | + this.remark3 = remark3; | ||
273 | + } | ||
274 | + | ||
275 | + public Double getRemark() { | ||
276 | + return remark; | ||
277 | + } | ||
278 | + | ||
279 | + public void setRemark5(Double remark) { | ||
280 | + this.remark = remark; | ||
281 | + } | ||
282 | + | ||
283 | + | ||
284 | + | ||
285 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.entity.dct; | ||
5 | + | ||
6 | +import org.hibernate.validator.constraints.Length; | ||
7 | +import java.util.Date; | ||
8 | +import java.util.List; | ||
9 | + | ||
10 | +import com.fasterxml.jackson.annotation.JsonFormat; | ||
11 | +import com.thinkgem.jeesite.common.persistence.DataEntity; | ||
12 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
13 | +import com.thoughtworks.xstream.annotations.XStreamConverter; | ||
14 | +import com.thoughtworks.xstream.annotations.XStreamImplicit; | ||
15 | + | ||
16 | +/** | ||
17 | + * 实体Entity | ||
18 | + * @author zhangfan | ||
19 | + * @version 2018-10-16 | ||
20 | + */ | ||
21 | +public class PortManifestHead extends DataEntity<PortManifestHead> { | ||
22 | + | ||
23 | + private static final long serialVersionUID = 1L; | ||
24 | + @XStreamAlias("BASE_ID") | ||
25 | + private String baseid; // 核放单编号 | ||
26 | + @XStreamAlias("TRADE_CODE") | ||
27 | + private String tradecode; // 客户海关代码 | ||
28 | + @XStreamAlias("TRADE_NAME") | ||
29 | + private String tradename; // 客户海关名称 | ||
30 | + @XStreamAlias("ICCODE") | ||
31 | + private String iccode; // IC卡号 | ||
32 | + @XStreamAlias("CAR_NO") | ||
33 | + private String carno; // 车牌号 | ||
34 | + @XStreamAlias("BIZ_TYPE") | ||
35 | + private String biztype; // 核放单类型(报关/清关/转关/特殊/扣留) | ||
36 | + @XStreamAlias("BIZ_MODE") | ||
37 | + private String bizmode; // 特殊类型(业务模式) | ||
38 | + @XStreamAlias("FROM_PORT") | ||
39 | + private String fromport; // 起始地 | ||
40 | + @XStreamAlias("TO_PORT") | ||
41 | + private String toport; // 目的地 | ||
42 | + @XStreamAlias("IE_MARK") | ||
43 | + private String iemark; // 进出区标志 | ||
44 | + @XStreamAlias("I_E_FLAG") | ||
45 | + private String ieflag; // 进出口标志(I/E) | ||
46 | + @XStreamAlias("TOTAL_WEIGHT") | ||
47 | + private Double totalweight; // 总重 | ||
48 | + @XStreamAlias("TOTAL_AMOUNT") | ||
49 | + private Double totalamount; // 总件数 | ||
50 | + @XStreamAlias("STATUS") | ||
51 | + private String status; // 核放单状态 | ||
52 | + @XStreamAlias("B_STATUS") | ||
53 | + private String bstatus; // 核放单下单证状态 | ||
54 | + @XStreamAlias("M_STATUS") | ||
55 | + private String mstatus; // 核放单人工操作状态 | ||
56 | + @XStreamAlias("FIT_MARK") | ||
57 | + private String fitmark; // 核放单查验标志 | ||
58 | + @XStreamAlias("PORT_STATUS") | ||
59 | + private String portstatus; // 核放单过卡口状态 | ||
60 | + @XStreamAlias("BILLNO") | ||
61 | + private String billno; // 提运单号(预留暂不用) | ||
62 | + @XStreamAlias("GOODS_MARK") | ||
63 | + private String goodsmark; // 货物品名 | ||
64 | + @XStreamAlias("FACT_WEIGHT") | ||
65 | + private String factweight; // 实际重量(地磅称重) | ||
66 | + @XStreamAlias("GOODS_WT") | ||
67 | + private Double goodswt; // 货重(单证汇总) | ||
68 | + @XStreamAlias("CAR_WT") | ||
69 | + private Double carwt; // 车自重 | ||
70 | + @XStreamAlias("GATE_ID") | ||
71 | + private String gateid; // IC卡采集号 | ||
72 | + @XStreamAlias("DET_TYPE") | ||
73 | + private String dettype; // 扣留类型 | ||
74 | + @XStreamAlias("F_CONTA_TYPE") | ||
75 | + private String fcontatype; // 前箱型 | ||
76 | + @XStreamAlias("F_CONTA_NO") | ||
77 | + private String fcontano; // 前箱号 | ||
78 | + @XStreamAlias("F_CONTA_WT") | ||
79 | + private String fcontawt; // 前箱重 | ||
80 | + @XStreamAlias("F_SEAL_NO") | ||
81 | + private String fsealno; // 前箱封号 | ||
82 | + @XStreamAlias("A_CONTA_TYPE") | ||
83 | + private String acontatype; // 后箱型 | ||
84 | + @XStreamAlias("A_CONTA_NO") | ||
85 | + private String acontano; // 后箱号 | ||
86 | + @XStreamAlias("A_CONTA_WT") | ||
87 | + private Double acontawt; // 后箱重 | ||
88 | + @XStreamAlias("A_SEAL_NO") | ||
89 | + private String asealno; // 后箱封号 | ||
90 | + @XStreamAlias("CAR_TYPE") | ||
91 | + private String cartype; // 车架类型 | ||
92 | + @XStreamAlias("CAR_J_NO") | ||
93 | + private String carjno; // 车架编号 | ||
94 | + @XStreamAlias("CAR_J_WT") | ||
95 | + private Double carjwt; // 车架重 | ||
96 | + @XStreamAlias("PORT_MAN") | ||
97 | + private String portman; // 卡口确认人 | ||
98 | + @XStreamAlias("PORT_DATE") | ||
99 | + @XStreamConverter(value=XStreamDateConverter.class) | ||
100 | + private Date portdate; // 过最终卡口时间 | ||
101 | + @XStreamAlias("CUSTOM_CODE") | ||
102 | + private String customcode; // 海关编码 | ||
103 | + @XStreamAlias("FROM_DATE") | ||
104 | + @XStreamConverter(value=XStreamDateConverter.class) | ||
105 | + private Date fromdate; // 出卡口时间 | ||
106 | + @XStreamAlias("END_DATE") | ||
107 | + @XStreamConverter(value=XStreamDateConverter.class) | ||
108 | + private Date endDate; // 进卡口时间 | ||
109 | + @XStreamAlias("FROM_WT") | ||
110 | + private Double fromwt; // 出卡口磅重 | ||
111 | + @XStreamAlias("TO_WT") | ||
112 | + private Double towt; // 进卡口磅重 | ||
113 | + @XStreamAlias("CHECK_RESULT") | ||
114 | + private String checkresult; // 预警比对文字描述 | ||
115 | + @XStreamAlias("CHECK_TIME") | ||
116 | + private String checktime; // 超时预警类型(1:超时) | ||
117 | + @XStreamAlias("CHECK_WT") | ||
118 | + private String checkwt; // 重量预警类型(WT_Error) | ||
119 | + @XStreamAlias("IF_LDFLAG") | ||
120 | + private String ifldflag; // 是否区区联动(Y)同一个库 | ||
121 | + @XStreamAlias("TIMEOUT_FLAG") | ||
122 | + private String timeoutflag; // 货物出起始地卡口未入目的地卡口,人工处理标志(Y表示已处理) | ||
123 | + @XStreamAlias("TIMEOUT_MSG") | ||
124 | + private String timeoutmsg; // 货物超时人工审批意见 | ||
125 | + @XStreamAlias("TIMEOUT_PERSON") | ||
126 | + private String timeoutperson; // 货物超时审批人 | ||
127 | + @XStreamAlias("LINK_TYPE") | ||
128 | + private String linktype; // 区港联动,综保区发送的核放单号 | ||
129 | + @XStreamAlias("LINK_BASE_ID") | ||
130 | + private String linkbaseid; // 联动业务,两区拼货(货站)标记 | ||
131 | + @XStreamAlias("CON_TYPE") | ||
132 | + private String contype; // 集装箱J/散货S | ||
133 | + @XStreamAlias("LCL_CONTA") | ||
134 | + private String lclconta; // 拆拼箱业务 | ||
135 | + @XStreamAlias("MEMO") | ||
136 | + private String memo; // 备注 | ||
137 | + @XStreamAlias("FLAG1") | ||
138 | + private Double flag1; // FLAG | ||
139 | + @XStreamAlias("FLAG2") | ||
140 | + private Double flag2; // FLAG | ||
141 | + @XStreamAlias("FLAG3") | ||
142 | + @XStreamConverter(value=XStreamDateConverter.class) | ||
143 | + private Date flag3; // FLAG | ||
144 | + @XStreamAlias("FLAG4") | ||
145 | + private String flag4; // FLAG | ||
146 | + @XStreamAlias("FLAG5") | ||
147 | + private String flag5; // FLAG | ||
148 | + @XStreamAlias("REMARK1") | ||
149 | + private String remark1; // 扩展字段 | ||
150 | + @XStreamAlias("REMARK2") | ||
151 | + private String remark2; // 扩展字段 | ||
152 | + @XStreamAlias("REMARK3") | ||
153 | + @XStreamConverter(value=XStreamDateConverter.class) | ||
154 | + private Date remark3; // 扩展字段 | ||
155 | + @XStreamAlias("REMARK4") | ||
156 | + private Double remark4; // 扩展字段 | ||
157 | + @XStreamAlias("REMARK5") | ||
158 | + private String remark5; // 扩展字段 | ||
159 | + @XStreamImplicit(itemFieldName="PORT_MANIFEST_BODY") | ||
160 | + private List<PortManifestBody> body; | ||
161 | + | ||
162 | + @XStreamAlias("PORT_MANIFEST_HEAD_STAT") | ||
163 | + private PortManifestHeadStat stat; | ||
164 | + | ||
165 | + public PortManifestHead() { | ||
166 | + super(); | ||
167 | + } | ||
168 | + | ||
169 | + public PortManifestHead(String id){ | ||
170 | + super(id); | ||
171 | + } | ||
172 | + | ||
173 | + public List<PortManifestBody> getBody() { | ||
174 | + return body; | ||
175 | + } | ||
176 | + | ||
177 | + public void setBody(List<PortManifestBody> body) { | ||
178 | + this.body = body; | ||
179 | + } | ||
180 | + | ||
181 | + public PortManifestHeadStat getStat() { | ||
182 | + return stat; | ||
183 | + } | ||
184 | + | ||
185 | + public void setStat(PortManifestHeadStat stat) { | ||
186 | + this.stat = stat; | ||
187 | + } | ||
188 | + | ||
189 | + | ||
190 | + @Length(min=1, max=36, message="核放单编号长度必须介于 1 和 36 之间") | ||
191 | + public String getBaseid() { | ||
192 | + return baseid; | ||
193 | + } | ||
194 | + | ||
195 | + public void setBaseid(String baseid) { | ||
196 | + this.baseid = baseid; | ||
197 | + } | ||
198 | + | ||
199 | + @Length(min=0, max=10, message="客户海关代码长度必须介于 0 和 10 之间") | ||
200 | + public String getTradecode() { | ||
201 | + return tradecode; | ||
202 | + } | ||
203 | + | ||
204 | + public void setTradecode(String tradecode) { | ||
205 | + this.tradecode = tradecode; | ||
206 | + } | ||
207 | + | ||
208 | + @Length(min=0, max=255, message="客户海关名称长度必须介于 0 和 255 之间") | ||
209 | + public String getTradename() { | ||
210 | + return tradename; | ||
211 | + } | ||
212 | + | ||
213 | + public void setTradename(String tradename) { | ||
214 | + this.tradename = tradename; | ||
215 | + } | ||
216 | + | ||
217 | + @Length(min=0, max=20, message="IC卡号长度必须介于 0 和 20 之间") | ||
218 | + public String getIccode() { | ||
219 | + return iccode; | ||
220 | + } | ||
221 | + | ||
222 | + public void setIccode(String iccode) { | ||
223 | + this.iccode = iccode; | ||
224 | + } | ||
225 | + | ||
226 | + @Length(min=0, max=50, message="车牌号长度必须介于 0 和 50 之间") | ||
227 | + public String getCarno() { | ||
228 | + return carno; | ||
229 | + } | ||
230 | + | ||
231 | + public void setCarno(String carno) { | ||
232 | + this.carno = carno; | ||
233 | + } | ||
234 | + | ||
235 | + @Length(min=0, max=10, message="核放单类型(报关/清关/转关/特殊/扣留)长度必须介于 0 和 10 之间") | ||
236 | + public String getBiztype() { | ||
237 | + return biztype; | ||
238 | + } | ||
239 | + | ||
240 | + public void setBiztype(String biztype) { | ||
241 | + this.biztype = biztype; | ||
242 | + } | ||
243 | + | ||
244 | + @Length(min=0, max=10, message="特殊类型(业务模式)长度必须介于 0 和 10 之间") | ||
245 | + public String getBizmode() { | ||
246 | + return bizmode; | ||
247 | + } | ||
248 | + | ||
249 | + public void setBizmode(String bizmode) { | ||
250 | + this.bizmode = bizmode; | ||
251 | + } | ||
252 | + | ||
253 | + @Length(min=0, max=20, message="起始地长度必须介于 0 和 20 之间") | ||
254 | + public String getFromport() { | ||
255 | + return fromport; | ||
256 | + } | ||
257 | + | ||
258 | + public void setFromport(String fromport) { | ||
259 | + this.fromport = fromport; | ||
260 | + } | ||
261 | + | ||
262 | + @Length(min=0, max=20, message="目的地长度必须介于 0 和 20 之间") | ||
263 | + public String getToport() { | ||
264 | + return toport; | ||
265 | + } | ||
266 | + | ||
267 | + public void setToport(String toport) { | ||
268 | + this.toport = toport; | ||
269 | + } | ||
270 | + | ||
271 | + @Length(min=0, max=50, message="进出区标志长度必须介于 0 和 50 之间") | ||
272 | + public String getIemark() { | ||
273 | + return iemark; | ||
274 | + } | ||
275 | + | ||
276 | + public void setIemark(String iemark) { | ||
277 | + this.iemark = iemark; | ||
278 | + } | ||
279 | + | ||
280 | + @Length(min=0, max=1, message="进出口标志(I/E)长度必须介于 0 和 1 之间") | ||
281 | + public String getIeflag() { | ||
282 | + return ieflag; | ||
283 | + } | ||
284 | + | ||
285 | + public void setIeflag(String ieflag) { | ||
286 | + this.ieflag = ieflag; | ||
287 | + } | ||
288 | + | ||
289 | + public Double getTotalweight() { | ||
290 | + return totalweight; | ||
291 | + } | ||
292 | + | ||
293 | + public void setTotalweight(Double totalweight) { | ||
294 | + this.totalweight = totalweight; | ||
295 | + } | ||
296 | + | ||
297 | + public Double getTotalamount() { | ||
298 | + return totalamount; | ||
299 | + } | ||
300 | + | ||
301 | + public void setTotalamount(Double totalamount) { | ||
302 | + this.totalamount = totalamount; | ||
303 | + } | ||
304 | + | ||
305 | + @Length(min=0, max=20, message="核放单状态长度必须介于 0 和 20 之间") | ||
306 | + public String getStatus() { | ||
307 | + return status; | ||
308 | + } | ||
309 | + | ||
310 | + public void setStatus(String status) { | ||
311 | + this.status = status; | ||
312 | + } | ||
313 | + | ||
314 | + @Length(min=0, max=20, message="核放单下单证状态长度必须介于 0 和 20 之间") | ||
315 | + public String getBstatus() { | ||
316 | + return bstatus; | ||
317 | + } | ||
318 | + | ||
319 | + public void setBstatus(String bstatus) { | ||
320 | + this.bstatus = bstatus; | ||
321 | + } | ||
322 | + | ||
323 | + @Length(min=0, max=20, message="核放单人工操作状态长度必须介于 0 和 20 之间") | ||
324 | + public String getMstatus() { | ||
325 | + return mstatus; | ||
326 | + } | ||
327 | + | ||
328 | + public void setMstatus(String mstatus) { | ||
329 | + this.mstatus = mstatus; | ||
330 | + } | ||
331 | + | ||
332 | + @Length(min=0, max=20, message="核放单查验标志长度必须介于 0 和 20 之间") | ||
333 | + public String getFitmark() { | ||
334 | + return fitmark; | ||
335 | + } | ||
336 | + | ||
337 | + public void setFitmark(String fitmark) { | ||
338 | + this.fitmark = fitmark; | ||
339 | + } | ||
340 | + | ||
341 | + @Length(min=0, max=20, message="核放单过卡口状态长度必须介于 0 和 20 之间") | ||
342 | + public String getPortstatus() { | ||
343 | + return portstatus; | ||
344 | + } | ||
345 | + | ||
346 | + public void setPortstatus(String portstatus) { | ||
347 | + this.portstatus = portstatus; | ||
348 | + } | ||
349 | + | ||
350 | + @Length(min=0, max=36, message="提运单号(预留暂不用)长度必须介于 0 和 36 之间") | ||
351 | + public String getBillno() { | ||
352 | + return billno; | ||
353 | + } | ||
354 | + | ||
355 | + public void setBillno(String billno) { | ||
356 | + this.billno = billno; | ||
357 | + } | ||
358 | + | ||
359 | + @Length(min=0, max=400, message="货物品名长度必须介于 0 和 400 之间") | ||
360 | + public String getGoodsmark() { | ||
361 | + return goodsmark; | ||
362 | + } | ||
363 | + | ||
364 | + public void setGoodsmark(String goodsmark) { | ||
365 | + this.goodsmark = goodsmark; | ||
366 | + } | ||
367 | + | ||
368 | + public String getFactweight() { | ||
369 | + return factweight; | ||
370 | + } | ||
371 | + | ||
372 | + public void setFactweight(String factweight) { | ||
373 | + this.factweight = factweight; | ||
374 | + } | ||
375 | + | ||
376 | + public Double getGoodswt() { | ||
377 | + return goodswt; | ||
378 | + } | ||
379 | + | ||
380 | + public void setGoodswt(Double goodswt) { | ||
381 | + this.goodswt = goodswt; | ||
382 | + } | ||
383 | + | ||
384 | + public Double getCarwt() { | ||
385 | + return carwt; | ||
386 | + } | ||
387 | + | ||
388 | + public void setCarwt(Double carwt) { | ||
389 | + this.carwt = carwt; | ||
390 | + } | ||
391 | + | ||
392 | + @Length(min=0, max=30, message="IC卡采集号长度必须介于 0 和 30 之间") | ||
393 | + public String getGateid() { | ||
394 | + return gateid; | ||
395 | + } | ||
396 | + | ||
397 | + public void setGateid(String gateid) { | ||
398 | + this.gateid = gateid; | ||
399 | + } | ||
400 | + | ||
401 | + @Length(min=0, max=4, message="扣留类型长度必须介于 0 和 4 之间") | ||
402 | + public String getDettype() { | ||
403 | + return dettype; | ||
404 | + } | ||
405 | + | ||
406 | + public void setDettype(String dettype) { | ||
407 | + this.dettype = dettype; | ||
408 | + } | ||
409 | + | ||
410 | + @Length(min=0, max=20, message="前箱型长度必须介于 0 和 20 之间") | ||
411 | + public String getFcontatype() { | ||
412 | + return fcontatype; | ||
413 | + } | ||
414 | + | ||
415 | + public void setFcontatype(String fcontatype) { | ||
416 | + this.fcontatype = fcontatype; | ||
417 | + } | ||
418 | + | ||
419 | + @Length(min=0, max=50, message="前箱号长度必须介于 0 和 50 之间") | ||
420 | + public String getFcontano() { | ||
421 | + return fcontano; | ||
422 | + } | ||
423 | + | ||
424 | + public void setFcontano(String fcontano) { | ||
425 | + this.fcontano = fcontano; | ||
426 | + } | ||
427 | + | ||
428 | + public String getFcontawt() { | ||
429 | + return fcontawt; | ||
430 | + } | ||
431 | + | ||
432 | + public void setFcontawt(String fcontawt) { | ||
433 | + this.fcontawt = fcontawt; | ||
434 | + } | ||
435 | + | ||
436 | + @Length(min=0, max=100, message="前箱封号长度必须介于 0 和 100 之间") | ||
437 | + public String getFsealno() { | ||
438 | + return fsealno; | ||
439 | + } | ||
440 | + | ||
441 | + public void setFsealno(String fsealno) { | ||
442 | + this.fsealno = fsealno; | ||
443 | + } | ||
444 | + | ||
445 | + @Length(min=0, max=20, message="后箱型长度必须介于 0 和 20 之间") | ||
446 | + public String getAcontatype() { | ||
447 | + return acontatype; | ||
448 | + } | ||
449 | + | ||
450 | + public void setAcontatype(String acontatype) { | ||
451 | + this.acontatype = acontatype; | ||
452 | + } | ||
453 | + | ||
454 | + @Length(min=0, max=50, message="后箱号长度必须介于 0 和 50 之间") | ||
455 | + public String getAcontano() { | ||
456 | + return acontano; | ||
457 | + } | ||
458 | + | ||
459 | + public void setAcontano(String acontano) { | ||
460 | + this.acontano = acontano; | ||
461 | + } | ||
462 | + | ||
463 | + public Double getAcontawt() { | ||
464 | + return acontawt; | ||
465 | + } | ||
466 | + | ||
467 | + public void setAcontawt(Double acontawt) { | ||
468 | + this.acontawt = acontawt; | ||
469 | + } | ||
470 | + | ||
471 | + @Length(min=0, max=100, message="后箱封号长度必须介于 0 和 100 之间") | ||
472 | + public String getAsealno() { | ||
473 | + return asealno; | ||
474 | + } | ||
475 | + | ||
476 | + public void setAsealno(String asealno) { | ||
477 | + this.asealno = asealno; | ||
478 | + } | ||
479 | + | ||
480 | + @Length(min=0, max=100, message="车架类型长度必须介于 0 和 100 之间") | ||
481 | + public String getCartype() { | ||
482 | + return cartype; | ||
483 | + } | ||
484 | + | ||
485 | + public void setCartype(String cartype) { | ||
486 | + this.cartype = cartype; | ||
487 | + } | ||
488 | + | ||
489 | + @Length(min=0, max=20, message="车架编号长度必须介于 0 和 20 之间") | ||
490 | + public String getCarjno() { | ||
491 | + return carjno; | ||
492 | + } | ||
493 | + | ||
494 | + public void setCarjno(String carjno) { | ||
495 | + this.carjno = carjno; | ||
496 | + } | ||
497 | + | ||
498 | + public Double getCarjwt() { | ||
499 | + return carjwt; | ||
500 | + } | ||
501 | + | ||
502 | + public void setCarjwt(Double carjwt) { | ||
503 | + this.carjwt = carjwt; | ||
504 | + } | ||
505 | + | ||
506 | + @Length(min=0, max=20, message="卡口确认人长度必须介于 0 和 20 之间") | ||
507 | + public String getPortman() { | ||
508 | + return portman; | ||
509 | + } | ||
510 | + | ||
511 | + public void setPortman(String portman) { | ||
512 | + this.portman = portman; | ||
513 | + } | ||
514 | + | ||
515 | + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||
516 | + public Date getPortdate() { | ||
517 | + return portdate; | ||
518 | + } | ||
519 | + | ||
520 | + public void setPortdate(Date portdate) { | ||
521 | + this.portdate = portdate; | ||
522 | + } | ||
523 | + | ||
524 | + | ||
525 | + @Length(min=0, max=10, message="海关编码长度必须介于 0 和 10 之间") | ||
526 | + public String getCustomcode() { | ||
527 | + return customcode; | ||
528 | + } | ||
529 | + | ||
530 | + public void setCustomcode(String customcode) { | ||
531 | + this.customcode = customcode; | ||
532 | + } | ||
533 | + | ||
534 | + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||
535 | + public Date getFromdate() { | ||
536 | + return fromdate; | ||
537 | + } | ||
538 | + | ||
539 | + public void setFromdate(Date fromdate) { | ||
540 | + this.fromdate = fromdate; | ||
541 | + } | ||
542 | + | ||
543 | + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||
544 | + public Date getEndDate() { | ||
545 | + return endDate; | ||
546 | + } | ||
547 | + | ||
548 | + public void setEndDate(Date endDate) { | ||
549 | + this.endDate = endDate; | ||
550 | + } | ||
551 | + | ||
552 | + public Double getFromwt() { | ||
553 | + return fromwt; | ||
554 | + } | ||
555 | + | ||
556 | + public void setFromwt(Double fromwt) { | ||
557 | + this.fromwt = fromwt; | ||
558 | + } | ||
559 | + | ||
560 | + public Double getTowt() { | ||
561 | + return towt; | ||
562 | + } | ||
563 | + | ||
564 | + public void setTowt(Double towt) { | ||
565 | + this.towt = towt; | ||
566 | + } | ||
567 | + | ||
568 | + @Length(min=0, max=200, message="预警比对文字描述长度必须介于 0 和 200 之间") | ||
569 | + public String getCheckresult() { | ||
570 | + return checkresult; | ||
571 | + } | ||
572 | + | ||
573 | + public void setCheckresult(String checkresult) { | ||
574 | + this.checkresult = checkresult; | ||
575 | + } | ||
576 | + | ||
577 | + @Length(min=0, max=20, message="超时预警类型(1:超时)长度必须介于 0 和 20 之间") | ||
578 | + public String getChecktime() { | ||
579 | + return checktime; | ||
580 | + } | ||
581 | + | ||
582 | + public void setChecktime(String checktime) { | ||
583 | + this.checktime = checktime; | ||
584 | + } | ||
585 | + | ||
586 | + @Length(min=0, max=20, message="重量预警类型(WT_Error)长度必须介于 0 和 20 之间") | ||
587 | + public String getCheckwt() { | ||
588 | + return checkwt; | ||
589 | + } | ||
590 | + | ||
591 | + public void setCheckwt(String checkwt) { | ||
592 | + this.checkwt = checkwt; | ||
593 | + } | ||
594 | + | ||
595 | + @Length(min=0, max=2, message="是否区区联动(Y)同一个库长度必须介于 0 和 2 之间") | ||
596 | + public String getIfldflag() { | ||
597 | + return ifldflag; | ||
598 | + } | ||
599 | + | ||
600 | + public void setIfldflag(String ifldflag) { | ||
601 | + this.ifldflag = ifldflag; | ||
602 | + } | ||
603 | + | ||
604 | + @Length(min=0, max=1, message="货物出起始地卡口未入目的地卡口,人工处理标志(Y表示已处理)长度必须介于 0 和 1 之间") | ||
605 | + public String getTimeoutflag() { | ||
606 | + return timeoutflag; | ||
607 | + } | ||
608 | + | ||
609 | + public void setTimeoutflag(String timeoutflag) { | ||
610 | + this.timeoutflag = timeoutflag; | ||
611 | + } | ||
612 | + | ||
613 | + @Length(min=0, max=500, message="货物超时人工审批意见长度必须介于 0 和 500 之间") | ||
614 | + public String getTimeoutmsg() { | ||
615 | + return timeoutmsg; | ||
616 | + } | ||
617 | + | ||
618 | + public void setTimeoutmsg(String timeoutmsg) { | ||
619 | + this.timeoutmsg = timeoutmsg; | ||
620 | + } | ||
621 | + | ||
622 | + @Length(min=0, max=20, message="货物超时审批人长度必须介于 0 和 20 之间") | ||
623 | + public String getTimeoutperson() { | ||
624 | + return timeoutperson; | ||
625 | + } | ||
626 | + | ||
627 | + public void setTimeoutperson(String timeoutperson) { | ||
628 | + this.timeoutperson = timeoutperson; | ||
629 | + } | ||
630 | + | ||
631 | + @Length(min=0, max=50, message="区港联动,综保区发送的核放单号长度必须介于 0 和 50 之间") | ||
632 | + public String getLinktype() { | ||
633 | + return linktype; | ||
634 | + } | ||
635 | + | ||
636 | + public void setLinktype(String linktype) { | ||
637 | + this.linktype = linktype; | ||
638 | + } | ||
639 | + | ||
640 | + @Length(min=0, max=20, message="联动业务,两区拼货(货站)标记长度必须介于 0 和 20 之间") | ||
641 | + public String getLinkbaseid() { | ||
642 | + return linkbaseid; | ||
643 | + } | ||
644 | + | ||
645 | + public void setLinkbaseid(String linkbaseid) { | ||
646 | + this.linkbaseid = linkbaseid; | ||
647 | + } | ||
648 | + | ||
649 | + @Length(min=0, max=50, message="集装箱J/散货S长度必须介于 0 和 50 之间") | ||
650 | + public String getContype() { | ||
651 | + return contype; | ||
652 | + } | ||
653 | + | ||
654 | + public void setContype(String contype) { | ||
655 | + this.contype = contype; | ||
656 | + } | ||
657 | + | ||
658 | + @Length(min=0, max=50, message="拆拼箱业务长度必须介于 0 和 50 之间") | ||
659 | + public String getLclconta() { | ||
660 | + return lclconta; | ||
661 | + } | ||
662 | + | ||
663 | + public void setLclconta(String lclconta) { | ||
664 | + this.lclconta = lclconta; | ||
665 | + } | ||
666 | + | ||
667 | + @Length(min=0, max=100, message="备注长度必须介于 0 和 100 之间") | ||
668 | + public String getMemo() { | ||
669 | + return memo; | ||
670 | + } | ||
671 | + | ||
672 | + public void setMemo(String memo) { | ||
673 | + this.memo = memo; | ||
674 | + } | ||
675 | + | ||
676 | + public Double getFlag1() { | ||
677 | + return flag1; | ||
678 | + } | ||
679 | + | ||
680 | + public void setFlag1(Double flag1) { | ||
681 | + this.flag1 = flag1; | ||
682 | + } | ||
683 | + | ||
684 | + public Double getFlag2() { | ||
685 | + return flag2; | ||
686 | + } | ||
687 | + | ||
688 | + public void setFlag2(Double flag2) { | ||
689 | + this.flag2 = flag2; | ||
690 | + } | ||
691 | + | ||
692 | + public Date getFlag3() { | ||
693 | + return flag3; | ||
694 | + } | ||
695 | + | ||
696 | + public void setFlag3(Date flag3) { | ||
697 | + this.flag3 = flag3; | ||
698 | + } | ||
699 | + | ||
700 | + @Length(min=0, max=20, message="FLAG长度必须介于 0 和 20 之间") | ||
701 | + public String getFlag4() { | ||
702 | + return flag4; | ||
703 | + } | ||
704 | + | ||
705 | + public void setFlag4(String flag4) { | ||
706 | + this.flag4 = flag4; | ||
707 | + } | ||
708 | + | ||
709 | + @Length(min=0, max=100, message="FLAG长度必须介于 0 和 100 之间") | ||
710 | + public String getFlag5() { | ||
711 | + return flag5; | ||
712 | + } | ||
713 | + | ||
714 | + public void setFlag5(String flag5) { | ||
715 | + this.flag5 = flag5; | ||
716 | + } | ||
717 | + | ||
718 | + @Length(min=0, max=20, message="扩展字段长度必须介于 0 和 20 之间") | ||
719 | + public String getRemark1() { | ||
720 | + return remark1; | ||
721 | + } | ||
722 | + | ||
723 | + public void setRemark1(String remark1) { | ||
724 | + this.remark1 = remark1; | ||
725 | + } | ||
726 | + | ||
727 | + @Length(min=0, max=20, message="扩展字段长度必须介于 0 和 20 之间") | ||
728 | + public String getRemark2() { | ||
729 | + return remark2; | ||
730 | + } | ||
731 | + | ||
732 | + public void setRemark2(String remark2) { | ||
733 | + this.remark2 = remark2; | ||
734 | + } | ||
735 | + | ||
736 | + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||
737 | + public Date getRemark3() { | ||
738 | + return remark3; | ||
739 | + } | ||
740 | + | ||
741 | + public void setRemark3(Date remark3) { | ||
742 | + this.remark3 = remark3; | ||
743 | + } | ||
744 | + | ||
745 | + public Double getRemark4() { | ||
746 | + return remark4; | ||
747 | + } | ||
748 | + | ||
749 | + public void setRemark4(Double remark4) { | ||
750 | + this.remark4 = remark4; | ||
751 | + } | ||
752 | + | ||
753 | + @Length(min=0, max=20, message="扩展字段长度必须介于 0 和 20 之间") | ||
754 | + public String getRemark5() { | ||
755 | + return remark5; | ||
756 | + } | ||
757 | + | ||
758 | + public void setRemark5(String remark5) { | ||
759 | + this.remark5 = remark5; | ||
760 | + } | ||
761 | + | ||
762 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.entity.dct; | ||
5 | + | ||
6 | +import org.hibernate.validator.constraints.Length; | ||
7 | +import java.util.Date; | ||
8 | +import com.fasterxml.jackson.annotation.JsonFormat; | ||
9 | + | ||
10 | +import com.thinkgem.jeesite.common.persistence.DataEntity; | ||
11 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
12 | +import com.thoughtworks.xstream.annotations.XStreamConverter; | ||
13 | + | ||
14 | +import com.thinkgem.jeesite.modules.bw.entity.dct.XStreamDateConverter; | ||
15 | + | ||
16 | +/** | ||
17 | + * 实体Entity | ||
18 | + * @author zhangfan | ||
19 | + * @version 2018-10-16 | ||
20 | + */ | ||
21 | +public class PortManifestHeadStat extends DataEntity<PortManifestHeadStat> { | ||
22 | + | ||
23 | + private static final long serialVersionUID = 1L; | ||
24 | + @XStreamAlias("BASE_ID") | ||
25 | + private String baseid; // 核放单编号 | ||
26 | + @XStreamAlias("AREA_CODE") | ||
27 | + private String areacode; // 区域代码 | ||
28 | + @XStreamAlias("CUSTOMS_CODE") | ||
29 | + private String customscode; // 关区代码 | ||
30 | + @XStreamAlias("TRADE_CODE") | ||
31 | + private String tradecode; // 客户海关代码 | ||
32 | + @XStreamAlias("TRADE_NAME") | ||
33 | + private String tradename; // 客户海关名称 | ||
34 | + @XStreamAlias("INPUT_CODE") | ||
35 | + private String inputcode; // 录入单位代码 | ||
36 | + @XStreamAlias("INPUT_NAME") | ||
37 | + private String inputname; // 客户海关名称 | ||
38 | + @XStreamAlias("DECLARE_CODE") | ||
39 | + private String declarecode; // 申报单位代码 | ||
40 | + @XStreamAlias("DECLARE_NAME") | ||
41 | + private String declarename; // 申报单位名称 | ||
42 | + @XStreamAlias("STEP_ID") | ||
43 | + private String stepid; // 当前环节 | ||
44 | + @XStreamAlias("PRE_STEP_ID") | ||
45 | + private String prestepid; // 前置环节 | ||
46 | + @XStreamAlias("OPER_TYPE") | ||
47 | + private String opertype; // 操作类型(对应前置环节) | ||
48 | + @XStreamAlias("OPER_RESULT") | ||
49 | + private String operresult; // 操作结果(对应前置环节) | ||
50 | + @XStreamAlias("CREATE_PERSON") | ||
51 | + private String createperson; // 创建人 | ||
52 | + @XStreamAlias("CREATE_DATE") | ||
53 | + @XStreamConverter(value=XStreamDateConverter.class) | ||
54 | + private Date createdate; // 创建时间 | ||
55 | + @XStreamAlias("DECLARE_PERSON") | ||
56 | + private String declareperson; // 申报人 | ||
57 | + @XStreamAlias("DECLARE_DATE") | ||
58 | + @XStreamConverter(value=XStreamDateConverter.class) | ||
59 | + private Date declaredate; // 申报时间 | ||
60 | + @XStreamAlias("APPROVE_PERSON") | ||
61 | + private String approveperson; // 审批人 | ||
62 | + @XStreamAlias("APPROVE_DATE") | ||
63 | + @XStreamConverter(value=XStreamDateConverter.class) | ||
64 | + private Date approvedate; // 审批时间 | ||
65 | + @XStreamAlias("OUTER_COMMENT") | ||
66 | + private String outercomment; // 外部审批意见 | ||
67 | + @XStreamAlias("INNER_COMMENT") | ||
68 | + private String innercomment; // 内部审批意见 | ||
69 | + @XStreamAlias("EXTEND_FIELD_1") | ||
70 | + private String extendfield1; // 扩展字段 | ||
71 | + @XStreamAlias("EXTEND_FIELD_2") | ||
72 | + private String extendfield2; // 扩展字段 | ||
73 | + @XStreamAlias("EXTEND_FIELD_3") | ||
74 | + private String extendfield3; // 扩展字段 | ||
75 | + | ||
76 | + public PortManifestHeadStat() { | ||
77 | + super(); | ||
78 | + } | ||
79 | + | ||
80 | + public PortManifestHeadStat(String id){ | ||
81 | + super(id); | ||
82 | + } | ||
83 | + | ||
84 | + @Length(min=1, max=36, message="核放单编号长度必须介于 1 和 36 之间") | ||
85 | + public String getBaseid() { | ||
86 | + return baseid; | ||
87 | + } | ||
88 | + | ||
89 | + public void setBaseid(String baseid) { | ||
90 | + this.baseid = baseid; | ||
91 | + } | ||
92 | + | ||
93 | + @Length(min=0, max=10, message="区域代码长度必须介于 0 和 10 之间") | ||
94 | + public String getAreacode() { | ||
95 | + return areacode; | ||
96 | + } | ||
97 | + | ||
98 | + public void setAreacode(String areacode) { | ||
99 | + this.areacode = areacode; | ||
100 | + } | ||
101 | + | ||
102 | + @Length(min=0, max=4, message="关区代码长度必须介于 0 和 4 之间") | ||
103 | + public String getCustomscode() { | ||
104 | + return customscode; | ||
105 | + } | ||
106 | + | ||
107 | + public void setCustomscode(String customscode) { | ||
108 | + this.customscode = customscode; | ||
109 | + } | ||
110 | + | ||
111 | + @Length(min=0, max=10, message="客户海关代码长度必须介于 0 和 10 之间") | ||
112 | + public String getTradecode() { | ||
113 | + return tradecode; | ||
114 | + } | ||
115 | + | ||
116 | + public void setTradecode(String tradecode) { | ||
117 | + this.tradecode = tradecode; | ||
118 | + } | ||
119 | + | ||
120 | + @Length(min=0, max=255, message="客户海关名称长度必须介于 0 和 255 之间") | ||
121 | + public String getTradename() { | ||
122 | + return tradename; | ||
123 | + } | ||
124 | + | ||
125 | + public void setTradename(String tradename) { | ||
126 | + this.tradename = tradename; | ||
127 | + } | ||
128 | + | ||
129 | + @Length(min=0, max=10, message="录入单位代码长度必须介于 0 和 10 之间") | ||
130 | + public String getInputcode() { | ||
131 | + return inputcode; | ||
132 | + } | ||
133 | + | ||
134 | + public void setInputcode(String inputcode) { | ||
135 | + this.inputcode = inputcode; | ||
136 | + } | ||
137 | + | ||
138 | + @Length(min=0, max=255, message="客户海关名称长度必须介于 0 和 255 之间") | ||
139 | + public String getInputname() { | ||
140 | + return inputname; | ||
141 | + } | ||
142 | + | ||
143 | + public void setInputname(String inputname) { | ||
144 | + this.inputname = inputname; | ||
145 | + } | ||
146 | + | ||
147 | + @Length(min=0, max=10, message="申报单位代码长度必须介于 0 和 10 之间") | ||
148 | + public String getDeclarecode() { | ||
149 | + return declarecode; | ||
150 | + } | ||
151 | + | ||
152 | + public void setDeclarecode(String declarecode) { | ||
153 | + this.declarecode = declarecode; | ||
154 | + } | ||
155 | + | ||
156 | + @Length(min=0, max=255, message="申报单位名称长度必须介于 0 和 255 之间") | ||
157 | + public String getDeclarename() { | ||
158 | + return declarename; | ||
159 | + } | ||
160 | + | ||
161 | + public void setDeclarename(String declarename) { | ||
162 | + this.declarename = declarename; | ||
163 | + } | ||
164 | + | ||
165 | + @Length(min=0, max=10, message="当前环节长度必须介于 0 和 10 之间") | ||
166 | + public String getStepid() { | ||
167 | + return stepid; | ||
168 | + } | ||
169 | + | ||
170 | + public void setStepid(String stepid) { | ||
171 | + this.stepid = stepid; | ||
172 | + } | ||
173 | + | ||
174 | + @Length(min=0, max=10, message="前置环节长度必须介于 0 和 10 之间") | ||
175 | + public String getPrestepid() { | ||
176 | + return prestepid; | ||
177 | + } | ||
178 | + | ||
179 | + public void setPrestepid(String prestepid) { | ||
180 | + this.prestepid = prestepid; | ||
181 | + } | ||
182 | + | ||
183 | + @Length(min=0, max=10, message="操作类型(对应前置环节)长度必须介于 0 和 10 之间") | ||
184 | + public String getOpertype() { | ||
185 | + return opertype; | ||
186 | + } | ||
187 | + | ||
188 | + public void setOpertype(String opertype) { | ||
189 | + this.opertype = opertype; | ||
190 | + } | ||
191 | + | ||
192 | + @Length(min=0, max=10, message="操作结果(对应前置环节)长度必须介于 0 和 10 之间") | ||
193 | + public String getOperresult() { | ||
194 | + return operresult; | ||
195 | + } | ||
196 | + | ||
197 | + public void setOperresult(String operresult) { | ||
198 | + this.operresult = operresult; | ||
199 | + } | ||
200 | + | ||
201 | + @Length(min=0, max=20, message="创建人长度必须介于 0 和 20 之间") | ||
202 | + public String getCreateperson() { | ||
203 | + return createperson; | ||
204 | + } | ||
205 | + | ||
206 | + public void setCreateperson(String createperson) { | ||
207 | + this.createperson = createperson; | ||
208 | + } | ||
209 | + | ||
210 | + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||
211 | + public Date getCreatedate() { | ||
212 | + return createdate; | ||
213 | + } | ||
214 | + | ||
215 | + public void setCreatedate(Date createdate) { | ||
216 | + this.createdate = createdate; | ||
217 | + } | ||
218 | + | ||
219 | + @Length(min=0, max=20, message="申报人长度必须介于 0 和 20 之间") | ||
220 | + public String getDeclareperson() { | ||
221 | + return declareperson; | ||
222 | + } | ||
223 | + | ||
224 | + public void setDeclareperson(String declareperson) { | ||
225 | + this.declareperson = declareperson; | ||
226 | + } | ||
227 | + | ||
228 | + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||
229 | + public Date getDeclaredate() { | ||
230 | + return declaredate; | ||
231 | + } | ||
232 | + | ||
233 | + public void setDeclaredate(Date declaredate) { | ||
234 | + this.declaredate = declaredate; | ||
235 | + } | ||
236 | + | ||
237 | + @Length(min=0, max=20, message="审批人长度必须介于 0 和 20 之间") | ||
238 | + public String getApproveperson() { | ||
239 | + return approveperson; | ||
240 | + } | ||
241 | + | ||
242 | + public void setApproveperson(String approveperson) { | ||
243 | + this.approveperson = approveperson; | ||
244 | + } | ||
245 | + | ||
246 | + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||
247 | + public Date getApprovedate() { | ||
248 | + return approvedate; | ||
249 | + } | ||
250 | + | ||
251 | + public void setApprovedate(Date approvedate) { | ||
252 | + this.approvedate = approvedate; | ||
253 | + } | ||
254 | + | ||
255 | + @Length(min=0, max=255, message="外部审批意见长度必须介于 0 和 255 之间") | ||
256 | + public String getOutercomment() { | ||
257 | + return outercomment; | ||
258 | + } | ||
259 | + | ||
260 | + public void setOutercomment(String outercomment) { | ||
261 | + this.outercomment = outercomment; | ||
262 | + } | ||
263 | + | ||
264 | + @Length(min=0, max=255, message="内部审批意见长度必须介于 0 和 255 之间") | ||
265 | + public String getInnercomment() { | ||
266 | + return innercomment; | ||
267 | + } | ||
268 | + | ||
269 | + public void setInnercomment(String innercomment) { | ||
270 | + this.innercomment = innercomment; | ||
271 | + } | ||
272 | + | ||
273 | + @Length(min=0, max=20, message="扩展字段长度必须介于 0 和 20 之间") | ||
274 | + public String getExtendfield1() { | ||
275 | + return extendfield1; | ||
276 | + } | ||
277 | + | ||
278 | + public void setExtendfield1(String extendfield1) { | ||
279 | + this.extendfield1 = extendfield1; | ||
280 | + } | ||
281 | + | ||
282 | + @Length(min=0, max=20, message="扩展字段长度必须介于 0 和 20 之间") | ||
283 | + public String getExtendfield2() { | ||
284 | + return extendfield2; | ||
285 | + } | ||
286 | + | ||
287 | + public void setExtendfield2(String extendfield2) { | ||
288 | + this.extendfield2 = extendfield2; | ||
289 | + } | ||
290 | + | ||
291 | + @Length(min=0, max=20, message="扩展字段长度必须介于 0 和 20 之间") | ||
292 | + public String getExtendfield3() { | ||
293 | + return extendfield3; | ||
294 | + } | ||
295 | + | ||
296 | + public void setExtendfield3(String extendfield3) { | ||
297 | + this.extendfield3 = extendfield3; | ||
298 | + } | ||
299 | + | ||
300 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.entity.dct; | ||
5 | + | ||
6 | +import org.hibernate.validator.constraints.Length; | ||
7 | +import java.util.Date; | ||
8 | +import com.fasterxml.jackson.annotation.JsonFormat; | ||
9 | + | ||
10 | +import com.thinkgem.jeesite.common.persistence.DataEntity; | ||
11 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
12 | +import com.thoughtworks.xstream.annotations.XStreamConverter; | ||
13 | + | ||
14 | +import com.thinkgem.jeesite.modules.bw.entity.dct.XStreamDateConverter; | ||
15 | + | ||
16 | +/** | ||
17 | + * 实体Entity | ||
18 | + * @author zhangfan | ||
19 | + * @version 2018-10-16 | ||
20 | + */ | ||
21 | +public class VExpressBillno extends DataEntity<VExpressBillno> { | ||
22 | + | ||
23 | + @XStreamAlias("HAWB_GUID") | ||
24 | + private String hawbGuid; // 唯一值 | ||
25 | + @XStreamAlias("MAWB_GUID") | ||
26 | + private String mawbGuid; // 主键 | ||
27 | + @XStreamAlias("MAWB_NO") | ||
28 | + private String mawbNo; // 总运单(国际运单) | ||
29 | + @XStreamAlias("HAWB_NO") | ||
30 | + private String hawbNo; // 分运单 | ||
31 | + @XStreamAlias("BILL_NO") | ||
32 | + private String billNo; // 总运单_分运单 | ||
33 | + @XStreamAlias("CAL_TYPE") | ||
34 | + private String calType; // 区港联动/订阅/快件 | ||
35 | + @XStreamAlias("HAWB_PACKNO") | ||
36 | + private Double hawbPackno; // 区港联动/订阅/件数 | ||
37 | + @XStreamAlias("HAWB_GROSSWT") | ||
38 | + private Double hawbGrosswt; // 区港联动/订阅/重量 | ||
39 | + @XStreamAlias("STATUS") | ||
40 | + private String status; // 审批状态 | ||
41 | + @XStreamAlias("APPROVE_PERSON") | ||
42 | + private String approvePerson; // 审批人 | ||
43 | + @XStreamAlias("APPROVE_DATE") | ||
44 | + @XStreamConverter(value=XStreamDateConverter.class) | ||
45 | + private Date approveDate; // 审批时间 | ||
46 | + @XStreamAlias("CREATE_DATE") | ||
47 | + @XStreamConverter(value=XStreamDateConverter.class) | ||
48 | + private Date createDate; | ||
49 | + @XStreamAlias("LAST_UPDATE_TIME") | ||
50 | + @XStreamConverter(value=XStreamDateConverter.class) | ||
51 | + private Date lastUpdateTime; // 最后一次更新时间 | ||
52 | + @XStreamAlias("AREA_CODE") | ||
53 | + private String areaCode; // 运单所在的货站区域 | ||
54 | + @XStreamAlias("CUSTOM_CODE") | ||
55 | + private String customCode; // 关区代码 | ||
56 | + public VExpressBillno() { | ||
57 | + super(); | ||
58 | + } | ||
59 | + | ||
60 | + public VExpressBillno(String id){ | ||
61 | + super(id); | ||
62 | + } | ||
63 | + | ||
64 | + @Length(min=1, max=36, message="唯一值长度必须介于 1 和 36 之间") | ||
65 | + public String getHawbGuid() { | ||
66 | + return hawbGuid; | ||
67 | + } | ||
68 | + | ||
69 | + public void setHawbGuid(String hawbGuid) { | ||
70 | + this.hawbGuid = hawbGuid; | ||
71 | + } | ||
72 | + | ||
73 | + @Length(min=1, max=36, message="主键长度必须介于 1 和 36 之间") | ||
74 | + public String getMawbGuid() { | ||
75 | + return mawbGuid; | ||
76 | + } | ||
77 | + | ||
78 | + public void setMawbGuid(String mawbGuid) { | ||
79 | + this.mawbGuid = mawbGuid; | ||
80 | + } | ||
81 | + | ||
82 | + @Length(min=0, max=50, message="总运单(国际运单)长度必须介于 0 和 50 之间") | ||
83 | + public String getMawbNo() { | ||
84 | + return mawbNo; | ||
85 | + } | ||
86 | + | ||
87 | + public void setMawbNo(String mawbNo) { | ||
88 | + this.mawbNo = mawbNo; | ||
89 | + } | ||
90 | + | ||
91 | + @Length(min=0, max=50, message="分运单长度必须介于 0 和 50 之间") | ||
92 | + public String getHawbNo() { | ||
93 | + return hawbNo; | ||
94 | + } | ||
95 | + | ||
96 | + public void setHawbNo(String hawbNo) { | ||
97 | + this.hawbNo = hawbNo; | ||
98 | + } | ||
99 | + | ||
100 | + @Length(min=0, max=50, message="总运单_分运单长度必须介于 0 和 50 之间") | ||
101 | + public String getBillNo() { | ||
102 | + return billNo; | ||
103 | + } | ||
104 | + | ||
105 | + public void setBillNo(String billNo) { | ||
106 | + this.billNo = billNo; | ||
107 | + } | ||
108 | + | ||
109 | + @Length(min=0, max=20, message="区港联动/订阅/快件长度必须介于 0 和 20 之间") | ||
110 | + public String getCalType() { | ||
111 | + return calType; | ||
112 | + } | ||
113 | + | ||
114 | + public void setCalType(String calType) { | ||
115 | + this.calType = calType; | ||
116 | + } | ||
117 | + | ||
118 | + public Double getHawbPackno() { | ||
119 | + return hawbPackno; | ||
120 | + } | ||
121 | + | ||
122 | + public void setHawbPackno(Double hawbPackno) { | ||
123 | + this.hawbPackno = hawbPackno; | ||
124 | + } | ||
125 | + | ||
126 | + public Double getHawbGrosswt() { | ||
127 | + return hawbGrosswt; | ||
128 | + } | ||
129 | + | ||
130 | + public void setHawbGrosswt(Double hawbGrosswt) { | ||
131 | + this.hawbGrosswt = hawbGrosswt; | ||
132 | + } | ||
133 | + | ||
134 | + @Length(min=0, max=20, message="审批状态长度必须介于 0 和 20 之间") | ||
135 | + public String getStatus() { | ||
136 | + return status; | ||
137 | + } | ||
138 | + | ||
139 | + public void setStatus(String status) { | ||
140 | + this.status = status; | ||
141 | + } | ||
142 | + | ||
143 | + @Length(min=0, max=20, message="审批人长度必须介于 0 和 20 之间") | ||
144 | + public String getApprovePerson() { | ||
145 | + return approvePerson; | ||
146 | + } | ||
147 | + | ||
148 | + public void setApprovePerson(String approvePerson) { | ||
149 | + this.approvePerson = approvePerson; | ||
150 | + } | ||
151 | + | ||
152 | + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||
153 | + public Date getApproveDate() { | ||
154 | + return approveDate; | ||
155 | + } | ||
156 | + | ||
157 | + public void setApproveDate(Date approveDate) { | ||
158 | + this.approveDate = approveDate; | ||
159 | + } | ||
160 | + | ||
161 | + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||
162 | + public Date getLastUpdateTime() { | ||
163 | + return lastUpdateTime; | ||
164 | + } | ||
165 | + | ||
166 | + public void setLastUpdateTime(Date lastUpdateTime) { | ||
167 | + this.lastUpdateTime = lastUpdateTime; | ||
168 | + } | ||
169 | + | ||
170 | + @Length(min=0, max=10, message="运单所在的货站区域长度必须介于 0 和 10 之间") | ||
171 | + public String getAreaCode() { | ||
172 | + return areaCode; | ||
173 | + } | ||
174 | + | ||
175 | + public void setAreaCode(String areaCode) { | ||
176 | + this.areaCode = areaCode; | ||
177 | + } | ||
178 | + | ||
179 | + @Length(min=0, max=10, message="关区代码长度必须介于 0 和 10 之间") | ||
180 | + public String getCustomCode() { | ||
181 | + return customCode; | ||
182 | + } | ||
183 | + | ||
184 | + public void setCustomCode(String customCode) { | ||
185 | + this.customCode = customCode; | ||
186 | + } | ||
187 | + | ||
188 | +} |
1 | +package com.thinkgem.jeesite.modules.bw.entity.dct; | ||
2 | + | ||
3 | +import java.text.DateFormat; | ||
4 | +import java.text.ParseException; | ||
5 | +import java.text.SimpleDateFormat; | ||
6 | +import java.util.Date; | ||
7 | + | ||
8 | +import com.thoughtworks.xstream.converters.ConversionException; | ||
9 | +import com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter; | ||
10 | + | ||
11 | +public class XStreamDateConverter extends AbstractSingleValueConverter { | ||
12 | + | ||
13 | + private static final DateFormat DEFAULT_DATEFORMAT = new SimpleDateFormat( | ||
14 | + "yyyy-MM-dd HH:mm:ss"); | ||
15 | + | ||
16 | + public boolean canConvert(Class type) { | ||
17 | + return type.equals(Date.class); | ||
18 | + } | ||
19 | + | ||
20 | + public Object fromString(String str) { | ||
21 | + try { | ||
22 | + return DEFAULT_DATEFORMAT.parseObject(str); | ||
23 | + } catch (ParseException e) { | ||
24 | + e.printStackTrace(); | ||
25 | + } | ||
26 | + throw new ConversionException("Cannot parse date " + str); | ||
27 | + } | ||
28 | + | ||
29 | + public String toString(Object obj) { | ||
30 | + // 这里将日期转换成字符串 | ||
31 | + return DEFAULT_DATEFORMAT.format((Date) obj); | ||
32 | + } | ||
33 | + | ||
34 | +} |
1 | +package com.thinkgem.jeesite.modules.bw.entity.gather; | ||
2 | + | ||
3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
4 | + | ||
5 | +@XStreamAlias("CAR") | ||
6 | +public class Car { | ||
7 | + | ||
8 | + @XStreamAlias("VE_NAME") | ||
9 | + private String VeName; | ||
10 | + | ||
11 | + @XStreamAlias("CAR_EC_NO") | ||
12 | + private String CarEcNo; | ||
13 | + | ||
14 | + @XStreamAlias("CAR_EC_NO2") | ||
15 | + private String CarEcNo2; | ||
16 | + | ||
17 | + @XStreamAlias("VE_CUSTOMS_NO") | ||
18 | + private String VeCustomsNo; | ||
19 | + | ||
20 | + @XStreamAlias("VE_WT") | ||
21 | + private Double VeWt; | ||
22 | + | ||
23 | + public String getVeName() { | ||
24 | + return VeName; | ||
25 | + } | ||
26 | + | ||
27 | + public void setVeName(String veName) { | ||
28 | + VeName = veName; | ||
29 | + } | ||
30 | + | ||
31 | + public String getCarEcNo() { | ||
32 | + return CarEcNo; | ||
33 | + } | ||
34 | + | ||
35 | + public void setCarEcNo(String carEcNo) { | ||
36 | + CarEcNo = carEcNo; | ||
37 | + } | ||
38 | + | ||
39 | + public String getCarEcNo2() { | ||
40 | + return CarEcNo2; | ||
41 | + } | ||
42 | + | ||
43 | + public void setCarEcNo2(String carEcNo2) { | ||
44 | + CarEcNo2 = carEcNo2; | ||
45 | + } | ||
46 | + | ||
47 | + public String getVeCustomsNo() { | ||
48 | + return VeCustomsNo; | ||
49 | + } | ||
50 | + | ||
51 | + public void setVeCustomsNo(String veCustomsNo) { | ||
52 | + VeCustomsNo = veCustomsNo; | ||
53 | + } | ||
54 | + | ||
55 | + public Double getVeWt() { | ||
56 | + return VeWt; | ||
57 | + } | ||
58 | + | ||
59 | + public void setVeWt(Double veWt) { | ||
60 | + VeWt = veWt; | ||
61 | + } | ||
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | ||
66 | +} |
1 | +package com.thinkgem.jeesite.modules.bw.entity.gather; | ||
2 | + | ||
3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
4 | + | ||
5 | +@XStreamAlias("CONTA") | ||
6 | +public class Conta { | ||
7 | + | ||
8 | + @XStreamAlias("CONTA_NUM") | ||
9 | + private String ContaNum; | ||
10 | + | ||
11 | + @XStreamAlias("CONTA_RECO") | ||
12 | + private String ContaReco; | ||
13 | + | ||
14 | + @XStreamAlias("CONTA_ID_F") | ||
15 | + private String ContaIdF; | ||
16 | + | ||
17 | + @XStreamAlias("CONTA_ID_B") | ||
18 | + private String ContaIdB; | ||
19 | + | ||
20 | + @XStreamAlias("CONTA_MODEL_F") | ||
21 | + private String ContaModelF; | ||
22 | + | ||
23 | + @XStreamAlias("CONTA_MODEL_B") | ||
24 | + private String ContaModelB; | ||
25 | + | ||
26 | + public String getContaNum() { | ||
27 | + return ContaNum; | ||
28 | + } | ||
29 | + | ||
30 | + public void setContaNum(String contaNum) { | ||
31 | + ContaNum = contaNum; | ||
32 | + } | ||
33 | + | ||
34 | + public String getContaReco() { | ||
35 | + return ContaReco; | ||
36 | + } | ||
37 | + | ||
38 | + public void setContaReco(String contaReco) { | ||
39 | + ContaReco = contaReco; | ||
40 | + } | ||
41 | + | ||
42 | + public String getContaIdF() { | ||
43 | + return ContaIdF; | ||
44 | + } | ||
45 | + | ||
46 | + public void setContaIdF(String contaIdF) { | ||
47 | + ContaIdF = contaIdF; | ||
48 | + } | ||
49 | + | ||
50 | + public String getContaIdB() { | ||
51 | + return ContaIdB; | ||
52 | + } | ||
53 | + | ||
54 | + public void setContaIdB(String contaIdB) { | ||
55 | + ContaIdB = contaIdB; | ||
56 | + } | ||
57 | + | ||
58 | + public String getContaModelF() { | ||
59 | + return ContaModelF; | ||
60 | + } | ||
61 | + | ||
62 | + public void setContaModelF(String contaModelF) { | ||
63 | + ContaModelF = contaModelF; | ||
64 | + } | ||
65 | + | ||
66 | + public String getContaModelB() { | ||
67 | + return ContaModelB; | ||
68 | + } | ||
69 | + | ||
70 | + public void setContaModelB(String contaModelB) { | ||
71 | + ContaModelB = contaModelB; | ||
72 | + } | ||
73 | + | ||
74 | + | ||
75 | +} |
1 | +package com.thinkgem.jeesite.modules.bw.entity.gather; | ||
2 | + | ||
3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
4 | +import com.thoughtworks.xstream.annotations.XStreamAsAttribute; | ||
5 | +@XStreamAlias("GATHER_INFO") | ||
6 | +public class GatherInfo { | ||
7 | + | ||
8 | + @XStreamAsAttribute | ||
9 | + private String AREA_ID; | ||
10 | + | ||
11 | + | ||
12 | + @XStreamAsAttribute | ||
13 | + private String CHNL_NO; | ||
14 | + | ||
15 | + @XStreamAsAttribute | ||
16 | + private String I_E_TYPE; | ||
17 | + | ||
18 | + @XStreamAsAttribute | ||
19 | + private String SEQ_NO; | ||
20 | + | ||
21 | + @XStreamAlias("IC") | ||
22 | + private IC ic; | ||
23 | + | ||
24 | + @XStreamAlias("WEIGHT") | ||
25 | + private Weight weight; | ||
26 | + | ||
27 | + @XStreamAlias("CAR") | ||
28 | + private Car car; | ||
29 | + | ||
30 | + @XStreamAlias("TRAILER") | ||
31 | + private Trailer trailer; | ||
32 | + | ||
33 | + @XStreamAlias("CONTA") | ||
34 | + private Conta conta; | ||
35 | + | ||
36 | + @XStreamAlias("BAR_CODE") | ||
37 | + private String BarCode; | ||
38 | + | ||
39 | + @XStreamAlias("SEAL") | ||
40 | + private Seal seal; | ||
41 | + | ||
42 | + | ||
43 | + | ||
44 | + public String getAREA_ID() { | ||
45 | + return AREA_ID; | ||
46 | + } | ||
47 | + | ||
48 | + public void setAREA_ID(String aREA_ID) { | ||
49 | + AREA_ID = aREA_ID; | ||
50 | + } | ||
51 | + | ||
52 | + public String getCHNL_NO() { | ||
53 | + return CHNL_NO; | ||
54 | + } | ||
55 | + | ||
56 | + public void setCHNL_NO(String cHNL_NO) { | ||
57 | + CHNL_NO = cHNL_NO; | ||
58 | + } | ||
59 | + | ||
60 | + public String getI_E_TYPE() { | ||
61 | + return I_E_TYPE; | ||
62 | + } | ||
63 | + | ||
64 | + public void setI_E_TYPE(String i_E_TYPE) { | ||
65 | + I_E_TYPE = i_E_TYPE; | ||
66 | + } | ||
67 | + | ||
68 | + public String getSEQ_NO() { | ||
69 | + return SEQ_NO; | ||
70 | + } | ||
71 | + | ||
72 | + public void setSEQ_NO(String sEQ_NO) { | ||
73 | + SEQ_NO = sEQ_NO; | ||
74 | + } | ||
75 | + | ||
76 | + public IC getIc() { | ||
77 | + return ic; | ||
78 | + } | ||
79 | + | ||
80 | + public void setIc(IC ic) { | ||
81 | + this.ic = ic; | ||
82 | + } | ||
83 | + | ||
84 | + public Weight getWeight() { | ||
85 | + return weight; | ||
86 | + } | ||
87 | + | ||
88 | + public void setWeight(Weight weight) { | ||
89 | + this.weight = weight; | ||
90 | + } | ||
91 | + | ||
92 | + public Car getCar() { | ||
93 | + return car; | ||
94 | + } | ||
95 | + | ||
96 | + public void setCar(Car car) { | ||
97 | + this.car = car; | ||
98 | + } | ||
99 | + | ||
100 | + public Trailer getTrailer() { | ||
101 | + return trailer; | ||
102 | + } | ||
103 | + | ||
104 | + public void setTrailer(Trailer trailer) { | ||
105 | + this.trailer = trailer; | ||
106 | + } | ||
107 | + | ||
108 | + public Conta getConta() { | ||
109 | + return conta; | ||
110 | + } | ||
111 | + | ||
112 | + public void setConta(Conta conta) { | ||
113 | + this.conta = conta; | ||
114 | + } | ||
115 | + | ||
116 | + public String getBarCode() { | ||
117 | + return BarCode; | ||
118 | + } | ||
119 | + | ||
120 | + public void setBarCode(String barCode) { | ||
121 | + BarCode = barCode; | ||
122 | + } | ||
123 | + | ||
124 | + public Seal getSeal() { | ||
125 | + return seal; | ||
126 | + } | ||
127 | + | ||
128 | + public void setSeal(Seal seal) { | ||
129 | + this.seal = seal; | ||
130 | + } | ||
131 | + | ||
132 | + | ||
133 | + | ||
134 | + | ||
135 | +} |
1 | +package com.thinkgem.jeesite.modules.bw.entity.gather; | ||
2 | + | ||
3 | +import java.io.File; | ||
4 | + | ||
5 | +import com.thinkgem.jeesite.modules.bw.entity.dct.Gatherinfo; | ||
6 | +import com.thoughtworks.xstream.XStream; | ||
7 | +import com.thoughtworks.xstream.io.xml.DomDriver; | ||
8 | +import com.thoughtworks.xstream.io.xml.XmlFriendlyNameCoder; | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | +public class GatherInfoXStream { | ||
13 | + | ||
14 | + /*public static void main(String[] args) { | ||
15 | + GatherInfoXStream stream = new GatherInfoXStream(); | ||
16 | + stream.toBean(); | ||
17 | + stream.toJavaBean(stream.toBean()); | ||
18 | + }*/ | ||
19 | + | ||
20 | + public GatherInfo toBean() { | ||
21 | + XStream xStream = new XStream(new DomDriver("UTF-8", new XmlFriendlyNameCoder("_-", "_"))); | ||
22 | + xStream.autodetectAnnotations(true); | ||
23 | + xStream.processAnnotations(GatherInfo.class); | ||
24 | + File file = new File("D:\\GatherInfo.xml"); | ||
25 | + GatherInfo request =(GatherInfo)xStream.fromXML(file); | ||
26 | + String xmlString = xStream.toXML(request); | ||
27 | + return request; | ||
28 | + } | ||
29 | + | ||
30 | + public Gatherinfo toJavaBean(GatherInfo info) { | ||
31 | + Gatherinfo bean = new Gatherinfo(); | ||
32 | + | ||
33 | + bean.setAreaid(info.getAREA_ID()); | ||
34 | + bean.setChnlno(info.getCHNL_NO()); | ||
35 | + bean.setIetype(info.getI_E_TYPE()); | ||
36 | + bean.setBarcode(info.getBarCode()); | ||
37 | + bean.setSeqno(info.getSEQ_NO()); | ||
38 | + bean.setCarecno(info.getCar().getCarEcNo()); | ||
39 | + bean.setCarecno2(info.getCar().getCarEcNo2()); | ||
40 | + bean.setVename(info.getCar().getVeName()); | ||
41 | + bean.setVecustomsno(info.getCar().getVeCustomsNo()); | ||
42 | + bean.setVewt(info.getCar().getVeWt()); | ||
43 | + bean.setContaidb(info.getConta().getContaIdB()); | ||
44 | + bean.setContaidf(info.getConta().getContaIdF()); | ||
45 | + bean.setContamodelf(info.getConta().getContaModelF()); | ||
46 | + bean.setContamodelf(info.getConta().getContaModelB()); | ||
47 | + bean.setContanum(info.getConta().getContaNum()); | ||
48 | + bean.setContareco(info.getConta().getContaReco()); | ||
49 | + bean.setDricno(info.getIc().getDRICNO()); | ||
50 | + bean.setIcdrcustomsno(info.getIc().getIcDrCustomsNo()); | ||
51 | + bean.setIccocustomsno(info.getIc().getIcCoCustomsNo()); | ||
52 | + bean.setIcbillno(info.getIc().getIcBillNo()); | ||
53 | + bean.setIcgrosswt(info.getIc().getIcGrossWt()); | ||
54 | + bean.setIcvecustomsno(info.getIc().getIcVeCustomsNo()); | ||
55 | + bean.setIcvename(info.getIc().getIcVeName()); | ||
56 | + bean.setIccontaid(info.getIc().getIcContaId()); | ||
57 | + bean.setIcesealid(info.getIc().getIcEsealId()); | ||
58 | + bean.setIcbusstype(info.getIc().getIcBussType()); | ||
59 | + bean.setIcexdata(info.getIc().getIcExData()); | ||
60 | + bean.setGrosswt(info.getWeight().getGrossWt()); | ||
61 | + bean.setTrecno(info.getTrailer().getTrEcNo()); | ||
62 | + bean.setTrname(info.getTrailer().getTrName()); | ||
63 | + bean.setTrwt(info.getTrailer().getTrWt()); | ||
64 | + bean.setEsealicno(info.getSeal().getEsealIcNo()); | ||
65 | + bean.setEsealid(info.getSeal().getEsealId()); | ||
66 | + | ||
67 | + System.out.println(bean.toString()); | ||
68 | + return bean; | ||
69 | + } | ||
70 | + | ||
71 | +} |
1 | +package com.thinkgem.jeesite.modules.bw.entity.gather; | ||
2 | + | ||
3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
4 | + | ||
5 | +public class IC { | ||
6 | + | ||
7 | + @XStreamAlias("DR_IC_NO") | ||
8 | + private String DRICNO; | ||
9 | + | ||
10 | + @XStreamAlias("IC_DR_CUSTOMS_NO") | ||
11 | + private String IcDrCustomsNo; | ||
12 | + | ||
13 | + @XStreamAlias("IC_CO_CUSTOMS_NO") | ||
14 | + private String IcCoCustomsNo; | ||
15 | + | ||
16 | + @XStreamAlias("IC_BILL_NO") | ||
17 | + private String IcBillNo; | ||
18 | + | ||
19 | + @XStreamAlias("IC_GROSS_WT") | ||
20 | + private String IcGrossWt; | ||
21 | + | ||
22 | + @XStreamAlias("IC_VE_CUSTOMS_NO") | ||
23 | + private String IcVeCustomsNo; | ||
24 | + | ||
25 | + @XStreamAlias("IC_VE_NAME") | ||
26 | + private String IcVeName; | ||
27 | + | ||
28 | + @XStreamAlias("IC_CONTA_ID") | ||
29 | + private String IcContaId; | ||
30 | + | ||
31 | + @XStreamAlias("IC_ESEAL_ID") | ||
32 | + private String IcEsealId; | ||
33 | + | ||
34 | + @XStreamAlias("IC_BUSS_TYPE") | ||
35 | + private String IcBussType; | ||
36 | + | ||
37 | + @XStreamAlias("IC_EX_DATA") | ||
38 | + private String IcExData; | ||
39 | + | ||
40 | + public String getDRICNO() { | ||
41 | + return DRICNO; | ||
42 | + } | ||
43 | + | ||
44 | + public void setDRICNO(String dRICNO) { | ||
45 | + DRICNO = dRICNO; | ||
46 | + } | ||
47 | + | ||
48 | + public String getIcDrCustomsNo() { | ||
49 | + return IcDrCustomsNo; | ||
50 | + } | ||
51 | + | ||
52 | + public void setIcDrCustomsNo(String icDrCustomsNo) { | ||
53 | + IcDrCustomsNo = icDrCustomsNo; | ||
54 | + } | ||
55 | + | ||
56 | + public String getIcCoCustomsNo() { | ||
57 | + return IcCoCustomsNo; | ||
58 | + } | ||
59 | + | ||
60 | + public void setIcCoCustomsNo(String icCoCustomsNo) { | ||
61 | + IcCoCustomsNo = icCoCustomsNo; | ||
62 | + } | ||
63 | + | ||
64 | + public String getIcBillNo() { | ||
65 | + return IcBillNo; | ||
66 | + } | ||
67 | + | ||
68 | + public void setIcBillNo(String icBillNo) { | ||
69 | + IcBillNo = icBillNo; | ||
70 | + } | ||
71 | + | ||
72 | + public String getIcGrossWt() { | ||
73 | + return IcGrossWt; | ||
74 | + } | ||
75 | + | ||
76 | + public void setIcGrossWt(String icGrossWt) { | ||
77 | + IcGrossWt = icGrossWt; | ||
78 | + } | ||
79 | + | ||
80 | + public String getIcVeCustomsNo() { | ||
81 | + return IcVeCustomsNo; | ||
82 | + } | ||
83 | + | ||
84 | + public void setIcVeCustomsNo(String icVeCustomsNo) { | ||
85 | + IcVeCustomsNo = icVeCustomsNo; | ||
86 | + } | ||
87 | + | ||
88 | + public String getIcVeName() { | ||
89 | + return IcVeName; | ||
90 | + } | ||
91 | + | ||
92 | + public void setIcVeName(String icVeName) { | ||
93 | + IcVeName = icVeName; | ||
94 | + } | ||
95 | + | ||
96 | + public String getIcContaId() { | ||
97 | + return IcContaId; | ||
98 | + } | ||
99 | + | ||
100 | + public void setIcContaId(String icContaId) { | ||
101 | + IcContaId = icContaId; | ||
102 | + } | ||
103 | + | ||
104 | + public String getIcEsealId() { | ||
105 | + return IcEsealId; | ||
106 | + } | ||
107 | + | ||
108 | + public void setIcEsealId(String icEsealId) { | ||
109 | + IcEsealId = icEsealId; | ||
110 | + } | ||
111 | + | ||
112 | + public String getIcBussType() { | ||
113 | + return IcBussType; | ||
114 | + } | ||
115 | + | ||
116 | + public void setIcBussType(String icBussType) { | ||
117 | + IcBussType = icBussType; | ||
118 | + } | ||
119 | + | ||
120 | + public String getIcExData() { | ||
121 | + return IcExData; | ||
122 | + } | ||
123 | + | ||
124 | + public void setIcExData(String icExData) { | ||
125 | + IcExData = icExData; | ||
126 | + } | ||
127 | + | ||
128 | + | ||
129 | + | ||
130 | +} |
1 | +package com.thinkgem.jeesite.modules.bw.entity.gather; | ||
2 | + | ||
3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
4 | + | ||
5 | +@XStreamAlias("SEAL") | ||
6 | +public class Seal { | ||
7 | + | ||
8 | + @XStreamAlias("ESEAL_ID") | ||
9 | + private String EsealId; | ||
10 | + | ||
11 | + @XStreamAlias("ESEAL_IC_NO") | ||
12 | + private String EsealIcNo; | ||
13 | + | ||
14 | + public String getEsealId() { | ||
15 | + return EsealId; | ||
16 | + } | ||
17 | + | ||
18 | + public void setEsealId(String esealId) { | ||
19 | + EsealId = esealId; | ||
20 | + } | ||
21 | + | ||
22 | + public String getEsealIcNo() { | ||
23 | + return EsealIcNo; | ||
24 | + } | ||
25 | + | ||
26 | + public void setEsealIcNo(String esealIcNo) { | ||
27 | + EsealIcNo = esealIcNo; | ||
28 | + } | ||
29 | + | ||
30 | + | ||
31 | + | ||
32 | +} |
1 | +package com.thinkgem.jeesite.modules.bw.entity.gather; | ||
2 | + | ||
3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
4 | + | ||
5 | +@XStreamAlias("TRAILER") | ||
6 | +public class Trailer { | ||
7 | + | ||
8 | + @XStreamAlias("TR_EC_NO") | ||
9 | + private String trEcNo; | ||
10 | + | ||
11 | + @XStreamAlias("TR_NAME") | ||
12 | + private String TrName; | ||
13 | + | ||
14 | + @XStreamAlias("TR_WT") | ||
15 | + private Double TrWt; | ||
16 | + | ||
17 | + public String getTrEcNo() { | ||
18 | + return trEcNo; | ||
19 | + } | ||
20 | + | ||
21 | + public void setTrEcNo(String trEcNo) { | ||
22 | + this.trEcNo = trEcNo; | ||
23 | + } | ||
24 | + | ||
25 | + public String getTrName() { | ||
26 | + return TrName; | ||
27 | + } | ||
28 | + | ||
29 | + public void setTrName(String trName) { | ||
30 | + TrName = trName; | ||
31 | + } | ||
32 | + | ||
33 | + public Double getTrWt() { | ||
34 | + return TrWt; | ||
35 | + } | ||
36 | + | ||
37 | + public void setTrWt(Double trWt) { | ||
38 | + TrWt = trWt; | ||
39 | + } | ||
40 | + | ||
41 | + | ||
42 | +} |
1 | +package com.thinkgem.jeesite.modules.bw.entity.gather; | ||
2 | + | ||
3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
4 | + | ||
5 | +@XStreamAlias("WEIGHT") | ||
6 | +public class Weight { | ||
7 | + | ||
8 | + @XStreamAlias("GROSS_WT") | ||
9 | + private Double GrossWt; | ||
10 | + | ||
11 | + public Double getGrossWt() { | ||
12 | + return GrossWt; | ||
13 | + } | ||
14 | + | ||
15 | + public void setGrossWt(Double grossWt) { | ||
16 | + GrossWt = grossWt; | ||
17 | + } | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.service.dct; | ||
5 | + | ||
6 | +import java.util.List; | ||
7 | + | ||
8 | +import org.springframework.stereotype.Service; | ||
9 | +import org.springframework.transaction.annotation.Transactional; | ||
10 | + | ||
11 | +import com.thinkgem.jeesite.common.persistence.Page; | ||
12 | +import com.thinkgem.jeesite.common.service.CrudService; | ||
13 | +import com.thinkgem.jeesite.modules.bw.entity.dct.Dtcmessagehead; | ||
14 | +import com.thinkgem.jeesite.modules.bw.dao.dct.DtcmessageheadDao; | ||
15 | + | ||
16 | +/** | ||
17 | + * 实体Service | ||
18 | + * @author zhangfan | ||
19 | + * @version 2018-10-20 | ||
20 | + */ | ||
21 | +@Service | ||
22 | +@Transactional(readOnly = true) | ||
23 | +public class DtcmessageheadService extends CrudService<DtcmessageheadDao, Dtcmessagehead> { | ||
24 | + | ||
25 | + public Dtcmessagehead get(String id) { | ||
26 | + return super.get(id); | ||
27 | + } | ||
28 | + | ||
29 | + public List<Dtcmessagehead> findList(Dtcmessagehead dtcmessagehead) { | ||
30 | + return super.findList(dtcmessagehead); | ||
31 | + } | ||
32 | + | ||
33 | + public Page<Dtcmessagehead> findPage(Page<Dtcmessagehead> page, Dtcmessagehead dtcmessagehead) { | ||
34 | + return super.findPage(page, dtcmessagehead); | ||
35 | + } | ||
36 | + | ||
37 | + @Transactional(readOnly = false) | ||
38 | + public void save(Dtcmessagehead dtcmessagehead) { | ||
39 | + super.save(dtcmessagehead); | ||
40 | + } | ||
41 | + | ||
42 | + @Transactional(readOnly = false) | ||
43 | + public void delete(Dtcmessagehead dtcmessagehead) { | ||
44 | + super.delete(dtcmessagehead); | ||
45 | + } | ||
46 | + | ||
47 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.service.dct; | ||
5 | + | ||
6 | +import java.util.List; | ||
7 | + | ||
8 | +import org.springframework.stereotype.Service; | ||
9 | +import org.springframework.transaction.annotation.Transactional; | ||
10 | + | ||
11 | +import com.thinkgem.jeesite.common.persistence.Page; | ||
12 | +import com.thinkgem.jeesite.common.service.CrudService; | ||
13 | +import com.thinkgem.jeesite.modules.bw.entity.dct.Gatherinfo; | ||
14 | +import com.thinkgem.jeesite.modules.bw.dao.dct.GatherinfoDao; | ||
15 | + | ||
16 | +/** | ||
17 | + * 实体Service | ||
18 | + * @author zhangfan | ||
19 | + * @version 2018-10-19 | ||
20 | + */ | ||
21 | +@Service | ||
22 | +@Transactional(readOnly = true) | ||
23 | +public class GatherinfoService extends CrudService<GatherinfoDao, Gatherinfo> { | ||
24 | + | ||
25 | + public Gatherinfo get(String id) { | ||
26 | + return super.get(id); | ||
27 | + } | ||
28 | + | ||
29 | + public List<Gatherinfo> findList(Gatherinfo gatherinfo) { | ||
30 | + return super.findList(gatherinfo); | ||
31 | + } | ||
32 | + | ||
33 | + public Page<Gatherinfo> findPage(Page<Gatherinfo> page, Gatherinfo gatherinfo) { | ||
34 | + return super.findPage(page, gatherinfo); | ||
35 | + } | ||
36 | + | ||
37 | + @Transactional(readOnly = false) | ||
38 | + public void save(Gatherinfo gatherinfo) { | ||
39 | + super.save(gatherinfo); | ||
40 | + } | ||
41 | + | ||
42 | + @Transactional(readOnly = false) | ||
43 | + public void delete(Gatherinfo gatherinfo) { | ||
44 | + super.delete(gatherinfo); | ||
45 | + } | ||
46 | + | ||
47 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.service.dct; | ||
5 | + | ||
6 | +import java.util.List; | ||
7 | + | ||
8 | +import org.springframework.stereotype.Service; | ||
9 | +import org.springframework.transaction.annotation.Transactional; | ||
10 | + | ||
11 | +import com.thinkgem.jeesite.common.persistence.Page; | ||
12 | +import com.thinkgem.jeesite.common.service.CrudService; | ||
13 | +import com.thinkgem.jeesite.modules.bw.entity.dct.PortManifestBody; | ||
14 | +import com.thinkgem.jeesite.modules.bw.dao.dct.PortManifestBodyDao; | ||
15 | + | ||
16 | +/** | ||
17 | + * 报文解析Service | ||
18 | + * @author zhangfan | ||
19 | + * @version 2018-10-16 | ||
20 | + */ | ||
21 | +@Service | ||
22 | +@Transactional(readOnly = true) | ||
23 | +public class PortManifestBodyService extends CrudService<PortManifestBodyDao, PortManifestBody> { | ||
24 | + | ||
25 | + public PortManifestBody get(String id) { | ||
26 | + return super.get(id); | ||
27 | + } | ||
28 | + | ||
29 | + public List<PortManifestBody> findList(PortManifestBody portManifestBody) { | ||
30 | + return super.findList(portManifestBody); | ||
31 | + } | ||
32 | + | ||
33 | + public Page<PortManifestBody> findPage(Page<PortManifestBody> page, PortManifestBody portManifestBody) { | ||
34 | + return super.findPage(page, portManifestBody); | ||
35 | + } | ||
36 | + | ||
37 | + @Transactional(readOnly = false) | ||
38 | + public void save(PortManifestBody portManifestBody) { | ||
39 | + super.save(portManifestBody); | ||
40 | + } | ||
41 | + | ||
42 | + @Transactional(readOnly = false) | ||
43 | + public void delete(PortManifestBody portManifestBody) { | ||
44 | + super.delete(portManifestBody); | ||
45 | + } | ||
46 | + | ||
47 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.service.dct; | ||
5 | + | ||
6 | +import java.util.List; | ||
7 | + | ||
8 | +import org.springframework.stereotype.Service; | ||
9 | +import org.springframework.transaction.annotation.Transactional; | ||
10 | + | ||
11 | +import com.thinkgem.jeesite.common.persistence.Page; | ||
12 | +import com.thinkgem.jeesite.common.service.CrudService; | ||
13 | +import com.thinkgem.jeesite.modules.bw.entity.dct.PortManifestHead; | ||
14 | +import com.thinkgem.jeesite.modules.bw.dao.dct.PortManifestHeadDao; | ||
15 | + | ||
16 | +/** | ||
17 | + * 实体Service | ||
18 | + * @author zhangfan | ||
19 | + * @version 2018-10-16 | ||
20 | + */ | ||
21 | +@Service | ||
22 | +@Transactional(readOnly = true) | ||
23 | +public class PortManifestHeadService extends CrudService<PortManifestHeadDao, PortManifestHead> { | ||
24 | + | ||
25 | + public PortManifestHead get(String id) { | ||
26 | + return super.get(id); | ||
27 | + } | ||
28 | + | ||
29 | + public List<PortManifestHead> findList(PortManifestHead portManifestHead) { | ||
30 | + return super.findList(portManifestHead); | ||
31 | + } | ||
32 | + | ||
33 | + public Page<PortManifestHead> findPage(Page<PortManifestHead> page, PortManifestHead portManifestHead) { | ||
34 | + return super.findPage(page, portManifestHead); | ||
35 | + } | ||
36 | + | ||
37 | + @Transactional(readOnly = false) | ||
38 | + public void save(PortManifestHead portManifestHead) { | ||
39 | + super.save(portManifestHead); | ||
40 | + } | ||
41 | + | ||
42 | + @Transactional(readOnly = false) | ||
43 | + public void delete(PortManifestHead portManifestHead) { | ||
44 | + super.delete(portManifestHead); | ||
45 | + } | ||
46 | + | ||
47 | +} |
src/main/java/com/thinkgem/jeesite/modules/bw/service/dct/PortManifestHeadStatService.java
0 → 100644
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.service.dct; | ||
5 | + | ||
6 | +import java.util.List; | ||
7 | + | ||
8 | +import org.springframework.stereotype.Service; | ||
9 | +import org.springframework.transaction.annotation.Transactional; | ||
10 | + | ||
11 | +import com.thinkgem.jeesite.common.persistence.Page; | ||
12 | +import com.thinkgem.jeesite.common.service.CrudService; | ||
13 | +import com.thinkgem.jeesite.modules.bw.entity.dct.PortManifestHeadStat; | ||
14 | +import com.thinkgem.jeesite.modules.bw.dao.dct.PortManifestHeadStatDao; | ||
15 | + | ||
16 | +/** | ||
17 | + * 实体Service | ||
18 | + * @author zhangfan | ||
19 | + * @version 2018-10-16 | ||
20 | + */ | ||
21 | +@Service | ||
22 | +@Transactional(readOnly = true) | ||
23 | +public class PortManifestHeadStatService extends CrudService<PortManifestHeadStatDao, PortManifestHeadStat> { | ||
24 | + | ||
25 | + public PortManifestHeadStat get(String id) { | ||
26 | + return super.get(id); | ||
27 | + } | ||
28 | + | ||
29 | + public List<PortManifestHeadStat> findList(PortManifestHeadStat portManifestHeadStat) { | ||
30 | + return super.findList(portManifestHeadStat); | ||
31 | + } | ||
32 | + | ||
33 | + public Page<PortManifestHeadStat> findPage(Page<PortManifestHeadStat> page, PortManifestHeadStat portManifestHeadStat) { | ||
34 | + return super.findPage(page, portManifestHeadStat); | ||
35 | + } | ||
36 | + | ||
37 | + @Transactional(readOnly = false) | ||
38 | + public void save(PortManifestHeadStat portManifestHeadStat) { | ||
39 | + super.save(portManifestHeadStat); | ||
40 | + } | ||
41 | + | ||
42 | + @Transactional(readOnly = false) | ||
43 | + public void delete(PortManifestHeadStat portManifestHeadStat) { | ||
44 | + super.delete(portManifestHeadStat); | ||
45 | + } | ||
46 | + | ||
47 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.bw.service.dct; | ||
5 | + | ||
6 | +import java.util.List; | ||
7 | + | ||
8 | +import org.springframework.stereotype.Service; | ||
9 | +import org.springframework.transaction.annotation.Transactional; | ||
10 | + | ||
11 | +import com.thinkgem.jeesite.common.persistence.Page; | ||
12 | +import com.thinkgem.jeesite.common.service.CrudService; | ||
13 | +import com.thinkgem.jeesite.modules.bw.entity.dct.VExpressBillno; | ||
14 | +import com.thinkgem.jeesite.modules.bw.dao.dct.VExpressBillnoDao; | ||
15 | + | ||
16 | +/** | ||
17 | + * 实体Service | ||
18 | + * @author zhangfan | ||
19 | + * @version 2018-10-16 | ||
20 | + */ | ||
21 | +@Service | ||
22 | +@Transactional(readOnly = true) | ||
23 | +public class VExpressBillnoService extends CrudService<VExpressBillnoDao, VExpressBillno> { | ||
24 | + | ||
25 | + public VExpressBillno get(String id) { | ||
26 | + return super.get(id); | ||
27 | + } | ||
28 | + | ||
29 | + public List<VExpressBillno> findList(VExpressBillno vExpressBillno) { | ||
30 | + return super.findList(vExpressBillno); | ||
31 | + } | ||
32 | + | ||
33 | + public Page<VExpressBillno> findPage(Page<VExpressBillno> page, VExpressBillno vExpressBillno) { | ||
34 | + return super.findPage(page, vExpressBillno); | ||
35 | + } | ||
36 | + | ||
37 | + @Transactional(readOnly = false) | ||
38 | + public void save(VExpressBillno vExpressBillno) { | ||
39 | + super.save(vExpressBillno); | ||
40 | + } | ||
41 | + | ||
42 | + @Transactional(readOnly = false) | ||
43 | + public void delete(VExpressBillno vExpressBillno) { | ||
44 | + super.delete(vExpressBillno); | ||
45 | + } | ||
46 | + | ||
47 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.land.dao; | ||
5 | + | ||
6 | +import com.thinkgem.jeesite.common.persistence.CrudDao; | ||
7 | +import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; | ||
8 | +import com.thinkgem.jeesite.modules.land.entity.LandBusinesstypeList; | ||
9 | + | ||
10 | +/** | ||
11 | + * 货物流转类型DAO接口 | ||
12 | + * @author zhangfan | ||
13 | + * @version 2018-10-08 | ||
14 | + */ | ||
15 | +@MyBatisDao | ||
16 | +public interface LandBusinesstypeListDao extends CrudDao<LandBusinesstypeList> { | ||
17 | + | ||
18 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.land.dao; | ||
5 | + | ||
6 | +import com.thinkgem.jeesite.common.persistence.CrudDao; | ||
7 | +import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; | ||
8 | +import com.thinkgem.jeesite.modules.land.entity.LandCorporationInfo; | ||
9 | + | ||
10 | +/** | ||
11 | + * 企业备案DAO接口 | ||
12 | + * @author zhangfan | ||
13 | + * @version 2018-10-08 | ||
14 | + */ | ||
15 | +@MyBatisDao | ||
16 | +public interface LandCorporationInfoDao extends CrudDao<LandCorporationInfo> { | ||
17 | + | ||
18 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.land.dao; | ||
5 | + | ||
6 | +import com.thinkgem.jeesite.common.persistence.CrudDao; | ||
7 | +import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; | ||
8 | +import com.thinkgem.jeesite.modules.land.entity.LandResponseMessage; | ||
9 | + | ||
10 | +/** | ||
11 | + * 回执内容DAO接口 | ||
12 | + * @author zhangfan | ||
13 | + * @version 2018-10-08 | ||
14 | + */ | ||
15 | +@MyBatisDao | ||
16 | +public interface LandResponseMessageDao extends CrudDao<LandResponseMessage> { | ||
17 | + | ||
18 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.land.dao; | ||
5 | + | ||
6 | +import com.thinkgem.jeesite.common.persistence.CrudDao; | ||
7 | +import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; | ||
8 | +import com.thinkgem.jeesite.modules.land.entity.LandRoadDrRecord; | ||
9 | + | ||
10 | +/** | ||
11 | + * 驾驶员备案DAO接口 | ||
12 | + * @author zhangfan | ||
13 | + * @version 2018-10-08 | ||
14 | + */ | ||
15 | +@MyBatisDao | ||
16 | +public interface LandRoadDrRecordDao extends CrudDao<LandRoadDrRecord> { | ||
17 | + | ||
18 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.land.dao; | ||
5 | + | ||
6 | +import com.thinkgem.jeesite.common.persistence.CrudDao; | ||
7 | +import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; | ||
8 | +import com.thinkgem.jeesite.modules.land.entity.LandRoadTrailerRecord; | ||
9 | + | ||
10 | +/** | ||
11 | + * 挂车备案DAO接口 | ||
12 | + * @author zhangfan | ||
13 | + * @version 2018-10-08 | ||
14 | + */ | ||
15 | +@MyBatisDao | ||
16 | +public interface LandRoadTrailerRecordDao extends CrudDao<LandRoadTrailerRecord> { | ||
17 | + | ||
18 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.land.dao; | ||
5 | + | ||
6 | +import com.thinkgem.jeesite.common.persistence.CrudDao; | ||
7 | +import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; | ||
8 | +import com.thinkgem.jeesite.modules.land.entity.LandRoadVeRecord; | ||
9 | + | ||
10 | +/** | ||
11 | + * 汽车备案DAO接口 | ||
12 | + * @author zhangfan | ||
13 | + * @version 2018-10-08 | ||
14 | + */ | ||
15 | +@MyBatisDao | ||
16 | +public interface LandRoadVeRecordDao extends CrudDao<LandRoadVeRecord> { | ||
17 | + | ||
18 | +} |
1 | +/** | ||
2 | + * Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. | ||
3 | + */ | ||
4 | +package com.thinkgem.jeesite.modules.land.entity; | ||
5 | + | ||
6 | +import org.hibernate.validator.constraints.Length; | ||
7 | +import java.util.Date; | ||
8 | +import com.fasterxml.jackson.annotation.JsonFormat; | ||
9 | + | ||
10 | +import com.thinkgem.jeesite.common.persistence.DataEntity; | ||
11 | + | ||
12 | +/** | ||
13 | + * 货物流转类型Entity | ||
14 | + * @author zhangfan | ||
15 | + * @version 2018-10-08 | ||
16 | + */ | ||
17 | +public class LandBusinesstypeList extends DataEntity<LandBusinesstypeList> { | ||
18 | + | ||
19 | + private static final long serialVersionUID = 1L; | ||
20 | + private String massageId; // 主键 | ||
21 | + private String trailerFrameNo; // 车牌号 | ||
22 | + private String trailerLicenseNo; // 车架号 | ||
23 | + private String masterList; // 主单列表 | ||
24 | + private Date prodectTime; // prodect_time | ||
25 | + private String returnmessage; // 回执内容 | ||
26 | + private String agentno; // 货代代码 | ||
27 | + private String agentname; // 货代名称 | ||
28 | + private String cocode; // 所在企业代码 | ||
29 | + private String drivername; // 驾驶员姓名 | ||
30 | + private String driverid; // 驾驶员ID | ||
31 | + private String startport; // 起始海关代码 | ||
32 | + private String endport; // 目的关区代码 | ||
33 | + private String startsatation; // 场站 | ||
34 | + private String endstation; // 目的场站 | ||
35 | + private String aisle; // 通道,卡口 | ||
36 | + private String businesstype; // 业务类型(1.出口送货,2:进口提货,3:分拨分流,4:货运调拨) | ||
37 | + private String turnoverflag; // 进出场标识 | ||
38 | + private String contrastflag; // 校验标识 | ||
39 | + | ||
40 | + public LandBusinesstypeList() { | ||
41 | + super(); | ||
42 | + } | ||
43 | + | ||
44 | + public LandBusinesstypeList(String id){ | ||
45 | + super(id); | ||
46 | + } | ||
47 | + | ||
48 | + @Length(min=0, max=64, message="主键长度必须介于 0 和 64 之间") | ||
49 | + public String getMassageId() { | ||
50 | + return massageId; | ||
51 | + } | ||
52 | + | ||
53 | + public void setMassageId(String massageId) { | ||
54 | + this.massageId = massageId; | ||
55 | + } | ||
56 | + | ||
57 | + @Length(min=0, max=32, message="车牌号长度必须介于 0 和 32 之间") | ||
58 | + public String getTrailerFrameNo() { | ||
59 | + return trailerFrameNo; | ||
60 | + } | ||
61 | + | ||
62 | + public void setTrailerFrameNo(String trailerFrameNo) { | ||
63 | + this.trailerFrameNo = trailerFrameNo; | ||
64 | + } | ||
65 | + | ||
66 | + @Length(min=0, max=64, message="车架号长度必须介于 0 和 64 之间") | ||
67 | + public String getTrailerLicenseNo() { | ||
68 | + return trailerLicenseNo; | ||
69 | + } | ||
70 | + | ||
71 | + public void setTrailerLicenseNo(String trailerLicenseNo) { | ||
72 | + this.trailerLicenseNo = trailerLicenseNo; | ||
73 | + } | ||
74 | + | ||
75 | + @Length(min=0, max=1024, message="主单列表长度必须介于 0 和 1024 之间") | ||
76 | + public String getMasterList() { | ||
77 | + return masterList; | ||
78 | + } | ||
79 | + | ||
80 | + public void setMasterList(String masterList) { | ||
81 | + this.masterList = masterList; | ||
82 | + } | ||
83 | + | ||
84 | + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||
85 | + public Date getProdectTime() { | ||
86 | + return prodectTime; | ||
87 | + } | ||
88 | + | ||
89 | + public void setProdectTime(Date prodectTime) { | ||
90 | + this.prodectTime = prodectTime; | ||
91 | + } | ||
92 | + | ||
93 | + @Length(min=0, max=255, message="回执内容长度必须介于 0 和 255 之间") | ||
94 | + public String getReturnmessage() { | ||
95 | + return returnmessage; | ||
96 | + } | ||
97 | + | ||
98 | + public void setReturnmessage(String returnmessage) { | ||
99 | + this.returnmessage = returnmessage; | ||
100 | + } | ||
101 | + | ||
102 | + @Length(min=0, max=32, message="货代代码长度必须介于 0 和 32 之间") | ||
103 | + public String getAgentno() { | ||
104 | + return agentno; | ||
105 | + } | ||
106 | + | ||
107 | + public void setAgentno(String agentno) { | ||
108 | + this.agentno = agentno; | ||
109 | + } | ||
110 | + | ||
111 | + @Length(min=0, max=255, message="货代名称长度必须介于 0 和 255 之间") | ||
112 | + public String getAgentname() { | ||
113 | + return agentname; | ||
114 | + } | ||
115 | + | ||
116 | + public void setAgentname(String agentname) { | ||
117 | + this.agentname = agentname; | ||
118 | + } | ||
119 | + | ||
120 | + @Length(min=0, max=32, message="所在企业代码长度必须介于 0 和 32 之间") | ||
121 | + public String getCocode() { | ||
122 | + return cocode; | ||
123 | + } | ||
124 | + | ||
125 | + public void setCocode(String cocode) { | ||
126 | + this.cocode = cocode; | ||
127 | + } | ||
128 | + | ||
129 | + @Length(min=0, max=32, message="驾驶员姓名长度必须介于 0 和 32 之间") | ||
130 | + public String getDrivername() { | ||
131 | + return drivername; | ||
132 | + } | ||
133 | + | ||
134 | + public void setDrivername(String drivername) { | ||
135 | + this.drivername = drivername; | ||
136 | + } | ||
137 | + | ||
138 | + @Length(min=0, max=32, message="驾驶员ID长度必须介于 0 和 32 之间") | ||
139 | + public String getDriverid() { | ||
140 | + return driverid; | ||
141 | + } | ||
142 | + | ||
143 | + public void setDriverid(String driverid) { | ||
144 | + this.driverid = driverid; | ||
145 | + } | ||
146 | + | ||
147 | + @Length(min=0, max=4, message="起始海关代码长度必须介于 0 和 4 之间") | ||
148 | + public String getStartport() { | ||
149 | + return startport; | ||
150 | + } | ||
151 | + | ||
152 | + public void setStartport(String startport) { | ||
153 | + this.startport = startport; | ||
154 | + } | ||
155 | + | ||
156 | + @Length(min=0, max=4, message="目的关区代码长度必须介于 0 和 4 之间") | ||
157 | + public String getEndport() { | ||
158 | + return endport; | ||
159 | + } | ||
160 | + | ||
161 | + public void setEndport(String endport) { | ||
162 | + this.endport = endport; | ||
163 | + } | ||
164 | + | ||
165 | + @Length(min=0, max=64, message="场站长度必须介于 0 和 64 之间") | ||
166 | + public String getStartsatation() { | ||
167 | + return startsatation; | ||
168 | + } | ||
169 | + | ||
170 | + public void setStartsatation(String startsatation) { | ||
171 | + this.startsatation = startsatation; | ||
172 | + } | ||
173 | + | ||
174 | + @Length(min=0, max=64, message="目的场站长度必须介于 0 和 64 之间") | ||
175 | + public String getEndstation() { | ||
176 | + return endstation; | ||
177 | + } | ||
178 | + | ||
179 | + public void setEndstation(String endstation) { | ||
180 | + this.endstation = endstation; | ||
181 | + } | ||
182 | + | ||
183 | + @Length(min=0, max=32, message="通道,卡口长度必须介于 0 和 32 之间") | ||
184 | + public String getAisle() { | ||
185 | + return aisle; | ||
186 | + } | ||
187 | + | ||
188 | + public void setAisle(String aisle) { | ||
189 | + this.aisle = aisle; | ||
190 | + } | ||
191 | + | ||
192 | + public String getBusinesstype() { | ||
193 | + return businesstype; | ||
194 | + } | ||
195 | + | ||
196 | + public void setBusinesstype(String businesstype) { | ||
197 | + this.businesstype = businesstype; | ||
198 | + } | ||
199 | + | ||
200 | + @Length(min=0, max=5, message="进出场标识长度必须介于 0 和 5 之间") | ||
201 | + public String getTurnoverflag() { | ||
202 | + return turnoverflag; | ||
203 | + } | ||
204 | + | ||
205 | + public void setTurnoverflag(String turnoverflag) { | ||
206 | + this.turnoverflag = turnoverflag; | ||
207 | + } | ||
208 | + | ||
209 | + @Length(min=0, max=5, message="校验标识长度必须介于 0 和 5 之间") | ||
210 | + public String getContrastflag() { | ||
211 | + return contrastflag; | ||
212 | + } | ||
213 | + | ||
214 | + public void setContrastflag(String contrastflag) { | ||
215 | + this.contrastflag = contrastflag; | ||
216 | + } | ||
217 | + | ||
218 | +} |
-
请 注册 或 登录 后发表评论