作者 朱兆平

运单API

  1 +package com.example.demo.controller;
  2 +
  3 +public class NMS_AirWayBill_Controller {
  4 +}
  1 +package com.example.demo.mapper;
  2 +
  3 +import com.example.demo.model.T_NMS_ORIGINMANIFESTMASTER;
  4 +
  5 +public interface T_NMS_ORIGINMANIFESTMASTERMapper {
  6 + int insert(T_NMS_ORIGINMANIFESTMASTER record);
  7 +
  8 + int insertSelective(T_NMS_ORIGINMANIFESTMASTER record);
  9 +}
  1 +package com.example.demo.mapper;
  2 +
  3 +import com.example.demo.model.T_NMS_PREPAREMASTER;
  4 +
  5 +public interface T_NMS_PREPAREMASTERMapper {
  6 + int insert(T_NMS_PREPAREMASTER record);
  7 +
  8 + int insertSelective(T_NMS_PREPAREMASTER record);
  9 +}
  1 +package com.example.demo.model;
  2 +
  3 +public class T_NMS_AirWayBill {
  4 + private String airwaybilllno; //主运单号
  5 + private String piece; //运单件数
  6 + private String weight; //运单重量
  7 + private String expimp; //进出港
  8 + private String domint; //国际国内
  9 +}
  1 +package com.example.demo.model;
  2 +
  3 +import java.util.Date;
  4 +
  5 +public class T_NMS_ORIGINMANIFESTMASTER {
  6 + private String autoid;
  7 +
  8 + private String waybillnomaster;
  9 +
  10 + private String segment;
  11 +
  12 + private String originatingstation;
  13 +
  14 + private String destinationstation;
  15 +
  16 + private String totalweight;
  17 +
  18 + private String totalpiece;
  19 +
  20 + private String manifesttotalpiece;
  21 +
  22 + private String manifesttotalweight;
  23 +
  24 + private String flightno;
  25 +
  26 + private String productname;
  27 +
  28 + private String customsstatus;
  29 +
  30 + private String carrier1;
  31 +
  32 + private String arrivalstation1;
  33 +
  34 + private String carrier2;
  35 +
  36 + private String arrivalstation2;
  37 +
  38 + private String carrier3;
  39 +
  40 + private String arrivalstation3;
  41 +
  42 + private String paymode;
  43 +
  44 + private String specialgoodscode;
  45 +
  46 + private String customscode;
  47 +
  48 + private String shippername;
  49 +
  50 + private String shipperaddress;
  51 +
  52 + private String consigneename;
  53 +
  54 + private String consigneeaddress;
  55 +
  56 + private String receiptinformation;
  57 +
  58 + private Date createdate;
  59 +
  60 + private Date flightDate;
  61 +
  62 + private String status;
  63 +
  64 + private String isbatch;
  65 +
  66 + private String originatingstationBill;
  67 +
  68 + private String destinationstationBill;
  69 +
  70 + private String reportorder;
  71 +
  72 + private String islast;
  73 +
  74 + private String shipperCode;
  75 +
  76 + private String shipperCountrycode;
  77 +
  78 + private String shipperPhone;
  79 +
  80 + private String shipperFax;
  81 +
  82 + private String consigneeCode;
  83 +
  84 + private String consigneeCountrycode;
  85 +
  86 + private String consigneeFax;
  87 +
  88 + private String specificConsigneename;
  89 +
  90 + private String specificConsigneePhone;
  91 +
  92 + private String consigneePhone;
  93 +
  94 + public String getAutoid() {
  95 + return autoid;
  96 + }
  97 +
  98 + public void setAutoid(String autoid) {
  99 + this.autoid = autoid == null ? null : autoid.trim();
  100 + }
  101 +
  102 + public String getWaybillnomaster() {
  103 + return waybillnomaster;
  104 + }
  105 +
  106 + public void setWaybillnomaster(String waybillnomaster) {
  107 + this.waybillnomaster = waybillnomaster == null ? null : waybillnomaster.trim();
  108 + }
  109 +
  110 + public String getSegment() {
  111 + return segment;
  112 + }
  113 +
  114 + public void setSegment(String segment) {
  115 + this.segment = segment == null ? null : segment.trim();
  116 + }
  117 +
  118 + public String getOriginatingstation() {
  119 + return originatingstation;
  120 + }
  121 +
  122 + public void setOriginatingstation(String originatingstation) {
  123 + this.originatingstation = originatingstation == null ? null : originatingstation.trim();
  124 + }
  125 +
  126 + public String getDestinationstation() {
  127 + return destinationstation;
  128 + }
  129 +
  130 + public void setDestinationstation(String destinationstation) {
  131 + this.destinationstation = destinationstation == null ? null : destinationstation.trim();
  132 + }
  133 +
  134 + public String getTotalweight() {
  135 + return totalweight;
  136 + }
  137 +
  138 + public void setTotalweight(String totalweight) {
  139 + this.totalweight = totalweight == null ? null : totalweight.trim();
  140 + }
  141 +
  142 + public String getTotalpiece() {
  143 + return totalpiece;
  144 + }
  145 +
  146 + public void setTotalpiece(String totalpiece) {
  147 + this.totalpiece = totalpiece == null ? null : totalpiece.trim();
  148 + }
  149 +
  150 + public String getManifesttotalpiece() {
  151 + return manifesttotalpiece;
  152 + }
  153 +
  154 + public void setManifesttotalpiece(String manifesttotalpiece) {
  155 + this.manifesttotalpiece = manifesttotalpiece == null ? null : manifesttotalpiece.trim();
  156 + }
  157 +
  158 + public String getManifesttotalweight() {
  159 + return manifesttotalweight;
  160 + }
  161 +
  162 + public void setManifesttotalweight(String manifesttotalweight) {
  163 + this.manifesttotalweight = manifesttotalweight == null ? null : manifesttotalweight.trim();
  164 + }
  165 +
  166 + public String getFlightno() {
  167 + return flightno;
  168 + }
  169 +
  170 + public void setFlightno(String flightno) {
  171 + this.flightno = flightno == null ? null : flightno.trim();
  172 + }
  173 +
  174 + public String getProductname() {
  175 + return productname;
  176 + }
  177 +
  178 + public void setProductname(String productname) {
  179 + this.productname = productname == null ? null : productname.trim();
  180 + }
  181 +
  182 + public String getCustomsstatus() {
  183 + return customsstatus;
  184 + }
  185 +
  186 + public void setCustomsstatus(String customsstatus) {
  187 + this.customsstatus = customsstatus == null ? null : customsstatus.trim();
  188 + }
  189 +
  190 + public String getCarrier1() {
  191 + return carrier1;
  192 + }
  193 +
  194 + public void setCarrier1(String carrier1) {
  195 + this.carrier1 = carrier1 == null ? null : carrier1.trim();
  196 + }
  197 +
  198 + public String getArrivalstation1() {
  199 + return arrivalstation1;
  200 + }
  201 +
  202 + public void setArrivalstation1(String arrivalstation1) {
  203 + this.arrivalstation1 = arrivalstation1 == null ? null : arrivalstation1.trim();
  204 + }
  205 +
  206 + public String getCarrier2() {
  207 + return carrier2;
  208 + }
  209 +
  210 + public void setCarrier2(String carrier2) {
  211 + this.carrier2 = carrier2 == null ? null : carrier2.trim();
  212 + }
  213 +
  214 + public String getArrivalstation2() {
  215 + return arrivalstation2;
  216 + }
  217 +
  218 + public void setArrivalstation2(String arrivalstation2) {
  219 + this.arrivalstation2 = arrivalstation2 == null ? null : arrivalstation2.trim();
  220 + }
  221 +
  222 + public String getCarrier3() {
  223 + return carrier3;
  224 + }
  225 +
  226 + public void setCarrier3(String carrier3) {
  227 + this.carrier3 = carrier3 == null ? null : carrier3.trim();
  228 + }
  229 +
  230 + public String getArrivalstation3() {
  231 + return arrivalstation3;
  232 + }
  233 +
  234 + public void setArrivalstation3(String arrivalstation3) {
  235 + this.arrivalstation3 = arrivalstation3 == null ? null : arrivalstation3.trim();
  236 + }
  237 +
  238 + public String getPaymode() {
  239 + return paymode;
  240 + }
  241 +
  242 + public void setPaymode(String paymode) {
  243 + this.paymode = paymode == null ? null : paymode.trim();
  244 + }
  245 +
  246 + public String getSpecialgoodscode() {
  247 + return specialgoodscode;
  248 + }
  249 +
  250 + public void setSpecialgoodscode(String specialgoodscode) {
  251 + this.specialgoodscode = specialgoodscode == null ? null : specialgoodscode.trim();
  252 + }
  253 +
  254 + public String getCustomscode() {
  255 + return customscode;
  256 + }
  257 +
  258 + public void setCustomscode(String customscode) {
  259 + this.customscode = customscode == null ? null : customscode.trim();
  260 + }
  261 +
  262 + public String getShippername() {
  263 + return shippername;
  264 + }
  265 +
  266 + public void setShippername(String shippername) {
  267 + this.shippername = shippername == null ? null : shippername.trim();
  268 + }
  269 +
  270 + public String getShipperaddress() {
  271 + return shipperaddress;
  272 + }
  273 +
  274 + public void setShipperaddress(String shipperaddress) {
  275 + this.shipperaddress = shipperaddress == null ? null : shipperaddress.trim();
  276 + }
  277 +
  278 + public String getConsigneename() {
  279 + return consigneename;
  280 + }
  281 +
  282 + public void setConsigneename(String consigneename) {
  283 + this.consigneename = consigneename == null ? null : consigneename.trim();
  284 + }
  285 +
  286 + public String getConsigneeaddress() {
  287 + return consigneeaddress;
  288 + }
  289 +
  290 + public void setConsigneeaddress(String consigneeaddress) {
  291 + this.consigneeaddress = consigneeaddress == null ? null : consigneeaddress.trim();
  292 + }
  293 +
  294 + public String getReceiptinformation() {
  295 + return receiptinformation;
  296 + }
  297 +
  298 + public void setReceiptinformation(String receiptinformation) {
  299 + this.receiptinformation = receiptinformation == null ? null : receiptinformation.trim();
  300 + }
  301 +
  302 + public Date getCreatedate() {
  303 + return createdate;
  304 + }
  305 +
  306 + public void setCreatedate(Date createdate) {
  307 + this.createdate = createdate;
  308 + }
  309 +
  310 + public Date getFlightDate() {
  311 + return flightDate;
  312 + }
  313 +
  314 + public void setFlightDate(Date flightDate) {
  315 + this.flightDate = flightDate;
  316 + }
  317 +
  318 + public String getStatus() {
  319 + return status;
  320 + }
  321 +
  322 + public void setStatus(String status) {
  323 + this.status = status == null ? null : status.trim();
  324 + }
  325 +
  326 + public String getIsbatch() {
  327 + return isbatch;
  328 + }
  329 +
  330 + public void setIsbatch(String isbatch) {
  331 + this.isbatch = isbatch == null ? null : isbatch.trim();
  332 + }
  333 +
  334 + public String getOriginatingstationBill() {
  335 + return originatingstationBill;
  336 + }
  337 +
  338 + public void setOriginatingstationBill(String originatingstationBill) {
  339 + this.originatingstationBill = originatingstationBill == null ? null : originatingstationBill.trim();
  340 + }
  341 +
  342 + public String getDestinationstationBill() {
  343 + return destinationstationBill;
  344 + }
  345 +
  346 + public void setDestinationstationBill(String destinationstationBill) {
  347 + this.destinationstationBill = destinationstationBill == null ? null : destinationstationBill.trim();
  348 + }
  349 +
  350 + public String getReportorder() {
  351 + return reportorder;
  352 + }
  353 +
  354 + public void setReportorder(String reportorder) {
  355 + this.reportorder = reportorder == null ? null : reportorder.trim();
  356 + }
  357 +
  358 + public String getIslast() {
  359 + return islast;
  360 + }
  361 +
  362 + public void setIslast(String islast) {
  363 + this.islast = islast == null ? null : islast.trim();
  364 + }
  365 +
  366 + public String getShipperCode() {
  367 + return shipperCode;
  368 + }
  369 +
  370 + public void setShipperCode(String shipperCode) {
  371 + this.shipperCode = shipperCode == null ? null : shipperCode.trim();
  372 + }
  373 +
  374 + public String getShipperCountrycode() {
  375 + return shipperCountrycode;
  376 + }
  377 +
  378 + public void setShipperCountrycode(String shipperCountrycode) {
  379 + this.shipperCountrycode = shipperCountrycode == null ? null : shipperCountrycode.trim();
  380 + }
  381 +
  382 + public String getShipperPhone() {
  383 + return shipperPhone;
  384 + }
  385 +
  386 + public void setShipperPhone(String shipperPhone) {
  387 + this.shipperPhone = shipperPhone == null ? null : shipperPhone.trim();
  388 + }
  389 +
  390 + public String getShipperFax() {
  391 + return shipperFax;
  392 + }
  393 +
  394 + public void setShipperFax(String shipperFax) {
  395 + this.shipperFax = shipperFax == null ? null : shipperFax.trim();
  396 + }
  397 +
  398 + public String getConsigneeCode() {
  399 + return consigneeCode;
  400 + }
  401 +
  402 + public void setConsigneeCode(String consigneeCode) {
  403 + this.consigneeCode = consigneeCode == null ? null : consigneeCode.trim();
  404 + }
  405 +
  406 + public String getConsigneeCountrycode() {
  407 + return consigneeCountrycode;
  408 + }
  409 +
  410 + public void setConsigneeCountrycode(String consigneeCountrycode) {
  411 + this.consigneeCountrycode = consigneeCountrycode == null ? null : consigneeCountrycode.trim();
  412 + }
  413 +
  414 + public String getConsigneeFax() {
  415 + return consigneeFax;
  416 + }
  417 +
  418 + public void setConsigneeFax(String consigneeFax) {
  419 + this.consigneeFax = consigneeFax == null ? null : consigneeFax.trim();
  420 + }
  421 +
  422 + public String getSpecificConsigneename() {
  423 + return specificConsigneename;
  424 + }
  425 +
  426 + public void setSpecificConsigneename(String specificConsigneename) {
  427 + this.specificConsigneename = specificConsigneename == null ? null : specificConsigneename.trim();
  428 + }
  429 +
  430 + public String getSpecificConsigneePhone() {
  431 + return specificConsigneePhone;
  432 + }
  433 +
  434 + public void setSpecificConsigneePhone(String specificConsigneePhone) {
  435 + this.specificConsigneePhone = specificConsigneePhone == null ? null : specificConsigneePhone.trim();
  436 + }
  437 +
  438 + public String getConsigneePhone() {
  439 + return consigneePhone;
  440 + }
  441 +
  442 + public void setConsigneePhone(String consigneePhone) {
  443 + this.consigneePhone = consigneePhone == null ? null : consigneePhone.trim();
  444 + }
  445 +}
  1 +package com.example.demo.model;
  2 +
  3 +import java.util.Date;
  4 +
  5 +public class T_NMS_PREPAREMASTER {
  6 + private String autoid;
  7 +
  8 + private String flightno;
  9 +
  10 + private Date flightdate;
  11 +
  12 + private String originatingstation;
  13 +
  14 + private String destinationstation;
  15 +
  16 + private String waybillnomaster;
  17 +
  18 + private String totalweight;
  19 +
  20 + private String totalpiece;
  21 +
  22 + private String preparetotalpiece;
  23 +
  24 + private String preparetotalweight;
  25 +
  26 + private Date stowagedate;
  27 +
  28 + private String status;
  29 +
  30 + private String carrier;
  31 +
  32 + private String customsstatus;
  33 +
  34 + private String paymode;
  35 +
  36 + private String customscode;
  37 +
  38 + private String agentcode;
  39 +
  40 + private String agentname;
  41 +
  42 + private String shippername;
  43 +
  44 + private String shippercity;
  45 +
  46 + private String shipperaddress;
  47 +
  48 + private String consigneename;
  49 +
  50 + private String consigneecity;
  51 +
  52 + private String consigneeaddress;
  53 +
  54 + private String receiptinformation;
  55 +
  56 + private Date createdate;
  57 +
  58 + private String productname;
  59 +
  60 + private String shipperCode;
  61 +
  62 + private String shipperCountrycode;
  63 +
  64 + private String shipperPhone;
  65 +
  66 + private String shipperFax;
  67 +
  68 + private String consigneeCode;
  69 +
  70 + private String consigneeCountrycode;
  71 +
  72 + private String consigneeFax;
  73 +
  74 + private String consigneePhone;
  75 +
  76 + private String shipperAeo;
  77 +
  78 + private String consigneeAeo;
  79 +
  80 + private String unloadingstation;
  81 +
  82 + public String getAutoid() {
  83 + return autoid;
  84 + }
  85 +
  86 + public void setAutoid(String autoid) {
  87 + this.autoid = autoid == null ? null : autoid.trim();
  88 + }
  89 +
  90 + public String getFlightno() {
  91 + return flightno;
  92 + }
  93 +
  94 + public void setFlightno(String flightno) {
  95 + this.flightno = flightno == null ? null : flightno.trim();
  96 + }
  97 +
  98 + public Date getFlightdate() {
  99 + return flightdate;
  100 + }
  101 +
  102 + public void setFlightdate(Date flightdate) {
  103 + this.flightdate = flightdate;
  104 + }
  105 +
  106 + public String getOriginatingstation() {
  107 + return originatingstation;
  108 + }
  109 +
  110 + public void setOriginatingstation(String originatingstation) {
  111 + this.originatingstation = originatingstation == null ? null : originatingstation.trim();
  112 + }
  113 +
  114 + public String getDestinationstation() {
  115 + return destinationstation;
  116 + }
  117 +
  118 + public void setDestinationstation(String destinationstation) {
  119 + this.destinationstation = destinationstation == null ? null : destinationstation.trim();
  120 + }
  121 +
  122 + public String getWaybillnomaster() {
  123 + return waybillnomaster;
  124 + }
  125 +
  126 + public void setWaybillnomaster(String waybillnomaster) {
  127 + this.waybillnomaster = waybillnomaster == null ? null : waybillnomaster.trim();
  128 + }
  129 +
  130 + public String getTotalweight() {
  131 + return totalweight;
  132 + }
  133 +
  134 + public void setTotalweight(String totalweight) {
  135 + this.totalweight = totalweight == null ? null : totalweight.trim();
  136 + }
  137 +
  138 + public String getTotalpiece() {
  139 + return totalpiece;
  140 + }
  141 +
  142 + public void setTotalpiece(String totalpiece) {
  143 + this.totalpiece = totalpiece == null ? null : totalpiece.trim();
  144 + }
  145 +
  146 + public String getPreparetotalpiece() {
  147 + return preparetotalpiece;
  148 + }
  149 +
  150 + public void setPreparetotalpiece(String preparetotalpiece) {
  151 + this.preparetotalpiece = preparetotalpiece == null ? null : preparetotalpiece.trim();
  152 + }
  153 +
  154 + public String getPreparetotalweight() {
  155 + return preparetotalweight;
  156 + }
  157 +
  158 + public void setPreparetotalweight(String preparetotalweight) {
  159 + this.preparetotalweight = preparetotalweight == null ? null : preparetotalweight.trim();
  160 + }
  161 +
  162 + public Date getStowagedate() {
  163 + return stowagedate;
  164 + }
  165 +
  166 + public void setStowagedate(Date stowagedate) {
  167 + this.stowagedate = stowagedate;
  168 + }
  169 +
  170 + public String getStatus() {
  171 + return status;
  172 + }
  173 +
  174 + public void setStatus(String status) {
  175 + this.status = status == null ? null : status.trim();
  176 + }
  177 +
  178 + public String getCarrier() {
  179 + return carrier;
  180 + }
  181 +
  182 + public void setCarrier(String carrier) {
  183 + this.carrier = carrier == null ? null : carrier.trim();
  184 + }
  185 +
  186 + public String getCustomsstatus() {
  187 + return customsstatus;
  188 + }
  189 +
  190 + public void setCustomsstatus(String customsstatus) {
  191 + this.customsstatus = customsstatus == null ? null : customsstatus.trim();
  192 + }
  193 +
  194 + public String getPaymode() {
  195 + return paymode;
  196 + }
  197 +
  198 + public void setPaymode(String paymode) {
  199 + this.paymode = paymode == null ? null : paymode.trim();
  200 + }
  201 +
  202 + public String getCustomscode() {
  203 + return customscode;
  204 + }
  205 +
  206 + public void setCustomscode(String customscode) {
  207 + this.customscode = customscode == null ? null : customscode.trim();
  208 + }
  209 +
  210 + public String getAgentcode() {
  211 + return agentcode;
  212 + }
  213 +
  214 + public void setAgentcode(String agentcode) {
  215 + this.agentcode = agentcode == null ? null : agentcode.trim();
  216 + }
  217 +
  218 + public String getAgentname() {
  219 + return agentname;
  220 + }
  221 +
  222 + public void setAgentname(String agentname) {
  223 + this.agentname = agentname == null ? null : agentname.trim();
  224 + }
  225 +
  226 + public String getShippername() {
  227 + return shippername;
  228 + }
  229 +
  230 + public void setShippername(String shippername) {
  231 + this.shippername = shippername == null ? null : shippername.trim();
  232 + }
  233 +
  234 + public String getShippercity() {
  235 + return shippercity;
  236 + }
  237 +
  238 + public void setShippercity(String shippercity) {
  239 + this.shippercity = shippercity == null ? null : shippercity.trim();
  240 + }
  241 +
  242 + public String getShipperaddress() {
  243 + return shipperaddress;
  244 + }
  245 +
  246 + public void setShipperaddress(String shipperaddress) {
  247 + this.shipperaddress = shipperaddress == null ? null : shipperaddress.trim();
  248 + }
  249 +
  250 + public String getConsigneename() {
  251 + return consigneename;
  252 + }
  253 +
  254 + public void setConsigneename(String consigneename) {
  255 + this.consigneename = consigneename == null ? null : consigneename.trim();
  256 + }
  257 +
  258 + public String getConsigneecity() {
  259 + return consigneecity;
  260 + }
  261 +
  262 + public void setConsigneecity(String consigneecity) {
  263 + this.consigneecity = consigneecity == null ? null : consigneecity.trim();
  264 + }
  265 +
  266 + public String getConsigneeaddress() {
  267 + return consigneeaddress;
  268 + }
  269 +
  270 + public void setConsigneeaddress(String consigneeaddress) {
  271 + this.consigneeaddress = consigneeaddress == null ? null : consigneeaddress.trim();
  272 + }
  273 +
  274 + public String getReceiptinformation() {
  275 + return receiptinformation;
  276 + }
  277 +
  278 + public void setReceiptinformation(String receiptinformation) {
  279 + this.receiptinformation = receiptinformation == null ? null : receiptinformation.trim();
  280 + }
  281 +
  282 + public Date getCreatedate() {
  283 + return createdate;
  284 + }
  285 +
  286 + public void setCreatedate(Date createdate) {
  287 + this.createdate = createdate;
  288 + }
  289 +
  290 + public String getProductname() {
  291 + return productname;
  292 + }
  293 +
  294 + public void setProductname(String productname) {
  295 + this.productname = productname == null ? null : productname.trim();
  296 + }
  297 +
  298 + public String getShipperCode() {
  299 + return shipperCode;
  300 + }
  301 +
  302 + public void setShipperCode(String shipperCode) {
  303 + this.shipperCode = shipperCode == null ? null : shipperCode.trim();
  304 + }
  305 +
  306 + public String getShipperCountrycode() {
  307 + return shipperCountrycode;
  308 + }
  309 +
  310 + public void setShipperCountrycode(String shipperCountrycode) {
  311 + this.shipperCountrycode = shipperCountrycode == null ? null : shipperCountrycode.trim();
  312 + }
  313 +
  314 + public String getShipperPhone() {
  315 + return shipperPhone;
  316 + }
  317 +
  318 + public void setShipperPhone(String shipperPhone) {
  319 + this.shipperPhone = shipperPhone == null ? null : shipperPhone.trim();
  320 + }
  321 +
  322 + public String getShipperFax() {
  323 + return shipperFax;
  324 + }
  325 +
  326 + public void setShipperFax(String shipperFax) {
  327 + this.shipperFax = shipperFax == null ? null : shipperFax.trim();
  328 + }
  329 +
  330 + public String getConsigneeCode() {
  331 + return consigneeCode;
  332 + }
  333 +
  334 + public void setConsigneeCode(String consigneeCode) {
  335 + this.consigneeCode = consigneeCode == null ? null : consigneeCode.trim();
  336 + }
  337 +
  338 + public String getConsigneeCountrycode() {
  339 + return consigneeCountrycode;
  340 + }
  341 +
  342 + public void setConsigneeCountrycode(String consigneeCountrycode) {
  343 + this.consigneeCountrycode = consigneeCountrycode == null ? null : consigneeCountrycode.trim();
  344 + }
  345 +
  346 + public String getConsigneeFax() {
  347 + return consigneeFax;
  348 + }
  349 +
  350 + public void setConsigneeFax(String consigneeFax) {
  351 + this.consigneeFax = consigneeFax == null ? null : consigneeFax.trim();
  352 + }
  353 +
  354 + public String getConsigneePhone() {
  355 + return consigneePhone;
  356 + }
  357 +
  358 + public void setConsigneePhone(String consigneePhone) {
  359 + this.consigneePhone = consigneePhone == null ? null : consigneePhone.trim();
  360 + }
  361 +
  362 + public String getShipperAeo() {
  363 + return shipperAeo;
  364 + }
  365 +
  366 + public void setShipperAeo(String shipperAeo) {
  367 + this.shipperAeo = shipperAeo == null ? null : shipperAeo.trim();
  368 + }
  369 +
  370 + public String getConsigneeAeo() {
  371 + return consigneeAeo;
  372 + }
  373 +
  374 + public void setConsigneeAeo(String consigneeAeo) {
  375 + this.consigneeAeo = consigneeAeo == null ? null : consigneeAeo.trim();
  376 + }
  377 +
  378 + public String getUnloadingstation() {
  379 + return unloadingstation;
  380 + }
  381 +
  382 + public void setUnloadingstation(String unloadingstation) {
  383 + this.unloadingstation = unloadingstation == null ? null : unloadingstation.trim();
  384 + }
  385 +}
  1 +package com.example.demo.service;
  2 +
  3 +import java.util.List;
  4 +
  5 +public interface NMS_AirWayBill_Service {
  6 +
  7 + /** 返回出港预配主单和进港原始主单
  8 + *
  9 + */
  10 + List airwaybillList();
  11 +}
  1 +package com.example.demo.service.imp;
  2 +
  3 +import com.example.demo.service.NMS_AirWayBill_Service;
  4 +import org.springframework.stereotype.Service;
  5 +
  6 +import java.util.ArrayList;
  7 +import java.util.List;
  8 +
  9 +@Service("AirWayBillService")
  10 +public class NMS_AirWayBill_ServiceImp implements NMS_AirWayBill_Service{
  11 +
  12 + public List airwaybillList(){
  13 + return new ArrayList();
  14 + }
  15 +}
1 1
2 #服务端口 2 #服务端口
3 -server.port=7002 3 +server.port=7003
4 #eureka主机名,会在控制页面中显示 4 #eureka主机名,会在控制页面中显示
5 eureka.instance.hostname=localhost 5 eureka.instance.hostname=localhost
6 #eureka服务器页面中status的请求路径 6 #eureka服务器页面中status的请求路径
7 -eureka.instance.status-page-url=http://localhost:7002/index 7 +eureka.instance.status-page-url=http://localhost:7003/index
8 #eureka注册中心服务器地址 8 #eureka注册中心服务器地址
9 eureka.client.service-url.defaultZone=http://localhost:7001/eureka/ 9 eureka.client.service-url.defaultZone=http://localhost:7001/eureka/
10 #服务名 10 #服务名
11 -spring.application.name=fileServer-01 11 +spring.application.name=airWayBill-service
12 12
13 #spring.datasource.name=CGOETL 13 #spring.datasource.name=CGOETL
14 spring.datasource.type=com.alibaba.druid.pool.DruidDataSource 14 spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
15 spring.datasource.driver-class-name=oracle.jdbc.OracleDriver 15 spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
16 -spring.datasource.url=jdbc:oracle:thin:@10.50.3.68:1521:CGODW  
17 -spring.datasource.username=cgoetl 16 +spring.datasource.url=jdbc:oracle:thin:@10.50.3.70:1521:CGODB
  17 +spring.datasource.username=CGONMS
18 spring.datasource.password=1q2w3e4r 18 spring.datasource.password=1q2w3e4r
19 #配置初始化大小/最小/最大 19 #配置初始化大小/最小/最大
20 spring.datasource.druid.initial-size=1 20 spring.datasource.druid.initial-size=1
@@ -33,10 +33,10 @@ spring.datasource.druid.test-on-return=false @@ -33,10 +33,10 @@ spring.datasource.druid.test-on-return=false
33 spring.datasource.druid.default-auto-commit=true 33 spring.datasource.druid.default-auto-commit=true
34 34
35 mybatis.mapper-locations=classpath:mapping/*.xml 35 mybatis.mapper-locations=classpath:mapping/*.xml
36 -mybatis.type-aliases-package=com.example.demo.model 36 +mybatis.type-aliases-package=com.tianbo.model
37 logging.level.com.example.demo.mapper=DEBUG 37 logging.level.com.example.demo.mapper=DEBUG
38 38
39 -pagehelper.helper-dialect=mysql 39 +pagehelper.helper-dialect=oracle
40 pagehelper.reasonable=true 40 pagehelper.reasonable=true
41 pagehelper.support-methods-arguments=true 41 pagehelper.support-methods-arguments=true
42 pagehelper.params=count=countSql 42 pagehelper.params=count=countSql
@@ -16,8 +16,8 @@ @@ -16,8 +16,8 @@
16 <!--<jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://127.0.0.1:3307/statistics" userId="root" password="">--> 16 <!--<jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://127.0.0.1:3307/statistics" userId="root" password="">-->
17 <!--</jdbcConnection>--> 17 <!--</jdbcConnection>-->
18 <jdbcConnection driverClass="oracle.jdbc.driver.OracleDriver" 18 <jdbcConnection driverClass="oracle.jdbc.driver.OracleDriver"
19 - connectionURL="jdbc:oracle:thin:@10.50.3.68:1521:CGODW"  
20 - userId="cgoetl" 19 + connectionURL="jdbc:oracle:thin:@10.50.3.70:1521:CGODB"
  20 + userId="CGONMS"
21 password="1q2w3e4r"> 21 password="1q2w3e4r">
22 </jdbcConnection> 22 </jdbcConnection>
23 <!-- 默认false,把JDBC DECIMAL 和 NUMERIC 类型解析为 Integer,为 true时把JDBC DECIMAL 和 23 <!-- 默认false,把JDBC DECIMAL 和 NUMERIC 类型解析为 Integer,为 true时把JDBC DECIMAL 和
@@ -29,7 +29,7 @@ @@ -29,7 +29,7 @@
29 <property name="forceBigDecimals" value="false"/> 29 <property name="forceBigDecimals" value="false"/>
30 </javaTypeResolver> 30 </javaTypeResolver>
31 <!-- 生成模型的包名和位置--> 31 <!-- 生成模型的包名和位置-->
32 - <javaModelGenerator targetPackage="com.example.demo.model" targetProject="src/main/java"> 32 + <javaModelGenerator targetPackage="com.tianbo.model" targetProject="src/main/java">
33 <property name="enableSubPackages" value="true"/> 33 <property name="enableSubPackages" value="true"/>
34 <property name="trimStrings" value="true"/> 34 <property name="trimStrings" value="true"/>
35 </javaModelGenerator> 35 </javaModelGenerator>
@@ -38,10 +38,10 @@ @@ -38,10 +38,10 @@
38 <property name="enableSubPackages" value="true"/> 38 <property name="enableSubPackages" value="true"/>
39 </sqlMapGenerator> 39 </sqlMapGenerator>
40 <!-- 生成DAO的包名和位置--> 40 <!-- 生成DAO的包名和位置-->
41 - <javaClientGenerator type="XMLMAPPER" targetPackage="com.example.demo.mapper" targetProject="src/main/java"> 41 + <javaClientGenerator type="XMLMAPPER" targetPackage="com.tianbo.mapper" targetProject="src/main/java">
42 <property name="enableSubPackages" value="true"/> 42 <property name="enableSubPackages" value="true"/>
43 </javaClientGenerator> 43 </javaClientGenerator>
44 <!-- 要生成的表 tableName是数据库中的表名或视图名 domainObjectName是实体类名--> 44 <!-- 要生成的表 tableName是数据库中的表名或视图名 domainObjectName是实体类名-->
45 - <table tableName="T_ETL_MESSAGE" domainObjectName="T_ETL_MESSAGE" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false" selectByExampleQueryId="false"></table> 45 + <table tableName="ORIGINMANIFESTMASTER" domainObjectName="T_NMS_ORIGINMANIFESTMASTER" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false" selectByExampleQueryId="false"></table>
46 </context> 46 </context>
47 </generatorConfiguration> 47 </generatorConfiguration>
@@ -47,7 +47,7 @@ @@ -47,7 +47,7 @@
47 from T_ETL_MESSAGE 47 from T_ETL_MESSAGE
48 <where> 48 <where>
49 <trim prefixOverrides="and"> 49 <trim prefixOverrides="and">
50 - STYP='FWB' AND SNDR='TXD' AND TYPE='DFME' AND FID=11191192 50 + STYP='FWB' AND SNDR='TXD' AND TYPE='DFME' AND FID>11191192 AND ROWNUM<2
51 </trim> 51 </trim>
52 </where> 52 </where>
53 </select> 53 </select>
  1 +<?xml version="1.0" encoding="UTF-8" ?>
  2 +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
  3 +<mapper namespace="com.example.demo.mapper.T_NMS_ORIGINMANIFESTMASTERMapper" >
  4 + <resultMap id="BaseResultMap" type="com.example.demo.model.T_NMS_ORIGINMANIFESTMASTER" >
  5 + <result column="AUTOID" property="autoid" jdbcType="VARCHAR" />
  6 + <result column="WAYBILLNOMASTER" property="waybillnomaster" jdbcType="VARCHAR" />
  7 + <result column="SEGMENT" property="segment" jdbcType="VARCHAR" />
  8 + <result column="ORIGINATINGSTATION" property="originatingstation" jdbcType="VARCHAR" />
  9 + <result column="DESTINATIONSTATION" property="destinationstation" jdbcType="VARCHAR" />
  10 + <result column="TOTALWEIGHT" property="totalweight" jdbcType="VARCHAR" />
  11 + <result column="TOTALPIECE" property="totalpiece" jdbcType="VARCHAR" />
  12 + <result column="MANIFESTTOTALPIECE" property="manifesttotalpiece" jdbcType="VARCHAR" />
  13 + <result column="MANIFESTTOTALWEIGHT" property="manifesttotalweight" jdbcType="VARCHAR" />
  14 + <result column="FLIGHTNO" property="flightno" jdbcType="VARCHAR" />
  15 + <result column="PRODUCTNAME" property="productname" jdbcType="VARCHAR" />
  16 + <result column="CUSTOMSSTATUS" property="customsstatus" jdbcType="VARCHAR" />
  17 + <result column="CARRIER1" property="carrier1" jdbcType="VARCHAR" />
  18 + <result column="ARRIVALSTATION1" property="arrivalstation1" jdbcType="VARCHAR" />
  19 + <result column="CARRIER2" property="carrier2" jdbcType="VARCHAR" />
  20 + <result column="ARRIVALSTATION2" property="arrivalstation2" jdbcType="VARCHAR" />
  21 + <result column="CARRIER3" property="carrier3" jdbcType="VARCHAR" />
  22 + <result column="ARRIVALSTATION3" property="arrivalstation3" jdbcType="VARCHAR" />
  23 + <result column="PAYMODE" property="paymode" jdbcType="VARCHAR" />
  24 + <result column="SPECIALGOODSCODE" property="specialgoodscode" jdbcType="VARCHAR" />
  25 + <result column="CUSTOMSCODE" property="customscode" jdbcType="VARCHAR" />
  26 + <result column="SHIPPERNAME" property="shippername" jdbcType="VARCHAR" />
  27 + <result column="SHIPPERADDRESS" property="shipperaddress" jdbcType="VARCHAR" />
  28 + <result column="CONSIGNEENAME" property="consigneename" jdbcType="VARCHAR" />
  29 + <result column="CONSIGNEEADDRESS" property="consigneeaddress" jdbcType="VARCHAR" />
  30 + <result column="RECEIPTINFORMATION" property="receiptinformation" jdbcType="VARCHAR" />
  31 + <result column="CREATEDATE" property="createdate" jdbcType="TIMESTAMP" />
  32 + <result column="FLIGHT_DATE" property="flightDate" jdbcType="TIMESTAMP" />
  33 + <result column="STATUS" property="status" jdbcType="VARCHAR" />
  34 + <result column="ISBATCH" property="isbatch" jdbcType="VARCHAR" />
  35 + <result column="ORIGINATINGSTATION_BILL" property="originatingstationBill" jdbcType="VARCHAR" />
  36 + <result column="DESTINATIONSTATION_BILL" property="destinationstationBill" jdbcType="VARCHAR" />
  37 + <result column="REPORTORDER" property="reportorder" jdbcType="VARCHAR" />
  38 + <result column="ISLAST" property="islast" jdbcType="VARCHAR" />
  39 + <result column="SHIPPER_CODE" property="shipperCode" jdbcType="VARCHAR" />
  40 + <result column="SHIPPER_COUNTRYCODE" property="shipperCountrycode" jdbcType="VARCHAR" />
  41 + <result column="SHIPPER_PHONE" property="shipperPhone" jdbcType="VARCHAR" />
  42 + <result column="SHIPPER_FAX" property="shipperFax" jdbcType="VARCHAR" />
  43 + <result column="CONSIGNEE_CODE" property="consigneeCode" jdbcType="VARCHAR" />
  44 + <result column="CONSIGNEE_COUNTRYCODE" property="consigneeCountrycode" jdbcType="VARCHAR" />
  45 + <result column="CONSIGNEE_FAX" property="consigneeFax" jdbcType="VARCHAR" />
  46 + <result column="SPECIFIC_CONSIGNEENAME" property="specificConsigneename" jdbcType="VARCHAR" />
  47 + <result column="SPECIFIC_CONSIGNEE_PHONE" property="specificConsigneePhone" jdbcType="VARCHAR" />
  48 + <result column="CONSIGNEE_PHONE" property="consigneePhone" jdbcType="VARCHAR" />
  49 + </resultMap>
  50 + <insert id="insert" parameterType="com.example.demo.model.T_NMS_ORIGINMANIFESTMASTER" >
  51 + insert into ORIGINMANIFESTMASTER (AUTOID, WAYBILLNOMASTER, SEGMENT,
  52 + ORIGINATINGSTATION, DESTINATIONSTATION,
  53 + TOTALWEIGHT, TOTALPIECE, MANIFESTTOTALPIECE,
  54 + MANIFESTTOTALWEIGHT, FLIGHTNO, PRODUCTNAME,
  55 + CUSTOMSSTATUS, CARRIER1, ARRIVALSTATION1,
  56 + CARRIER2, ARRIVALSTATION2, CARRIER3,
  57 + ARRIVALSTATION3, PAYMODE, SPECIALGOODSCODE,
  58 + CUSTOMSCODE, SHIPPERNAME, SHIPPERADDRESS,
  59 + CONSIGNEENAME, CONSIGNEEADDRESS, RECEIPTINFORMATION,
  60 + CREATEDATE, FLIGHT_DATE, STATUS,
  61 + ISBATCH, ORIGINATINGSTATION_BILL, DESTINATIONSTATION_BILL,
  62 + REPORTORDER, ISLAST, SHIPPER_CODE,
  63 + SHIPPER_COUNTRYCODE, SHIPPER_PHONE, SHIPPER_FAX,
  64 + CONSIGNEE_CODE, CONSIGNEE_COUNTRYCODE, CONSIGNEE_FAX,
  65 + SPECIFIC_CONSIGNEENAME, SPECIFIC_CONSIGNEE_PHONE,
  66 + CONSIGNEE_PHONE)
  67 + values (#{autoid,jdbcType=VARCHAR}, #{waybillnomaster,jdbcType=VARCHAR}, #{segment,jdbcType=VARCHAR},
  68 + #{originatingstation,jdbcType=VARCHAR}, #{destinationstation,jdbcType=VARCHAR},
  69 + #{totalweight,jdbcType=VARCHAR}, #{totalpiece,jdbcType=VARCHAR}, #{manifesttotalpiece,jdbcType=VARCHAR},
  70 + #{manifesttotalweight,jdbcType=VARCHAR}, #{flightno,jdbcType=VARCHAR}, #{productname,jdbcType=VARCHAR},
  71 + #{customsstatus,jdbcType=VARCHAR}, #{carrier1,jdbcType=VARCHAR}, #{arrivalstation1,jdbcType=VARCHAR},
  72 + #{carrier2,jdbcType=VARCHAR}, #{arrivalstation2,jdbcType=VARCHAR}, #{carrier3,jdbcType=VARCHAR},
  73 + #{arrivalstation3,jdbcType=VARCHAR}, #{paymode,jdbcType=VARCHAR}, #{specialgoodscode,jdbcType=VARCHAR},
  74 + #{customscode,jdbcType=VARCHAR}, #{shippername,jdbcType=VARCHAR}, #{shipperaddress,jdbcType=VARCHAR},
  75 + #{consigneename,jdbcType=VARCHAR}, #{consigneeaddress,jdbcType=VARCHAR}, #{receiptinformation,jdbcType=VARCHAR},
  76 + #{createdate,jdbcType=TIMESTAMP}, #{flightDate,jdbcType=TIMESTAMP}, #{status,jdbcType=VARCHAR},
  77 + #{isbatch,jdbcType=VARCHAR}, #{originatingstationBill,jdbcType=VARCHAR}, #{destinationstationBill,jdbcType=VARCHAR},
  78 + #{reportorder,jdbcType=VARCHAR}, #{islast,jdbcType=VARCHAR}, #{shipperCode,jdbcType=VARCHAR},
  79 + #{shipperCountrycode,jdbcType=VARCHAR}, #{shipperPhone,jdbcType=VARCHAR}, #{shipperFax,jdbcType=VARCHAR},
  80 + #{consigneeCode,jdbcType=VARCHAR}, #{consigneeCountrycode,jdbcType=VARCHAR}, #{consigneeFax,jdbcType=VARCHAR},
  81 + #{specificConsigneename,jdbcType=VARCHAR}, #{specificConsigneePhone,jdbcType=VARCHAR},
  82 + #{consigneePhone,jdbcType=VARCHAR})
  83 + </insert>
  84 + <insert id="insertSelective" parameterType="com.example.demo.model.T_NMS_ORIGINMANIFESTMASTER" >
  85 + insert into ORIGINMANIFESTMASTER
  86 + <trim prefix="(" suffix=")" suffixOverrides="," >
  87 + <if test="autoid != null" >
  88 + AUTOID,
  89 + </if>
  90 + <if test="waybillnomaster != null" >
  91 + WAYBILLNOMASTER,
  92 + </if>
  93 + <if test="segment != null" >
  94 + SEGMENT,
  95 + </if>
  96 + <if test="originatingstation != null" >
  97 + ORIGINATINGSTATION,
  98 + </if>
  99 + <if test="destinationstation != null" >
  100 + DESTINATIONSTATION,
  101 + </if>
  102 + <if test="totalweight != null" >
  103 + TOTALWEIGHT,
  104 + </if>
  105 + <if test="totalpiece != null" >
  106 + TOTALPIECE,
  107 + </if>
  108 + <if test="manifesttotalpiece != null" >
  109 + MANIFESTTOTALPIECE,
  110 + </if>
  111 + <if test="manifesttotalweight != null" >
  112 + MANIFESTTOTALWEIGHT,
  113 + </if>
  114 + <if test="flightno != null" >
  115 + FLIGHTNO,
  116 + </if>
  117 + <if test="productname != null" >
  118 + PRODUCTNAME,
  119 + </if>
  120 + <if test="customsstatus != null" >
  121 + CUSTOMSSTATUS,
  122 + </if>
  123 + <if test="carrier1 != null" >
  124 + CARRIER1,
  125 + </if>
  126 + <if test="arrivalstation1 != null" >
  127 + ARRIVALSTATION1,
  128 + </if>
  129 + <if test="carrier2 != null" >
  130 + CARRIER2,
  131 + </if>
  132 + <if test="arrivalstation2 != null" >
  133 + ARRIVALSTATION2,
  134 + </if>
  135 + <if test="carrier3 != null" >
  136 + CARRIER3,
  137 + </if>
  138 + <if test="arrivalstation3 != null" >
  139 + ARRIVALSTATION3,
  140 + </if>
  141 + <if test="paymode != null" >
  142 + PAYMODE,
  143 + </if>
  144 + <if test="specialgoodscode != null" >
  145 + SPECIALGOODSCODE,
  146 + </if>
  147 + <if test="customscode != null" >
  148 + CUSTOMSCODE,
  149 + </if>
  150 + <if test="shippername != null" >
  151 + SHIPPERNAME,
  152 + </if>
  153 + <if test="shipperaddress != null" >
  154 + SHIPPERADDRESS,
  155 + </if>
  156 + <if test="consigneename != null" >
  157 + CONSIGNEENAME,
  158 + </if>
  159 + <if test="consigneeaddress != null" >
  160 + CONSIGNEEADDRESS,
  161 + </if>
  162 + <if test="receiptinformation != null" >
  163 + RECEIPTINFORMATION,
  164 + </if>
  165 + <if test="createdate != null" >
  166 + CREATEDATE,
  167 + </if>
  168 + <if test="flightDate != null" >
  169 + FLIGHT_DATE,
  170 + </if>
  171 + <if test="status != null" >
  172 + STATUS,
  173 + </if>
  174 + <if test="isbatch != null" >
  175 + ISBATCH,
  176 + </if>
  177 + <if test="originatingstationBill != null" >
  178 + ORIGINATINGSTATION_BILL,
  179 + </if>
  180 + <if test="destinationstationBill != null" >
  181 + DESTINATIONSTATION_BILL,
  182 + </if>
  183 + <if test="reportorder != null" >
  184 + REPORTORDER,
  185 + </if>
  186 + <if test="islast != null" >
  187 + ISLAST,
  188 + </if>
  189 + <if test="shipperCode != null" >
  190 + SHIPPER_CODE,
  191 + </if>
  192 + <if test="shipperCountrycode != null" >
  193 + SHIPPER_COUNTRYCODE,
  194 + </if>
  195 + <if test="shipperPhone != null" >
  196 + SHIPPER_PHONE,
  197 + </if>
  198 + <if test="shipperFax != null" >
  199 + SHIPPER_FAX,
  200 + </if>
  201 + <if test="consigneeCode != null" >
  202 + CONSIGNEE_CODE,
  203 + </if>
  204 + <if test="consigneeCountrycode != null" >
  205 + CONSIGNEE_COUNTRYCODE,
  206 + </if>
  207 + <if test="consigneeFax != null" >
  208 + CONSIGNEE_FAX,
  209 + </if>
  210 + <if test="specificConsigneename != null" >
  211 + SPECIFIC_CONSIGNEENAME,
  212 + </if>
  213 + <if test="specificConsigneePhone != null" >
  214 + SPECIFIC_CONSIGNEE_PHONE,
  215 + </if>
  216 + <if test="consigneePhone != null" >
  217 + CONSIGNEE_PHONE,
  218 + </if>
  219 + </trim>
  220 + <trim prefix="values (" suffix=")" suffixOverrides="," >
  221 + <if test="autoid != null" >
  222 + #{autoid,jdbcType=VARCHAR},
  223 + </if>
  224 + <if test="waybillnomaster != null" >
  225 + #{waybillnomaster,jdbcType=VARCHAR},
  226 + </if>
  227 + <if test="segment != null" >
  228 + #{segment,jdbcType=VARCHAR},
  229 + </if>
  230 + <if test="originatingstation != null" >
  231 + #{originatingstation,jdbcType=VARCHAR},
  232 + </if>
  233 + <if test="destinationstation != null" >
  234 + #{destinationstation,jdbcType=VARCHAR},
  235 + </if>
  236 + <if test="totalweight != null" >
  237 + #{totalweight,jdbcType=VARCHAR},
  238 + </if>
  239 + <if test="totalpiece != null" >
  240 + #{totalpiece,jdbcType=VARCHAR},
  241 + </if>
  242 + <if test="manifesttotalpiece != null" >
  243 + #{manifesttotalpiece,jdbcType=VARCHAR},
  244 + </if>
  245 + <if test="manifesttotalweight != null" >
  246 + #{manifesttotalweight,jdbcType=VARCHAR},
  247 + </if>
  248 + <if test="flightno != null" >
  249 + #{flightno,jdbcType=VARCHAR},
  250 + </if>
  251 + <if test="productname != null" >
  252 + #{productname,jdbcType=VARCHAR},
  253 + </if>
  254 + <if test="customsstatus != null" >
  255 + #{customsstatus,jdbcType=VARCHAR},
  256 + </if>
  257 + <if test="carrier1 != null" >
  258 + #{carrier1,jdbcType=VARCHAR},
  259 + </if>
  260 + <if test="arrivalstation1 != null" >
  261 + #{arrivalstation1,jdbcType=VARCHAR},
  262 + </if>
  263 + <if test="carrier2 != null" >
  264 + #{carrier2,jdbcType=VARCHAR},
  265 + </if>
  266 + <if test="arrivalstation2 != null" >
  267 + #{arrivalstation2,jdbcType=VARCHAR},
  268 + </if>
  269 + <if test="carrier3 != null" >
  270 + #{carrier3,jdbcType=VARCHAR},
  271 + </if>
  272 + <if test="arrivalstation3 != null" >
  273 + #{arrivalstation3,jdbcType=VARCHAR},
  274 + </if>
  275 + <if test="paymode != null" >
  276 + #{paymode,jdbcType=VARCHAR},
  277 + </if>
  278 + <if test="specialgoodscode != null" >
  279 + #{specialgoodscode,jdbcType=VARCHAR},
  280 + </if>
  281 + <if test="customscode != null" >
  282 + #{customscode,jdbcType=VARCHAR},
  283 + </if>
  284 + <if test="shippername != null" >
  285 + #{shippername,jdbcType=VARCHAR},
  286 + </if>
  287 + <if test="shipperaddress != null" >
  288 + #{shipperaddress,jdbcType=VARCHAR},
  289 + </if>
  290 + <if test="consigneename != null" >
  291 + #{consigneename,jdbcType=VARCHAR},
  292 + </if>
  293 + <if test="consigneeaddress != null" >
  294 + #{consigneeaddress,jdbcType=VARCHAR},
  295 + </if>
  296 + <if test="receiptinformation != null" >
  297 + #{receiptinformation,jdbcType=VARCHAR},
  298 + </if>
  299 + <if test="createdate != null" >
  300 + #{createdate,jdbcType=TIMESTAMP},
  301 + </if>
  302 + <if test="flightDate != null" >
  303 + #{flightDate,jdbcType=TIMESTAMP},
  304 + </if>
  305 + <if test="status != null" >
  306 + #{status,jdbcType=VARCHAR},
  307 + </if>
  308 + <if test="isbatch != null" >
  309 + #{isbatch,jdbcType=VARCHAR},
  310 + </if>
  311 + <if test="originatingstationBill != null" >
  312 + #{originatingstationBill,jdbcType=VARCHAR},
  313 + </if>
  314 + <if test="destinationstationBill != null" >
  315 + #{destinationstationBill,jdbcType=VARCHAR},
  316 + </if>
  317 + <if test="reportorder != null" >
  318 + #{reportorder,jdbcType=VARCHAR},
  319 + </if>
  320 + <if test="islast != null" >
  321 + #{islast,jdbcType=VARCHAR},
  322 + </if>
  323 + <if test="shipperCode != null" >
  324 + #{shipperCode,jdbcType=VARCHAR},
  325 + </if>
  326 + <if test="shipperCountrycode != null" >
  327 + #{shipperCountrycode,jdbcType=VARCHAR},
  328 + </if>
  329 + <if test="shipperPhone != null" >
  330 + #{shipperPhone,jdbcType=VARCHAR},
  331 + </if>
  332 + <if test="shipperFax != null" >
  333 + #{shipperFax,jdbcType=VARCHAR},
  334 + </if>
  335 + <if test="consigneeCode != null" >
  336 + #{consigneeCode,jdbcType=VARCHAR},
  337 + </if>
  338 + <if test="consigneeCountrycode != null" >
  339 + #{consigneeCountrycode,jdbcType=VARCHAR},
  340 + </if>
  341 + <if test="consigneeFax != null" >
  342 + #{consigneeFax,jdbcType=VARCHAR},
  343 + </if>
  344 + <if test="specificConsigneename != null" >
  345 + #{specificConsigneename,jdbcType=VARCHAR},
  346 + </if>
  347 + <if test="specificConsigneePhone != null" >
  348 + #{specificConsigneePhone,jdbcType=VARCHAR},
  349 + </if>
  350 + <if test="consigneePhone != null" >
  351 + #{consigneePhone,jdbcType=VARCHAR},
  352 + </if>
  353 + </trim>
  354 + </insert>
  355 + <select id="selectByWayBillno" resultMap="BaseResultMap" parameterType="java.lang.String" >
  356 + select
  357 + <include refid="Base_Column_List" />
  358 + from T_TXD_FWB
  359 + where FID = #{fid,jdbcType=DECIMAL}
  360 + </select>
  361 +</mapper>
  1 +<?xml version="1.0" encoding="UTF-8" ?>
  2 +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
  3 +<mapper namespace="com.example.demo.mapper.T_NMS_PREPAREMASTERMapper" >
  4 + <resultMap id="BaseResultMap" type="com.example.demo.model.T_NMS_PREPAREMASTER" >
  5 + <result column="AUTOID" property="autoid" jdbcType="VARCHAR" />
  6 + <result column="FLIGHTNO" property="flightno" jdbcType="VARCHAR" />
  7 + <result column="FLIGHTDATE" property="flightdate" jdbcType="TIMESTAMP" />
  8 + <result column="ORIGINATINGSTATION" property="originatingstation" jdbcType="VARCHAR" />
  9 + <result column="DESTINATIONSTATION" property="destinationstation" jdbcType="VARCHAR" />
  10 + <result column="WAYBILLNOMASTER" property="waybillnomaster" jdbcType="VARCHAR" />
  11 + <result column="TOTALWEIGHT" property="totalweight" jdbcType="VARCHAR" />
  12 + <result column="TOTALPIECE" property="totalpiece" jdbcType="VARCHAR" />
  13 + <result column="PREPARETOTALPIECE" property="preparetotalpiece" jdbcType="VARCHAR" />
  14 + <result column="PREPARETOTALWEIGHT" property="preparetotalweight" jdbcType="VARCHAR" />
  15 + <result column="STOWAGEDATE" property="stowagedate" jdbcType="TIMESTAMP" />
  16 + <result column="STATUS" property="status" jdbcType="VARCHAR" />
  17 + <result column="CARRIER" property="carrier" jdbcType="VARCHAR" />
  18 + <result column="CUSTOMSSTATUS" property="customsstatus" jdbcType="VARCHAR" />
  19 + <result column="PAYMODE" property="paymode" jdbcType="VARCHAR" />
  20 + <result column="CUSTOMSCODE" property="customscode" jdbcType="VARCHAR" />
  21 + <result column="AGENTCODE" property="agentcode" jdbcType="VARCHAR" />
  22 + <result column="AGENTNAME" property="agentname" jdbcType="VARCHAR" />
  23 + <result column="SHIPPERNAME" property="shippername" jdbcType="VARCHAR" />
  24 + <result column="SHIPPERCITY" property="shippercity" jdbcType="VARCHAR" />
  25 + <result column="SHIPPERADDRESS" property="shipperaddress" jdbcType="VARCHAR" />
  26 + <result column="CONSIGNEENAME" property="consigneename" jdbcType="VARCHAR" />
  27 + <result column="CONSIGNEECITY" property="consigneecity" jdbcType="VARCHAR" />
  28 + <result column="CONSIGNEEADDRESS" property="consigneeaddress" jdbcType="VARCHAR" />
  29 + <result column="RECEIPTINFORMATION" property="receiptinformation" jdbcType="VARCHAR" />
  30 + <result column="CREATEDATE" property="createdate" jdbcType="TIMESTAMP" />
  31 + <result column="PRODUCTNAME" property="productname" jdbcType="VARCHAR" />
  32 + <result column="SHIPPER_CODE" property="shipperCode" jdbcType="VARCHAR" />
  33 + <result column="SHIPPER_COUNTRYCODE" property="shipperCountrycode" jdbcType="VARCHAR" />
  34 + <result column="SHIPPER_PHONE" property="shipperPhone" jdbcType="VARCHAR" />
  35 + <result column="SHIPPER_FAX" property="shipperFax" jdbcType="VARCHAR" />
  36 + <result column="CONSIGNEE_CODE" property="consigneeCode" jdbcType="VARCHAR" />
  37 + <result column="CONSIGNEE_COUNTRYCODE" property="consigneeCountrycode" jdbcType="VARCHAR" />
  38 + <result column="CONSIGNEE_FAX" property="consigneeFax" jdbcType="VARCHAR" />
  39 + <result column="CONSIGNEE_PHONE" property="consigneePhone" jdbcType="VARCHAR" />
  40 + <result column="SHIPPER_AEO" property="shipperAeo" jdbcType="VARCHAR" />
  41 + <result column="CONSIGNEE_AEO" property="consigneeAeo" jdbcType="VARCHAR" />
  42 + <result column="UNLOADINGSTATION" property="unloadingstation" jdbcType="VARCHAR" />
  43 + </resultMap>
  44 + <insert id="insert" parameterType="com.example.demo.model.T_NMS_PREPAREMASTER" >
  45 + insert into PREPAREMASTER (AUTOID, FLIGHTNO, FLIGHTDATE,
  46 + ORIGINATINGSTATION, DESTINATIONSTATION,
  47 + WAYBILLNOMASTER, TOTALWEIGHT, TOTALPIECE,
  48 + PREPARETOTALPIECE, PREPARETOTALWEIGHT,
  49 + STOWAGEDATE, STATUS, CARRIER,
  50 + CUSTOMSSTATUS, PAYMODE, CUSTOMSCODE,
  51 + AGENTCODE, AGENTNAME, SHIPPERNAME,
  52 + SHIPPERCITY, SHIPPERADDRESS, CONSIGNEENAME,
  53 + CONSIGNEECITY, CONSIGNEEADDRESS, RECEIPTINFORMATION,
  54 + CREATEDATE, PRODUCTNAME, SHIPPER_CODE,
  55 + SHIPPER_COUNTRYCODE, SHIPPER_PHONE, SHIPPER_FAX,
  56 + CONSIGNEE_CODE, CONSIGNEE_COUNTRYCODE, CONSIGNEE_FAX,
  57 + CONSIGNEE_PHONE, SHIPPER_AEO, CONSIGNEE_AEO,
  58 + UNLOADINGSTATION)
  59 + values (#{autoid,jdbcType=VARCHAR}, #{flightno,jdbcType=VARCHAR}, #{flightdate,jdbcType=TIMESTAMP},
  60 + #{originatingstation,jdbcType=VARCHAR}, #{destinationstation,jdbcType=VARCHAR},
  61 + #{waybillnomaster,jdbcType=VARCHAR}, #{totalweight,jdbcType=VARCHAR}, #{totalpiece,jdbcType=VARCHAR},
  62 + #{preparetotalpiece,jdbcType=VARCHAR}, #{preparetotalweight,jdbcType=VARCHAR},
  63 + #{stowagedate,jdbcType=TIMESTAMP}, #{status,jdbcType=VARCHAR}, #{carrier,jdbcType=VARCHAR},
  64 + #{customsstatus,jdbcType=VARCHAR}, #{paymode,jdbcType=VARCHAR}, #{customscode,jdbcType=VARCHAR},
  65 + #{agentcode,jdbcType=VARCHAR}, #{agentname,jdbcType=VARCHAR}, #{shippername,jdbcType=VARCHAR},
  66 + #{shippercity,jdbcType=VARCHAR}, #{shipperaddress,jdbcType=VARCHAR}, #{consigneename,jdbcType=VARCHAR},
  67 + #{consigneecity,jdbcType=VARCHAR}, #{consigneeaddress,jdbcType=VARCHAR}, #{receiptinformation,jdbcType=VARCHAR},
  68 + #{createdate,jdbcType=TIMESTAMP}, #{productname,jdbcType=VARCHAR}, #{shipperCode,jdbcType=VARCHAR},
  69 + #{shipperCountrycode,jdbcType=VARCHAR}, #{shipperPhone,jdbcType=VARCHAR}, #{shipperFax,jdbcType=VARCHAR},
  70 + #{consigneeCode,jdbcType=VARCHAR}, #{consigneeCountrycode,jdbcType=VARCHAR}, #{consigneeFax,jdbcType=VARCHAR},
  71 + #{consigneePhone,jdbcType=VARCHAR}, #{shipperAeo,jdbcType=VARCHAR}, #{consigneeAeo,jdbcType=VARCHAR},
  72 + #{unloadingstation,jdbcType=VARCHAR})
  73 + </insert>
  74 + <insert id="insertSelective" parameterType="com.example.demo.model.T_NMS_PREPAREMASTER" >
  75 + insert into PREPAREMASTER
  76 + <trim prefix="(" suffix=")" suffixOverrides="," >
  77 + <if test="autoid != null" >
  78 + AUTOID,
  79 + </if>
  80 + <if test="flightno != null" >
  81 + FLIGHTNO,
  82 + </if>
  83 + <if test="flightdate != null" >
  84 + FLIGHTDATE,
  85 + </if>
  86 + <if test="originatingstation != null" >
  87 + ORIGINATINGSTATION,
  88 + </if>
  89 + <if test="destinationstation != null" >
  90 + DESTINATIONSTATION,
  91 + </if>
  92 + <if test="waybillnomaster != null" >
  93 + WAYBILLNOMASTER,
  94 + </if>
  95 + <if test="totalweight != null" >
  96 + TOTALWEIGHT,
  97 + </if>
  98 + <if test="totalpiece != null" >
  99 + TOTALPIECE,
  100 + </if>
  101 + <if test="preparetotalpiece != null" >
  102 + PREPARETOTALPIECE,
  103 + </if>
  104 + <if test="preparetotalweight != null" >
  105 + PREPARETOTALWEIGHT,
  106 + </if>
  107 + <if test="stowagedate != null" >
  108 + STOWAGEDATE,
  109 + </if>
  110 + <if test="status != null" >
  111 + STATUS,
  112 + </if>
  113 + <if test="carrier != null" >
  114 + CARRIER,
  115 + </if>
  116 + <if test="customsstatus != null" >
  117 + CUSTOMSSTATUS,
  118 + </if>
  119 + <if test="paymode != null" >
  120 + PAYMODE,
  121 + </if>
  122 + <if test="customscode != null" >
  123 + CUSTOMSCODE,
  124 + </if>
  125 + <if test="agentcode != null" >
  126 + AGENTCODE,
  127 + </if>
  128 + <if test="agentname != null" >
  129 + AGENTNAME,
  130 + </if>
  131 + <if test="shippername != null" >
  132 + SHIPPERNAME,
  133 + </if>
  134 + <if test="shippercity != null" >
  135 + SHIPPERCITY,
  136 + </if>
  137 + <if test="shipperaddress != null" >
  138 + SHIPPERADDRESS,
  139 + </if>
  140 + <if test="consigneename != null" >
  141 + CONSIGNEENAME,
  142 + </if>
  143 + <if test="consigneecity != null" >
  144 + CONSIGNEECITY,
  145 + </if>
  146 + <if test="consigneeaddress != null" >
  147 + CONSIGNEEADDRESS,
  148 + </if>
  149 + <if test="receiptinformation != null" >
  150 + RECEIPTINFORMATION,
  151 + </if>
  152 + <if test="createdate != null" >
  153 + CREATEDATE,
  154 + </if>
  155 + <if test="productname != null" >
  156 + PRODUCTNAME,
  157 + </if>
  158 + <if test="shipperCode != null" >
  159 + SHIPPER_CODE,
  160 + </if>
  161 + <if test="shipperCountrycode != null" >
  162 + SHIPPER_COUNTRYCODE,
  163 + </if>
  164 + <if test="shipperPhone != null" >
  165 + SHIPPER_PHONE,
  166 + </if>
  167 + <if test="shipperFax != null" >
  168 + SHIPPER_FAX,
  169 + </if>
  170 + <if test="consigneeCode != null" >
  171 + CONSIGNEE_CODE,
  172 + </if>
  173 + <if test="consigneeCountrycode != null" >
  174 + CONSIGNEE_COUNTRYCODE,
  175 + </if>
  176 + <if test="consigneeFax != null" >
  177 + CONSIGNEE_FAX,
  178 + </if>
  179 + <if test="consigneePhone != null" >
  180 + CONSIGNEE_PHONE,
  181 + </if>
  182 + <if test="shipperAeo != null" >
  183 + SHIPPER_AEO,
  184 + </if>
  185 + <if test="consigneeAeo != null" >
  186 + CONSIGNEE_AEO,
  187 + </if>
  188 + <if test="unloadingstation != null" >
  189 + UNLOADINGSTATION,
  190 + </if>
  191 + </trim>
  192 + <trim prefix="values (" suffix=")" suffixOverrides="," >
  193 + <if test="autoid != null" >
  194 + #{autoid,jdbcType=VARCHAR},
  195 + </if>
  196 + <if test="flightno != null" >
  197 + #{flightno,jdbcType=VARCHAR},
  198 + </if>
  199 + <if test="flightdate != null" >
  200 + #{flightdate,jdbcType=TIMESTAMP},
  201 + </if>
  202 + <if test="originatingstation != null" >
  203 + #{originatingstation,jdbcType=VARCHAR},
  204 + </if>
  205 + <if test="destinationstation != null" >
  206 + #{destinationstation,jdbcType=VARCHAR},
  207 + </if>
  208 + <if test="waybillnomaster != null" >
  209 + #{waybillnomaster,jdbcType=VARCHAR},
  210 + </if>
  211 + <if test="totalweight != null" >
  212 + #{totalweight,jdbcType=VARCHAR},
  213 + </if>
  214 + <if test="totalpiece != null" >
  215 + #{totalpiece,jdbcType=VARCHAR},
  216 + </if>
  217 + <if test="preparetotalpiece != null" >
  218 + #{preparetotalpiece,jdbcType=VARCHAR},
  219 + </if>
  220 + <if test="preparetotalweight != null" >
  221 + #{preparetotalweight,jdbcType=VARCHAR},
  222 + </if>
  223 + <if test="stowagedate != null" >
  224 + #{stowagedate,jdbcType=TIMESTAMP},
  225 + </if>
  226 + <if test="status != null" >
  227 + #{status,jdbcType=VARCHAR},
  228 + </if>
  229 + <if test="carrier != null" >
  230 + #{carrier,jdbcType=VARCHAR},
  231 + </if>
  232 + <if test="customsstatus != null" >
  233 + #{customsstatus,jdbcType=VARCHAR},
  234 + </if>
  235 + <if test="paymode != null" >
  236 + #{paymode,jdbcType=VARCHAR},
  237 + </if>
  238 + <if test="customscode != null" >
  239 + #{customscode,jdbcType=VARCHAR},
  240 + </if>
  241 + <if test="agentcode != null" >
  242 + #{agentcode,jdbcType=VARCHAR},
  243 + </if>
  244 + <if test="agentname != null" >
  245 + #{agentname,jdbcType=VARCHAR},
  246 + </if>
  247 + <if test="shippername != null" >
  248 + #{shippername,jdbcType=VARCHAR},
  249 + </if>
  250 + <if test="shippercity != null" >
  251 + #{shippercity,jdbcType=VARCHAR},
  252 + </if>
  253 + <if test="shipperaddress != null" >
  254 + #{shipperaddress,jdbcType=VARCHAR},
  255 + </if>
  256 + <if test="consigneename != null" >
  257 + #{consigneename,jdbcType=VARCHAR},
  258 + </if>
  259 + <if test="consigneecity != null" >
  260 + #{consigneecity,jdbcType=VARCHAR},
  261 + </if>
  262 + <if test="consigneeaddress != null" >
  263 + #{consigneeaddress,jdbcType=VARCHAR},
  264 + </if>
  265 + <if test="receiptinformation != null" >
  266 + #{receiptinformation,jdbcType=VARCHAR},
  267 + </if>
  268 + <if test="createdate != null" >
  269 + #{createdate,jdbcType=TIMESTAMP},
  270 + </if>
  271 + <if test="productname != null" >
  272 + #{productname,jdbcType=VARCHAR},
  273 + </if>
  274 + <if test="shipperCode != null" >
  275 + #{shipperCode,jdbcType=VARCHAR},
  276 + </if>
  277 + <if test="shipperCountrycode != null" >
  278 + #{shipperCountrycode,jdbcType=VARCHAR},
  279 + </if>
  280 + <if test="shipperPhone != null" >
  281 + #{shipperPhone,jdbcType=VARCHAR},
  282 + </if>
  283 + <if test="shipperFax != null" >
  284 + #{shipperFax,jdbcType=VARCHAR},
  285 + </if>
  286 + <if test="consigneeCode != null" >
  287 + #{consigneeCode,jdbcType=VARCHAR},
  288 + </if>
  289 + <if test="consigneeCountrycode != null" >
  290 + #{consigneeCountrycode,jdbcType=VARCHAR},
  291 + </if>
  292 + <if test="consigneeFax != null" >
  293 + #{consigneeFax,jdbcType=VARCHAR},
  294 + </if>
  295 + <if test="consigneePhone != null" >
  296 + #{consigneePhone,jdbcType=VARCHAR},
  297 + </if>
  298 + <if test="shipperAeo != null" >
  299 + #{shipperAeo,jdbcType=VARCHAR},
  300 + </if>
  301 + <if test="consigneeAeo != null" >
  302 + #{consigneeAeo,jdbcType=VARCHAR},
  303 + </if>
  304 + <if test="unloadingstation != null" >
  305 + #{unloadingstation,jdbcType=VARCHAR},
  306 + </if>
  307 + </trim>
  308 + </insert>
  309 +</mapper>