李俊

内网迁移环境代码调整

...@@ -42,27 +42,25 @@ public class Mawb implements Serializable { ...@@ -42,27 +42,25 @@ public class Mawb implements Serializable {
42 42
43 43
44 @ApiModelProperty(value = "进出口标志", name = "IEFlag", example = "固定值:E") 44 @ApiModelProperty(value = "进出口标志", name = "IEFlag", example = "固定值:E")
45 - @NotBlank(message="参数ieFlag不能为空")
46 @Column(name = "IEFLAG") 45 @Column(name = "IEFLAG")
47 private String ieFlag; 46 private String ieFlag;
48 47
49 @ApiModelProperty(value = "报关类型", name = "Type", example = "固定值:EX") 48 @ApiModelProperty(value = "报关类型", name = "Type", example = "固定值:EX")
50 - @NotBlank(message="参数type不能为空")
51 @Column(name = "TYPE") 49 @Column(name = "TYPE")
52 private String type; 50 private String type;
53 51
54 @ApiModelProperty(value = "申报单位代码", name = "agentCode", example = "固定值:1111980005") 52 @ApiModelProperty(value = "申报单位代码", name = "agentCode", example = "固定值:1111980005")
55 - //@NotBlank(message="参数agentCode不能为空") 53 + ////@NotBlank(message="参数agentCode不能为空")
56 @Column(name = "AGENTCODE") 54 @Column(name = "AGENTCODE")
57 private String agentCode; 55 private String agentCode;
58 56
59 @ApiModelProperty(value = "申报单位名称", name = "agentName", example = "固定值:联邦快递(中国)有限公司") 57 @ApiModelProperty(value = "申报单位名称", name = "agentName", example = "固定值:联邦快递(中国)有限公司")
60 - //@NotBlank(message="参数agentName不能为空") 58 + ////@NotBlank(message="参数agentName不能为空")
61 @Column(name = "AGENTNAME") 59 @Column(name = "AGENTNAME")
62 private String agentName; 60 private String agentName;
63 61
64 @ApiModelProperty(value = "提单号", name = "billNo", example = "固定值:有总单号则取值‘总单号_运单号‘,没有总单号则取值‘运单号‘") 62 @ApiModelProperty(value = "提单号", name = "billNo", example = "固定值:有总单号则取值‘总单号_运单号‘,没有总单号则取值‘运单号‘")
65 - @NotBlank(message="参数billNo不能为空") 63 + //@NotBlank(message="参数billNo不能为空")
66 @Column(name = "BILLNO") 64 @Column(name = "BILLNO")
67 private String billNo; 65 private String billNo;
68 66
...@@ -71,27 +69,27 @@ public class Mawb implements Serializable { ...@@ -71,27 +69,27 @@ public class Mawb implements Serializable {
71 private String contrNo; 69 private String contrNo;
72 70
73 @ApiModelProperty(value = "主管海关(申报地海关)", name = "customMaster", example = "固定值:0101") 71 @ApiModelProperty(value = "主管海关(申报地海关)", name = "customMaster", example = "固定值:0101")
74 - @NotBlank(message="参数customMaster不能为空") 72 + //@NotBlank(message="参数customMaster不能为空")
75 @Column(name = "CUSTOMMASTER") 73 @Column(name = "CUSTOMMASTER")
76 private String customMaster; 74 private String customMaster;
77 75
78 @ApiModelProperty(value = "征免性质", name = "cutMode", example = "101") 76 @ApiModelProperty(value = "征免性质", name = "cutMode", example = "101")
79 - @NotBlank(message="参数cutMode不能为空") 77 + //@NotBlank(message="参数cutMode不能为空")
80 @Column(name = "CUTMODE") 78 @Column(name = "CUTMODE")
81 private String cutMode; 79 private String cutMode;
82 80
83 @ApiModelProperty(value = "报关/转关关系标志", name = "declTrnRel", example = "固定值:0") 81 @ApiModelProperty(value = "报关/转关关系标志", name = "declTrnRel", example = "固定值:0")
84 - //@NotBlank(message="参数declTrnRel不能为空") 82 + ////@NotBlank(message="参数declTrnRel不能为空")
85 @Column(name = "DECLTRNREL") 83 @Column(name = "DECLTRNREL")
86 private String declTrnRel; 84 private String declTrnRel;
87 85
88 @ApiModelProperty(value = "经停港/指运港", name = "distinatePort", example = "ASM000") 86 @ApiModelProperty(value = "经停港/指运港", name = "distinatePort", example = "ASM000")
89 - @NotBlank(message="参数distinatePort不能为空") 87 + //@NotBlank(message="参数distinatePort不能为空")
90 @Column(name = "DISTINATEPORT") 88 @Column(name = "DISTINATEPORT")
91 private String distinatePort; 89 private String distinatePort;
92 90
93 @ApiModelProperty(value = "报关标志", name = "EdiId", example = "001") 91 @ApiModelProperty(value = "报关标志", name = "EdiId", example = "001")
94 - //@NotBlank(message="参数ediId不能为空") 92 + ////@NotBlank(message="参数ediId不能为空")
95 @Column(name = "EDIID") 93 @Column(name = "EDIID")
96 private String ediId; 94 private String ediId;
97 95
...@@ -100,12 +98,12 @@ public class Mawb implements Serializable { ...@@ -100,12 +98,12 @@ public class Mawb implements Serializable {
100 private String entryId; 98 private String entryId;
101 99
102 @ApiModelProperty(value = "运费币制", name = "feeCurr", example = "固定值:3") 100 @ApiModelProperty(value = "运费币制", name = "feeCurr", example = "固定值:3")
103 -// @NotBlank(message="参数feeCurr不能为空") 101 +// //@NotBlank(message="参数feeCurr不能为空")
104 @Column(name = "FEECURR") 102 @Column(name = "FEECURR")
105 private String feeCurr; 103 private String feeCurr;
106 104
107 @ApiModelProperty(value = "运费标记", name = "feeMark", example = "99.22") 105 @ApiModelProperty(value = "运费标记", name = "feeMark", example = "99.22")
108 -// @NotBlank(message="参数feeMark不能为空") 106 +// //@NotBlank(message="参数feeMark不能为空")
109 @Column(name = "FEEMARK") 107 @Column(name = "FEEMARK")
110 private String feeMark; 108 private String feeMark;
111 109
...@@ -120,7 +118,7 @@ public class Mawb implements Serializable { ...@@ -120,7 +118,7 @@ public class Mawb implements Serializable {
120 private BigDecimal grossWet; 118 private BigDecimal grossWet;
121 119
122 @ApiModelProperty(value = "出入境关闭", name = "IEPort", example = "固定值:0101") 120 @ApiModelProperty(value = "出入境关闭", name = "IEPort", example = "固定值:0101")
123 - @NotBlank(message="参数iePort不能为空") 121 + //@NotBlank(message="参数iePort不能为空")
124 @Column(name = "IEPORT") 122 @Column(name = "IEPORT")
125 private String iePort; 123 private String iePort;
126 124
...@@ -129,7 +127,7 @@ public class Mawb implements Serializable { ...@@ -129,7 +127,7 @@ public class Mawb implements Serializable {
129 private String inputerName; 127 private String inputerName;
130 128
131 @ApiModelProperty(value = "保险费币制", name = "insurCurr", example = "MOP") 129 @ApiModelProperty(value = "保险费币制", name = "insurCurr", example = "MOP")
132 -// @NotBlank(message="参数insurCurr不能为空") 130 +// //@NotBlank(message="参数insurCurr不能为空")
133 @Column(name = "INSURCURR") 131 @Column(name = "INSURCURR")
134 private String insurCurr; 132 private String insurCurr;
135 133
...@@ -164,17 +162,14 @@ public class Mawb implements Serializable { ...@@ -164,17 +162,14 @@ public class Mawb implements Serializable {
164 private String otherMark; 162 private String otherMark;
165 163
166 @ApiModelProperty(value = "消费使用/生产销售单位代码", name = "ownerCode", example = "Z321654987") 164 @ApiModelProperty(value = "消费使用/生产销售单位代码", name = "ownerCode", example = "Z321654987")
167 - @NotBlank(message="参数ownerCode不能为空")
168 @Column(name = "OWNERCODE") 165 @Column(name = "OWNERCODE")
169 private String ownerCode; 166 private String ownerCode;
170 167
171 @ApiModelProperty(value = "消费使用/生产销售单位名称", name = "ownerName", example = "上海保险") 168 @ApiModelProperty(value = "消费使用/生产销售单位名称", name = "ownerName", example = "上海保险")
172 - @NotBlank(message="参数ownerName不能为空")
173 @Column(name = "OWNERNAME") 169 @Column(name = "OWNERNAME")
174 private String ownerName; 170 private String ownerName;
175 171
176 @ApiModelProperty(value = "件数", name = "packNo", example = "") 172 @ApiModelProperty(value = "件数", name = "packNo", example = "")
177 - @NotNull(message="参数packNo不能为空")
178 @Column(name = "PACKNO") 173 @Column(name = "PACKNO")
179 private Integer packNo; 174 private Integer packNo;
180 175
...@@ -182,52 +177,49 @@ public class Mawb implements Serializable { ...@@ -182,52 +177,49 @@ public class Mawb implements Serializable {
182 private String preEntryId; 177 private String preEntryId;
183 178
184 @ApiModelProperty(value = "启运国/运抵国", name = "tradeCountry", example = "USA") 179 @ApiModelProperty(value = "启运国/运抵国", name = "tradeCountry", example = "USA")
185 - @NotBlank(message="参数tradeCountry不能为空")
186 @Column(name = "TRADECOUNTRY") 180 @Column(name = "TRADECOUNTRY")
187 private String tradeCountry; 181 private String tradeCountry;
188 182
189 @ApiModelProperty(value = "监管方式", name = "tradeMode", example = "0200") 183 @ApiModelProperty(value = "监管方式", name = "tradeMode", example = "0200")
190 - @NotBlank(message="参数tradeMode不能为空")
191 @Column(name = "TRADEMODE") 184 @Column(name = "TRADEMODE")
192 private String tradeMode; 185 private String tradeMode;
193 186
194 @ApiModelProperty(value = "境内收发货人编号", name = "tradeCode", example = "Z321654987") 187 @ApiModelProperty(value = "境内收发货人编号", name = "tradeCode", example = "Z321654987")
195 - @NotBlank(message="参数tradeCode不能为空")
196 @Column(name = "TRADECODE") 188 @Column(name = "TRADECODE")
197 private String tradeCode; 189 private String tradeCode;
198 190
199 @ApiModelProperty(value = "运输方式代码", name = "trafMode", example = "1") 191 @ApiModelProperty(value = "运输方式代码", name = "trafMode", example = "1")
200 - @NotBlank(message="参数trafMode不能为空") 192 + //@NotBlank(message="参数trafMode不能为空")
201 @Column(name = "TRAFMODE") 193 @Column(name = "TRAFMODE")
202 private String trafMode; 194 private String trafMode;
203 195
204 @ApiModelProperty(value = "境内收发货人名称", name = "tradeName", example = "上海铢怡国际货物运输代理有限公司") 196 @ApiModelProperty(value = "境内收发货人名称", name = "tradeName", example = "上海铢怡国际货物运输代理有限公司")
205 - @NotBlank(message="参数tradeName不能为空") 197 + //@NotBlank(message="参数tradeName不能为空")
206 @Column(name = "TRADENAME") 198 @Column(name = "TRADENAME")
207 private String tradeName; 199 private String tradeName;
208 200
209 @ApiModelProperty(value = "成交方式", name = "transMode", example = "2") 201 @ApiModelProperty(value = "成交方式", name = "transMode", example = "2")
210 - @NotBlank(message="参数transMode不能为空") 202 + //@NotBlank(message="参数transMode不能为空")
211 @Column(name = "TRANSMODE") 203 @Column(name = "TRANSMODE")
212 private String transMode; 204 private String transMode;
213 205
214 @ApiModelProperty(value = "包装种类", name = "wrapType", example = "22") 206 @ApiModelProperty(value = "包装种类", name = "wrapType", example = "22")
215 - @NotBlank(message="参数wrapType不能为空") 207 + //@NotBlank(message="参数wrapType不能为空")
216 @Column(name = "WRAPTYPE") 208 @Column(name = "WRAPTYPE")
217 private String wrapType; 209 private String wrapType;
218 210
219 @ApiModelProperty(value = "生产核销单位统一信用代码---报关形式类型", name = "TradeCodeScc", example = "A74125896321456987") 211 @ApiModelProperty(value = "生产核销单位统一信用代码---报关形式类型", name = "TradeCodeScc", example = "A74125896321456987")
220 - @NotBlank(message="参数tradeCodeScc不能为空") 212 + //@NotBlank(message="参数tradeCodeScc不能为空")
221 @Column(name = "TRADECODESCC") 213 @Column(name = "TRADECODESCC")
222 private String tradeCodeScc; 214 private String tradeCodeScc;
223 215
224 @ApiModelProperty(value = "消费使用/生产销售单位单位统一编码", name = "ownerCodeScc", example = "") 216 @ApiModelProperty(value = "消费使用/生产销售单位单位统一编码", name = "ownerCodeScc", example = "")
225 - @NotBlank(message="参数ownerCodeScc不能为空") 217 + //@NotBlank(message="参数ownerCodeScc不能为空")
226 @Column(name = "OWNERCODESCC") 218 @Column(name = "OWNERCODESCC")
227 private String ownerCodeScc; 219 private String ownerCodeScc;
228 220
229 @ApiModelProperty(value = "贸易国别", name = "tradeAreaCode", example = "") 221 @ApiModelProperty(value = "贸易国别", name = "tradeAreaCode", example = "")
230 - @NotBlank(message="参数tradeAreaCode不能为空") 222 + //@NotBlank(message="参数tradeAreaCode不能为空")
231 @Column(name = "TRADEAREACODE") 223 @Column(name = "TRADEAREACODE")
232 private String tradeAreaCode; 224 private String tradeAreaCode;
233 225
...@@ -236,7 +228,7 @@ public class Mawb implements Serializable { ...@@ -236,7 +228,7 @@ public class Mawb implements Serializable {
236 private String markNo; 228 private String markNo;
237 229
238 @ApiModelProperty(value = "入境口岸代码", name = "entyPortCode", example = "固定值:110101") 230 @ApiModelProperty(value = "入境口岸代码", name = "entyPortCode", example = "固定值:110101")
239 - //@NotBlank(message="参数entyPortCode不能为空") 231 + ////@NotBlank(message="参数entyPortCode不能为空")
240 @Column(name = "ENTYPORTCODE") 232 @Column(name = "ENTYPORTCODE")
241 private String entyPortCode; 233 private String entyPortCode;
242 234
...@@ -256,7 +248,7 @@ public class Mawb implements Serializable { ...@@ -256,7 +248,7 @@ public class Mawb implements Serializable {
256 private String overseasConsigneeCode; 248 private String overseasConsigneeCode;
257 249
258 @ApiModelProperty(value = "境外收货人名称(外文)", name = "overseasConsigneeEname", example = "") 250 @ApiModelProperty(value = "境外收货人名称(外文)", name = "overseasConsigneeEname", example = "")
259 - @NotBlank(message="参数overseasConsigneeEname不能为空") 251 + //@NotBlank(message="参数overseasConsigneeEname不能为空")
260 @Column(name = "OVERSEASCONSIGNEEENAME") 252 @Column(name = "OVERSEASCONSIGNEEENAME")
261 private String overseasConsigneeEname; 253 private String overseasConsigneeEname;
262 254
......
...@@ -34,7 +34,7 @@ public class MawbDetail implements Serializable{ ...@@ -34,7 +34,7 @@ public class MawbDetail implements Serializable{
34 private Long mawbId; 34 private Long mawbId;
35 35
36 @Column(name="DETAILID") 36 @Column(name="DETAILID")
37 - @NotBlank(message="参数detailId不能为空") 37 + //@NotBlank(message="参数detailId不能为空")
38 private String detailId; 38 private String detailId;
39 39
40 @ApiModelProperty(value = "归类标志", example = "空值") 40 @ApiModelProperty(value = "归类标志", example = "空值")
...@@ -42,7 +42,7 @@ public class MawbDetail implements Serializable{ ...@@ -42,7 +42,7 @@ public class MawbDetail implements Serializable{
42 private String classMark; 42 private String classMark;
43 43
44 @ApiModelProperty(value = "商品编号") 44 @ApiModelProperty(value = "商品编号")
45 - @NotBlank(message="参数codeTS不能为空") 45 + //@NotBlank(message="参数codeTS不能为空")
46 @Column(name = "CODETS") 46 @Column(name = "CODETS")
47 private String codeTS; 47 private String codeTS;
48 48
...@@ -57,7 +57,7 @@ public class MawbDetail implements Serializable{ ...@@ -57,7 +57,7 @@ public class MawbDetail implements Serializable{
57 private BigDecimal declTotal; 57 private BigDecimal declTotal;
58 58
59 @ApiModelProperty(value = "征免方式") 59 @ApiModelProperty(value = "征免方式")
60 - @NotBlank(message="参数dutyMode不能为空") 60 + //@NotBlank(message="参数dutyMode不能为空")
61 @Column(name = "DUTYMODE") 61 @Column(name = "DUTYMODE")
62 private String dutyMode; 62 private String dutyMode;
63 63
...@@ -70,7 +70,7 @@ public class MawbDetail implements Serializable{ ...@@ -70,7 +70,7 @@ public class MawbDetail implements Serializable{
70 private String exgVersion; 70 private String exgVersion;
71 71
72 @ApiModelProperty(value = "第一计量单位(法定单位)") 72 @ApiModelProperty(value = "第一计量单位(法定单位)")
73 - @NotBlank(message="参数firstUnit不能为空") 73 + //@NotBlank(message="参数firstUnit不能为空")
74 @Column(name = "FIRSTUNIT") 74 @Column(name = "FIRSTUNIT")
75 private String firstUnit; 75 private String firstUnit;
76 76
...@@ -80,22 +80,22 @@ public class MawbDetail implements Serializable{ ...@@ -80,22 +80,22 @@ public class MawbDetail implements Serializable{
80 private Integer firstQty; 80 private Integer firstQty;
81 81
82 @ApiModelProperty(value = "成交计量单位") 82 @ApiModelProperty(value = "成交计量单位")
83 - @NotBlank(message="参数gunit不能为空") 83 + //@NotBlank(message="参数gunit不能为空")
84 @Column(name = "GUNIT") 84 @Column(name = "GUNIT")
85 private String gunit; 85 private String gunit;
86 86
87 @ApiModelProperty(value = "商品规格、型号") 87 @ApiModelProperty(value = "商品规格、型号")
88 - @NotBlank(message="参数gmodel不能为空") 88 + //@NotBlank(message="参数gmodel不能为空")
89 @Column(name = "GMODE") 89 @Column(name = "GMODE")
90 private String gmodel; 90 private String gmodel;
91 91
92 @ApiModelProperty(value = "商品名称") 92 @ApiModelProperty(value = "商品名称")
93 - @NotBlank(message="参数gname不能为空") 93 + //@NotBlank(message="参数gname不能为空")
94 @Column(name = "GNAME") 94 @Column(name = "GNAME")
95 private String gname; 95 private String gname;
96 96
97 @ApiModelProperty(value = "商品序号") 97 @ApiModelProperty(value = "商品序号")
98 - @NotBlank(message="参数gno不能为空") 98 + //@NotBlank(message="参数gno不能为空")
99 @Column(name = "GNO") 99 @Column(name = "GNO")
100 private String gno; 100 private String gno;
101 101
...@@ -105,7 +105,7 @@ public class MawbDetail implements Serializable{ ...@@ -105,7 +105,7 @@ public class MawbDetail implements Serializable{
105 private BigDecimal gqty; 105 private BigDecimal gqty;
106 106
107 @ApiModelProperty(value = "原产国") 107 @ApiModelProperty(value = "原产国")
108 - @NotBlank(message="参数originCountry不能为空") 108 + //@NotBlank(message="参数originCountry不能为空")
109 @Column(name = "ORIGINCURRENTY") 109 @Column(name = "ORIGINCURRENTY")
110 private String originCountry; 110 private String originCountry;
111 111
...@@ -119,7 +119,7 @@ public class MawbDetail implements Serializable{ ...@@ -119,7 +119,7 @@ public class MawbDetail implements Serializable{
119 private Integer secondQty; 119 private Integer secondQty;
120 120
121 @ApiModelProperty(value = "成交币制") 121 @ApiModelProperty(value = "成交币制")
122 - @NotBlank(message="参数tradeCurr不能为空") 122 + //@NotBlank(message="参数tradeCurr不能为空")
123 @Column(name = "TRADECURR") 123 @Column(name = "TRADECURR")
124 private String tradeCurr; 124 private String tradeCurr;
125 125
...@@ -136,7 +136,7 @@ public class MawbDetail implements Serializable{ ...@@ -136,7 +136,7 @@ public class MawbDetail implements Serializable{
136 private String ciqCode; 136 private String ciqCode;
137 137
138 @ApiModelProperty(value = "最终目的国(地区)") 138 @ApiModelProperty(value = "最终目的国(地区)")
139 - @NotBlank(message="参数destinationCountry不能为空") 139 + //@NotBlank(message="参数destinationCountry不能为空")
140 @Column(name = "DESTINATIONCOUNTRY") 140 @Column(name = "DESTINATIONCOUNTRY")
141 private String destinationCountry; 141 private String destinationCountry;
142 142
...@@ -149,7 +149,7 @@ public class MawbDetail implements Serializable{ ...@@ -149,7 +149,7 @@ public class MawbDetail implements Serializable{
149 private String destCode; 149 private String destCode;
150 150
151 @ApiModelProperty(value = "境内目的地/境内货源地") 151 @ApiModelProperty(value = "境内目的地/境内货源地")
152 - @NotBlank(message="参数districtCode不能为空") 152 + //@NotBlank(message="参数districtCode不能为空")
153 @Column(name = "DISTRICTCODE") 153 @Column(name = "DISTRICTCODE")
154 private String districtCode; 154 private String districtCode;
155 155
......