切换导航条
此项目
正在载入...
登录
朱兆平
/
wareHouse_xml
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
朱兆平
6 years ago
提交
0a4f5eb08f449ce69533eff071bb74be6f39930d
1 个父辈
789d80c1
airWayBill
运单API
隐藏空白字符变更
内嵌
并排对比
正在显示
13 个修改的文件
包含
1572 行增加
和
15 行删除
src/main/java/com/example/demo/controller/NMS_AirWayBill_Controller.java
src/main/java/com/example/demo/mapper/T_NMS_ORIGINMANIFESTMASTERMapper.java
src/main/java/com/example/demo/mapper/T_NMS_PREPAREMASTERMapper.java
src/main/java/com/example/demo/model/T_NMS_AirWayBill.java
src/main/java/com/example/demo/model/T_NMS_ORIGINMANIFESTMASTER.java
src/main/java/com/example/demo/model/T_NMS_PREPAREMASTER.java
src/main/java/com/example/demo/service/NMS_AirWayBill_Service.java
src/main/java/com/example/demo/service/imp/NMS_AirWayBill_ServiceImp.java
src/main/resources/application.properties
src/main/resources/generator/generatorConfig.xml
src/main/resources/mapping/T_ETL_MESSAGEMapper.xml
src/main/resources/mapping/T_NMS_ORIGINMANIFESTMASTERMapper.xml
src/main/resources/mapping/T_NMS_PREPAREMASTERMapper.xml
src/main/java/com/example/demo/controller/NMS_AirWayBill_Controller.java
0 → 100644
查看文件 @
0a4f5eb
package
com
.
example
.
demo
.
controller
;
public
class
NMS_AirWayBill_Controller
{
}
...
...
src/main/java/com/example/demo/mapper/T_NMS_ORIGINMANIFESTMASTERMapper.java
0 → 100644
查看文件 @
0a4f5eb
package
com
.
example
.
demo
.
mapper
;
import
com.example.demo.model.T_NMS_ORIGINMANIFESTMASTER
;
public
interface
T_NMS_ORIGINMANIFESTMASTERMapper
{
int
insert
(
T_NMS_ORIGINMANIFESTMASTER
record
);
int
insertSelective
(
T_NMS_ORIGINMANIFESTMASTER
record
);
}
\ No newline at end of file
...
...
src/main/java/com/example/demo/mapper/T_NMS_PREPAREMASTERMapper.java
0 → 100644
查看文件 @
0a4f5eb
package
com
.
example
.
demo
.
mapper
;
import
com.example.demo.model.T_NMS_PREPAREMASTER
;
public
interface
T_NMS_PREPAREMASTERMapper
{
int
insert
(
T_NMS_PREPAREMASTER
record
);
int
insertSelective
(
T_NMS_PREPAREMASTER
record
);
}
\ No newline at end of file
...
...
src/main/java/com/example/demo/model/T_NMS_AirWayBill.java
0 → 100644
查看文件 @
0a4f5eb
package
com
.
example
.
demo
.
model
;
public
class
T_NMS_AirWayBill
{
private
String
airwaybilllno
;
//主运单号
private
String
piece
;
//运单件数
private
String
weight
;
//运单重量
private
String
expimp
;
//进出港
private
String
domint
;
//国际国内
}
...
...
src/main/java/com/example/demo/model/T_NMS_ORIGINMANIFESTMASTER.java
0 → 100644
查看文件 @
0a4f5eb
package
com
.
example
.
demo
.
model
;
import
java.util.Date
;
public
class
T_NMS_ORIGINMANIFESTMASTER
{
private
String
autoid
;
private
String
waybillnomaster
;
private
String
segment
;
private
String
originatingstation
;
private
String
destinationstation
;
private
String
totalweight
;
private
String
totalpiece
;
private
String
manifesttotalpiece
;
private
String
manifesttotalweight
;
private
String
flightno
;
private
String
productname
;
private
String
customsstatus
;
private
String
carrier1
;
private
String
arrivalstation1
;
private
String
carrier2
;
private
String
arrivalstation2
;
private
String
carrier3
;
private
String
arrivalstation3
;
private
String
paymode
;
private
String
specialgoodscode
;
private
String
customscode
;
private
String
shippername
;
private
String
shipperaddress
;
private
String
consigneename
;
private
String
consigneeaddress
;
private
String
receiptinformation
;
private
Date
createdate
;
private
Date
flightDate
;
private
String
status
;
private
String
isbatch
;
private
String
originatingstationBill
;
private
String
destinationstationBill
;
private
String
reportorder
;
private
String
islast
;
private
String
shipperCode
;
private
String
shipperCountrycode
;
private
String
shipperPhone
;
private
String
shipperFax
;
private
String
consigneeCode
;
private
String
consigneeCountrycode
;
private
String
consigneeFax
;
private
String
specificConsigneename
;
private
String
specificConsigneePhone
;
private
String
consigneePhone
;
public
String
getAutoid
()
{
return
autoid
;
}
public
void
setAutoid
(
String
autoid
)
{
this
.
autoid
=
autoid
==
null
?
null
:
autoid
.
trim
();
}
public
String
getWaybillnomaster
()
{
return
waybillnomaster
;
}
public
void
setWaybillnomaster
(
String
waybillnomaster
)
{
this
.
waybillnomaster
=
waybillnomaster
==
null
?
null
:
waybillnomaster
.
trim
();
}
public
String
getSegment
()
{
return
segment
;
}
public
void
setSegment
(
String
segment
)
{
this
.
segment
=
segment
==
null
?
null
:
segment
.
trim
();
}
public
String
getOriginatingstation
()
{
return
originatingstation
;
}
public
void
setOriginatingstation
(
String
originatingstation
)
{
this
.
originatingstation
=
originatingstation
==
null
?
null
:
originatingstation
.
trim
();
}
public
String
getDestinationstation
()
{
return
destinationstation
;
}
public
void
setDestinationstation
(
String
destinationstation
)
{
this
.
destinationstation
=
destinationstation
==
null
?
null
:
destinationstation
.
trim
();
}
public
String
getTotalweight
()
{
return
totalweight
;
}
public
void
setTotalweight
(
String
totalweight
)
{
this
.
totalweight
=
totalweight
==
null
?
null
:
totalweight
.
trim
();
}
public
String
getTotalpiece
()
{
return
totalpiece
;
}
public
void
setTotalpiece
(
String
totalpiece
)
{
this
.
totalpiece
=
totalpiece
==
null
?
null
:
totalpiece
.
trim
();
}
public
String
getManifesttotalpiece
()
{
return
manifesttotalpiece
;
}
public
void
setManifesttotalpiece
(
String
manifesttotalpiece
)
{
this
.
manifesttotalpiece
=
manifesttotalpiece
==
null
?
null
:
manifesttotalpiece
.
trim
();
}
public
String
getManifesttotalweight
()
{
return
manifesttotalweight
;
}
public
void
setManifesttotalweight
(
String
manifesttotalweight
)
{
this
.
manifesttotalweight
=
manifesttotalweight
==
null
?
null
:
manifesttotalweight
.
trim
();
}
public
String
getFlightno
()
{
return
flightno
;
}
public
void
setFlightno
(
String
flightno
)
{
this
.
flightno
=
flightno
==
null
?
null
:
flightno
.
trim
();
}
public
String
getProductname
()
{
return
productname
;
}
public
void
setProductname
(
String
productname
)
{
this
.
productname
=
productname
==
null
?
null
:
productname
.
trim
();
}
public
String
getCustomsstatus
()
{
return
customsstatus
;
}
public
void
setCustomsstatus
(
String
customsstatus
)
{
this
.
customsstatus
=
customsstatus
==
null
?
null
:
customsstatus
.
trim
();
}
public
String
getCarrier1
()
{
return
carrier1
;
}
public
void
setCarrier1
(
String
carrier1
)
{
this
.
carrier1
=
carrier1
==
null
?
null
:
carrier1
.
trim
();
}
public
String
getArrivalstation1
()
{
return
arrivalstation1
;
}
public
void
setArrivalstation1
(
String
arrivalstation1
)
{
this
.
arrivalstation1
=
arrivalstation1
==
null
?
null
:
arrivalstation1
.
trim
();
}
public
String
getCarrier2
()
{
return
carrier2
;
}
public
void
setCarrier2
(
String
carrier2
)
{
this
.
carrier2
=
carrier2
==
null
?
null
:
carrier2
.
trim
();
}
public
String
getArrivalstation2
()
{
return
arrivalstation2
;
}
public
void
setArrivalstation2
(
String
arrivalstation2
)
{
this
.
arrivalstation2
=
arrivalstation2
==
null
?
null
:
arrivalstation2
.
trim
();
}
public
String
getCarrier3
()
{
return
carrier3
;
}
public
void
setCarrier3
(
String
carrier3
)
{
this
.
carrier3
=
carrier3
==
null
?
null
:
carrier3
.
trim
();
}
public
String
getArrivalstation3
()
{
return
arrivalstation3
;
}
public
void
setArrivalstation3
(
String
arrivalstation3
)
{
this
.
arrivalstation3
=
arrivalstation3
==
null
?
null
:
arrivalstation3
.
trim
();
}
public
String
getPaymode
()
{
return
paymode
;
}
public
void
setPaymode
(
String
paymode
)
{
this
.
paymode
=
paymode
==
null
?
null
:
paymode
.
trim
();
}
public
String
getSpecialgoodscode
()
{
return
specialgoodscode
;
}
public
void
setSpecialgoodscode
(
String
specialgoodscode
)
{
this
.
specialgoodscode
=
specialgoodscode
==
null
?
null
:
specialgoodscode
.
trim
();
}
public
String
getCustomscode
()
{
return
customscode
;
}
public
void
setCustomscode
(
String
customscode
)
{
this
.
customscode
=
customscode
==
null
?
null
:
customscode
.
trim
();
}
public
String
getShippername
()
{
return
shippername
;
}
public
void
setShippername
(
String
shippername
)
{
this
.
shippername
=
shippername
==
null
?
null
:
shippername
.
trim
();
}
public
String
getShipperaddress
()
{
return
shipperaddress
;
}
public
void
setShipperaddress
(
String
shipperaddress
)
{
this
.
shipperaddress
=
shipperaddress
==
null
?
null
:
shipperaddress
.
trim
();
}
public
String
getConsigneename
()
{
return
consigneename
;
}
public
void
setConsigneename
(
String
consigneename
)
{
this
.
consigneename
=
consigneename
==
null
?
null
:
consigneename
.
trim
();
}
public
String
getConsigneeaddress
()
{
return
consigneeaddress
;
}
public
void
setConsigneeaddress
(
String
consigneeaddress
)
{
this
.
consigneeaddress
=
consigneeaddress
==
null
?
null
:
consigneeaddress
.
trim
();
}
public
String
getReceiptinformation
()
{
return
receiptinformation
;
}
public
void
setReceiptinformation
(
String
receiptinformation
)
{
this
.
receiptinformation
=
receiptinformation
==
null
?
null
:
receiptinformation
.
trim
();
}
public
Date
getCreatedate
()
{
return
createdate
;
}
public
void
setCreatedate
(
Date
createdate
)
{
this
.
createdate
=
createdate
;
}
public
Date
getFlightDate
()
{
return
flightDate
;
}
public
void
setFlightDate
(
Date
flightDate
)
{
this
.
flightDate
=
flightDate
;
}
public
String
getStatus
()
{
return
status
;
}
public
void
setStatus
(
String
status
)
{
this
.
status
=
status
==
null
?
null
:
status
.
trim
();
}
public
String
getIsbatch
()
{
return
isbatch
;
}
public
void
setIsbatch
(
String
isbatch
)
{
this
.
isbatch
=
isbatch
==
null
?
null
:
isbatch
.
trim
();
}
public
String
getOriginatingstationBill
()
{
return
originatingstationBill
;
}
public
void
setOriginatingstationBill
(
String
originatingstationBill
)
{
this
.
originatingstationBill
=
originatingstationBill
==
null
?
null
:
originatingstationBill
.
trim
();
}
public
String
getDestinationstationBill
()
{
return
destinationstationBill
;
}
public
void
setDestinationstationBill
(
String
destinationstationBill
)
{
this
.
destinationstationBill
=
destinationstationBill
==
null
?
null
:
destinationstationBill
.
trim
();
}
public
String
getReportorder
()
{
return
reportorder
;
}
public
void
setReportorder
(
String
reportorder
)
{
this
.
reportorder
=
reportorder
==
null
?
null
:
reportorder
.
trim
();
}
public
String
getIslast
()
{
return
islast
;
}
public
void
setIslast
(
String
islast
)
{
this
.
islast
=
islast
==
null
?
null
:
islast
.
trim
();
}
public
String
getShipperCode
()
{
return
shipperCode
;
}
public
void
setShipperCode
(
String
shipperCode
)
{
this
.
shipperCode
=
shipperCode
==
null
?
null
:
shipperCode
.
trim
();
}
public
String
getShipperCountrycode
()
{
return
shipperCountrycode
;
}
public
void
setShipperCountrycode
(
String
shipperCountrycode
)
{
this
.
shipperCountrycode
=
shipperCountrycode
==
null
?
null
:
shipperCountrycode
.
trim
();
}
public
String
getShipperPhone
()
{
return
shipperPhone
;
}
public
void
setShipperPhone
(
String
shipperPhone
)
{
this
.
shipperPhone
=
shipperPhone
==
null
?
null
:
shipperPhone
.
trim
();
}
public
String
getShipperFax
()
{
return
shipperFax
;
}
public
void
setShipperFax
(
String
shipperFax
)
{
this
.
shipperFax
=
shipperFax
==
null
?
null
:
shipperFax
.
trim
();
}
public
String
getConsigneeCode
()
{
return
consigneeCode
;
}
public
void
setConsigneeCode
(
String
consigneeCode
)
{
this
.
consigneeCode
=
consigneeCode
==
null
?
null
:
consigneeCode
.
trim
();
}
public
String
getConsigneeCountrycode
()
{
return
consigneeCountrycode
;
}
public
void
setConsigneeCountrycode
(
String
consigneeCountrycode
)
{
this
.
consigneeCountrycode
=
consigneeCountrycode
==
null
?
null
:
consigneeCountrycode
.
trim
();
}
public
String
getConsigneeFax
()
{
return
consigneeFax
;
}
public
void
setConsigneeFax
(
String
consigneeFax
)
{
this
.
consigneeFax
=
consigneeFax
==
null
?
null
:
consigneeFax
.
trim
();
}
public
String
getSpecificConsigneename
()
{
return
specificConsigneename
;
}
public
void
setSpecificConsigneename
(
String
specificConsigneename
)
{
this
.
specificConsigneename
=
specificConsigneename
==
null
?
null
:
specificConsigneename
.
trim
();
}
public
String
getSpecificConsigneePhone
()
{
return
specificConsigneePhone
;
}
public
void
setSpecificConsigneePhone
(
String
specificConsigneePhone
)
{
this
.
specificConsigneePhone
=
specificConsigneePhone
==
null
?
null
:
specificConsigneePhone
.
trim
();
}
public
String
getConsigneePhone
()
{
return
consigneePhone
;
}
public
void
setConsigneePhone
(
String
consigneePhone
)
{
this
.
consigneePhone
=
consigneePhone
==
null
?
null
:
consigneePhone
.
trim
();
}
}
\ No newline at end of file
...
...
src/main/java/com/example/demo/model/T_NMS_PREPAREMASTER.java
0 → 100644
查看文件 @
0a4f5eb
package
com
.
example
.
demo
.
model
;
import
java.util.Date
;
public
class
T_NMS_PREPAREMASTER
{
private
String
autoid
;
private
String
flightno
;
private
Date
flightdate
;
private
String
originatingstation
;
private
String
destinationstation
;
private
String
waybillnomaster
;
private
String
totalweight
;
private
String
totalpiece
;
private
String
preparetotalpiece
;
private
String
preparetotalweight
;
private
Date
stowagedate
;
private
String
status
;
private
String
carrier
;
private
String
customsstatus
;
private
String
paymode
;
private
String
customscode
;
private
String
agentcode
;
private
String
agentname
;
private
String
shippername
;
private
String
shippercity
;
private
String
shipperaddress
;
private
String
consigneename
;
private
String
consigneecity
;
private
String
consigneeaddress
;
private
String
receiptinformation
;
private
Date
createdate
;
private
String
productname
;
private
String
shipperCode
;
private
String
shipperCountrycode
;
private
String
shipperPhone
;
private
String
shipperFax
;
private
String
consigneeCode
;
private
String
consigneeCountrycode
;
private
String
consigneeFax
;
private
String
consigneePhone
;
private
String
shipperAeo
;
private
String
consigneeAeo
;
private
String
unloadingstation
;
public
String
getAutoid
()
{
return
autoid
;
}
public
void
setAutoid
(
String
autoid
)
{
this
.
autoid
=
autoid
==
null
?
null
:
autoid
.
trim
();
}
public
String
getFlightno
()
{
return
flightno
;
}
public
void
setFlightno
(
String
flightno
)
{
this
.
flightno
=
flightno
==
null
?
null
:
flightno
.
trim
();
}
public
Date
getFlightdate
()
{
return
flightdate
;
}
public
void
setFlightdate
(
Date
flightdate
)
{
this
.
flightdate
=
flightdate
;
}
public
String
getOriginatingstation
()
{
return
originatingstation
;
}
public
void
setOriginatingstation
(
String
originatingstation
)
{
this
.
originatingstation
=
originatingstation
==
null
?
null
:
originatingstation
.
trim
();
}
public
String
getDestinationstation
()
{
return
destinationstation
;
}
public
void
setDestinationstation
(
String
destinationstation
)
{
this
.
destinationstation
=
destinationstation
==
null
?
null
:
destinationstation
.
trim
();
}
public
String
getWaybillnomaster
()
{
return
waybillnomaster
;
}
public
void
setWaybillnomaster
(
String
waybillnomaster
)
{
this
.
waybillnomaster
=
waybillnomaster
==
null
?
null
:
waybillnomaster
.
trim
();
}
public
String
getTotalweight
()
{
return
totalweight
;
}
public
void
setTotalweight
(
String
totalweight
)
{
this
.
totalweight
=
totalweight
==
null
?
null
:
totalweight
.
trim
();
}
public
String
getTotalpiece
()
{
return
totalpiece
;
}
public
void
setTotalpiece
(
String
totalpiece
)
{
this
.
totalpiece
=
totalpiece
==
null
?
null
:
totalpiece
.
trim
();
}
public
String
getPreparetotalpiece
()
{
return
preparetotalpiece
;
}
public
void
setPreparetotalpiece
(
String
preparetotalpiece
)
{
this
.
preparetotalpiece
=
preparetotalpiece
==
null
?
null
:
preparetotalpiece
.
trim
();
}
public
String
getPreparetotalweight
()
{
return
preparetotalweight
;
}
public
void
setPreparetotalweight
(
String
preparetotalweight
)
{
this
.
preparetotalweight
=
preparetotalweight
==
null
?
null
:
preparetotalweight
.
trim
();
}
public
Date
getStowagedate
()
{
return
stowagedate
;
}
public
void
setStowagedate
(
Date
stowagedate
)
{
this
.
stowagedate
=
stowagedate
;
}
public
String
getStatus
()
{
return
status
;
}
public
void
setStatus
(
String
status
)
{
this
.
status
=
status
==
null
?
null
:
status
.
trim
();
}
public
String
getCarrier
()
{
return
carrier
;
}
public
void
setCarrier
(
String
carrier
)
{
this
.
carrier
=
carrier
==
null
?
null
:
carrier
.
trim
();
}
public
String
getCustomsstatus
()
{
return
customsstatus
;
}
public
void
setCustomsstatus
(
String
customsstatus
)
{
this
.
customsstatus
=
customsstatus
==
null
?
null
:
customsstatus
.
trim
();
}
public
String
getPaymode
()
{
return
paymode
;
}
public
void
setPaymode
(
String
paymode
)
{
this
.
paymode
=
paymode
==
null
?
null
:
paymode
.
trim
();
}
public
String
getCustomscode
()
{
return
customscode
;
}
public
void
setCustomscode
(
String
customscode
)
{
this
.
customscode
=
customscode
==
null
?
null
:
customscode
.
trim
();
}
public
String
getAgentcode
()
{
return
agentcode
;
}
public
void
setAgentcode
(
String
agentcode
)
{
this
.
agentcode
=
agentcode
==
null
?
null
:
agentcode
.
trim
();
}
public
String
getAgentname
()
{
return
agentname
;
}
public
void
setAgentname
(
String
agentname
)
{
this
.
agentname
=
agentname
==
null
?
null
:
agentname
.
trim
();
}
public
String
getShippername
()
{
return
shippername
;
}
public
void
setShippername
(
String
shippername
)
{
this
.
shippername
=
shippername
==
null
?
null
:
shippername
.
trim
();
}
public
String
getShippercity
()
{
return
shippercity
;
}
public
void
setShippercity
(
String
shippercity
)
{
this
.
shippercity
=
shippercity
==
null
?
null
:
shippercity
.
trim
();
}
public
String
getShipperaddress
()
{
return
shipperaddress
;
}
public
void
setShipperaddress
(
String
shipperaddress
)
{
this
.
shipperaddress
=
shipperaddress
==
null
?
null
:
shipperaddress
.
trim
();
}
public
String
getConsigneename
()
{
return
consigneename
;
}
public
void
setConsigneename
(
String
consigneename
)
{
this
.
consigneename
=
consigneename
==
null
?
null
:
consigneename
.
trim
();
}
public
String
getConsigneecity
()
{
return
consigneecity
;
}
public
void
setConsigneecity
(
String
consigneecity
)
{
this
.
consigneecity
=
consigneecity
==
null
?
null
:
consigneecity
.
trim
();
}
public
String
getConsigneeaddress
()
{
return
consigneeaddress
;
}
public
void
setConsigneeaddress
(
String
consigneeaddress
)
{
this
.
consigneeaddress
=
consigneeaddress
==
null
?
null
:
consigneeaddress
.
trim
();
}
public
String
getReceiptinformation
()
{
return
receiptinformation
;
}
public
void
setReceiptinformation
(
String
receiptinformation
)
{
this
.
receiptinformation
=
receiptinformation
==
null
?
null
:
receiptinformation
.
trim
();
}
public
Date
getCreatedate
()
{
return
createdate
;
}
public
void
setCreatedate
(
Date
createdate
)
{
this
.
createdate
=
createdate
;
}
public
String
getProductname
()
{
return
productname
;
}
public
void
setProductname
(
String
productname
)
{
this
.
productname
=
productname
==
null
?
null
:
productname
.
trim
();
}
public
String
getShipperCode
()
{
return
shipperCode
;
}
public
void
setShipperCode
(
String
shipperCode
)
{
this
.
shipperCode
=
shipperCode
==
null
?
null
:
shipperCode
.
trim
();
}
public
String
getShipperCountrycode
()
{
return
shipperCountrycode
;
}
public
void
setShipperCountrycode
(
String
shipperCountrycode
)
{
this
.
shipperCountrycode
=
shipperCountrycode
==
null
?
null
:
shipperCountrycode
.
trim
();
}
public
String
getShipperPhone
()
{
return
shipperPhone
;
}
public
void
setShipperPhone
(
String
shipperPhone
)
{
this
.
shipperPhone
=
shipperPhone
==
null
?
null
:
shipperPhone
.
trim
();
}
public
String
getShipperFax
()
{
return
shipperFax
;
}
public
void
setShipperFax
(
String
shipperFax
)
{
this
.
shipperFax
=
shipperFax
==
null
?
null
:
shipperFax
.
trim
();
}
public
String
getConsigneeCode
()
{
return
consigneeCode
;
}
public
void
setConsigneeCode
(
String
consigneeCode
)
{
this
.
consigneeCode
=
consigneeCode
==
null
?
null
:
consigneeCode
.
trim
();
}
public
String
getConsigneeCountrycode
()
{
return
consigneeCountrycode
;
}
public
void
setConsigneeCountrycode
(
String
consigneeCountrycode
)
{
this
.
consigneeCountrycode
=
consigneeCountrycode
==
null
?
null
:
consigneeCountrycode
.
trim
();
}
public
String
getConsigneeFax
()
{
return
consigneeFax
;
}
public
void
setConsigneeFax
(
String
consigneeFax
)
{
this
.
consigneeFax
=
consigneeFax
==
null
?
null
:
consigneeFax
.
trim
();
}
public
String
getConsigneePhone
()
{
return
consigneePhone
;
}
public
void
setConsigneePhone
(
String
consigneePhone
)
{
this
.
consigneePhone
=
consigneePhone
==
null
?
null
:
consigneePhone
.
trim
();
}
public
String
getShipperAeo
()
{
return
shipperAeo
;
}
public
void
setShipperAeo
(
String
shipperAeo
)
{
this
.
shipperAeo
=
shipperAeo
==
null
?
null
:
shipperAeo
.
trim
();
}
public
String
getConsigneeAeo
()
{
return
consigneeAeo
;
}
public
void
setConsigneeAeo
(
String
consigneeAeo
)
{
this
.
consigneeAeo
=
consigneeAeo
==
null
?
null
:
consigneeAeo
.
trim
();
}
public
String
getUnloadingstation
()
{
return
unloadingstation
;
}
public
void
setUnloadingstation
(
String
unloadingstation
)
{
this
.
unloadingstation
=
unloadingstation
==
null
?
null
:
unloadingstation
.
trim
();
}
}
\ No newline at end of file
...
...
src/main/java/com/example/demo/service/NMS_AirWayBill_Service.java
0 → 100644
查看文件 @
0a4f5eb
package
com
.
example
.
demo
.
service
;
import
java.util.List
;
public
interface
NMS_AirWayBill_Service
{
/** 返回出港预配主单和进港原始主单
*
*/
List
airwaybillList
();
}
...
...
src/main/java/com/example/demo/service/imp/NMS_AirWayBill_ServiceImp.java
0 → 100644
查看文件 @
0a4f5eb
package
com
.
example
.
demo
.
service
.
imp
;
import
com.example.demo.service.NMS_AirWayBill_Service
;
import
org.springframework.stereotype.Service
;
import
java.util.ArrayList
;
import
java.util.List
;
@Service
(
"AirWayBillService"
)
public
class
NMS_AirWayBill_ServiceImp
implements
NMS_AirWayBill_Service
{
public
List
airwaybillList
(){
return
new
ArrayList
();
}
}
...
...
src/main/resources/application.properties
查看文件 @
0a4f5eb
#服务端口
server.port
=
700
2
server.port
=
700
3
#eureka主机名,会在控制页面中显示
eureka.instance.hostname
=
localhost
#eureka服务器页面中status的请求路径
eureka.instance.status-page-
url
=
http://localhost:700
2
/index
eureka.instance.status-page-
url
=
http://localhost:700
3
/index
#eureka注册中心服务器地址
eureka.client.service-
url.defaultZone
=
http://localhost:7001/eureka/
#服务名
spring.application.name
=
fileServer-01
spring.application.name
=
airWayBill-service
#spring.datasource.name=CGOETL
spring.datasource.type
=
com.alibaba.druid.pool.DruidDataSource
spring.datasource.driver-class-
name
=
oracle.jdbc.OracleDriver
spring.datasource.url
=
jdbc:oracle:thin:@10.50.3.68:1521:CGODW
spring.datasource.username
=
cgoetl
spring.datasource.url
=
jdbc:oracle:thin:@10.50.3.70:1521:CGODB
spring.datasource.username
=
CGONMS
spring.datasource.password
=
1q2w3e4r
#配置初始化大小/最小/最大
spring.datasource.druid.initial-
size
=
1
...
...
@@ -33,10 +33,10 @@ spring.datasource.druid.test-on-return=false
spring.datasource.druid.default-auto-
commit
=
true
mybatis.mapper-
locations
=
classpath:mapping/*.xml
mybatis.type-aliases-
package
=
com.
example.dem
o.model
mybatis.type-aliases-
package
=
com.
tianb
o.model
logging.level.com.example.demo.mapper
=
DEBUG
pagehelper.helper-
dialect
=
mysql
pagehelper.helper-
dialect
=
oracle
pagehelper.reasonable
=
true
pagehelper.support-methods-
arguments
=
true
pagehelper.params
=
count=countSql
...
...
src/main/resources/generator/generatorConfig.xml
查看文件 @
0a4f5eb
...
...
@@ -16,8 +16,8 @@
<!--<jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://127.0.0.1:3307/statistics" userId="root" password="">-->
<!--</jdbcConnection>-->
<jdbcConnection
driverClass=
"oracle.jdbc.driver.OracleDriver"
connectionURL=
"jdbc:oracle:thin:@10.50.3.68:1521:CGODW"
userId=
"cgoetl"
connectionURL=
"jdbc:oracle:thin:@10.50.3.70:1521:CGODB"
userId=
"CGONMS"
password=
"1q2w3e4r"
>
</jdbcConnection>
<!-- 默认false,把JDBC DECIMAL 和 NUMERIC 类型解析为 Integer,为 true时把JDBC DECIMAL 和
...
...
@@ -29,7 +29,7 @@
<property
name=
"forceBigDecimals"
value=
"false"
/>
</javaTypeResolver>
<!-- 生成模型的包名和位置-->
<javaModelGenerator
targetPackage=
"com.
example.dem
o.model"
targetProject=
"src/main/java"
>
<javaModelGenerator
targetPackage=
"com.
tianb
o.model"
targetProject=
"src/main/java"
>
<property
name=
"enableSubPackages"
value=
"true"
/>
<property
name=
"trimStrings"
value=
"true"
/>
</javaModelGenerator>
...
...
@@ -38,10 +38,10 @@
<property
name=
"enableSubPackages"
value=
"true"
/>
</sqlMapGenerator>
<!-- 生成DAO的包名和位置-->
<javaClientGenerator
type=
"XMLMAPPER"
targetPackage=
"com.
example.dem
o.mapper"
targetProject=
"src/main/java"
>
<javaClientGenerator
type=
"XMLMAPPER"
targetPackage=
"com.
tianb
o.mapper"
targetProject=
"src/main/java"
>
<property
name=
"enableSubPackages"
value=
"true"
/>
</javaClientGenerator>
<!-- 要生成的表 tableName是数据库中的表名或视图名 domainObjectName是实体类名-->
<table
tableName=
"
T_ETL_MESSAGE"
domainObjectName=
"T_ETL_MESSAGE
"
enableCountByExample=
"false"
enableUpdateByExample=
"false"
enableDeleteByExample=
"false"
enableSelectByExample=
"false"
selectByExampleQueryId=
"false"
></table>
<table
tableName=
"
ORIGINMANIFESTMASTER"
domainObjectName=
"T_NMS_ORIGINMANIFESTMASTER
"
enableCountByExample=
"false"
enableUpdateByExample=
"false"
enableDeleteByExample=
"false"
enableSelectByExample=
"false"
selectByExampleQueryId=
"false"
></table>
</context>
</generatorConfiguration>
\ No newline at end of file
...
...
src/main/resources/mapping/T_ETL_MESSAGEMapper.xml
查看文件 @
0a4f5eb
...
...
@@ -26,14 +26,14 @@
<result
column=
"CONTENT"
jdbcType=
"CLOB"
property=
"content"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
FID, OPER, SNTM, SNDR, RCVR, SEQN, DDTM, TYPE, STYP, TRANSID, REMARK, OUTTM, OUTFLAG,
FID, OPER, SNTM, SNDR, RCVR, SEQN, DDTM, TYPE, STYP, TRANSID, REMARK, OUTTM, OUTFLAG,
ETLTIM, ETLFLAG, ERRTM, ERRFLAG, ERRLOG, APPID
</sql>
<sql
id=
"Blob_Column_List"
>
CONTENT
</sql>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.math.BigDecimal"
resultMap=
"ResultMapWithBLOBs"
>
select
select
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Blob_Column_List"
/>
...
...
@@ -47,7 +47,7 @@
from T_ETL_MESSAGE
<where>
<trim
prefixOverrides=
"and"
>
STYP='FWB' AND SNDR='TXD' AND TYPE='DFME' AND FID
=1119119
2
STYP='FWB' AND SNDR='TXD' AND TYPE='DFME' AND FID
>11191192 AND ROWNUM
<
2
</trim
>
</where>
</select>
...
...
src/main/resources/mapping/T_NMS_ORIGINMANIFESTMASTERMapper.xml
0 → 100644
查看文件 @
0a4f5eb
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper
namespace=
"com.example.demo.mapper.T_NMS_ORIGINMANIFESTMASTERMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.example.demo.model.T_NMS_ORIGINMANIFESTMASTER"
>
<result
column=
"AUTOID"
property=
"autoid"
jdbcType=
"VARCHAR"
/>
<result
column=
"WAYBILLNOMASTER"
property=
"waybillnomaster"
jdbcType=
"VARCHAR"
/>
<result
column=
"SEGMENT"
property=
"segment"
jdbcType=
"VARCHAR"
/>
<result
column=
"ORIGINATINGSTATION"
property=
"originatingstation"
jdbcType=
"VARCHAR"
/>
<result
column=
"DESTINATIONSTATION"
property=
"destinationstation"
jdbcType=
"VARCHAR"
/>
<result
column=
"TOTALWEIGHT"
property=
"totalweight"
jdbcType=
"VARCHAR"
/>
<result
column=
"TOTALPIECE"
property=
"totalpiece"
jdbcType=
"VARCHAR"
/>
<result
column=
"MANIFESTTOTALPIECE"
property=
"manifesttotalpiece"
jdbcType=
"VARCHAR"
/>
<result
column=
"MANIFESTTOTALWEIGHT"
property=
"manifesttotalweight"
jdbcType=
"VARCHAR"
/>
<result
column=
"FLIGHTNO"
property=
"flightno"
jdbcType=
"VARCHAR"
/>
<result
column=
"PRODUCTNAME"
property=
"productname"
jdbcType=
"VARCHAR"
/>
<result
column=
"CUSTOMSSTATUS"
property=
"customsstatus"
jdbcType=
"VARCHAR"
/>
<result
column=
"CARRIER1"
property=
"carrier1"
jdbcType=
"VARCHAR"
/>
<result
column=
"ARRIVALSTATION1"
property=
"arrivalstation1"
jdbcType=
"VARCHAR"
/>
<result
column=
"CARRIER2"
property=
"carrier2"
jdbcType=
"VARCHAR"
/>
<result
column=
"ARRIVALSTATION2"
property=
"arrivalstation2"
jdbcType=
"VARCHAR"
/>
<result
column=
"CARRIER3"
property=
"carrier3"
jdbcType=
"VARCHAR"
/>
<result
column=
"ARRIVALSTATION3"
property=
"arrivalstation3"
jdbcType=
"VARCHAR"
/>
<result
column=
"PAYMODE"
property=
"paymode"
jdbcType=
"VARCHAR"
/>
<result
column=
"SPECIALGOODSCODE"
property=
"specialgoodscode"
jdbcType=
"VARCHAR"
/>
<result
column=
"CUSTOMSCODE"
property=
"customscode"
jdbcType=
"VARCHAR"
/>
<result
column=
"SHIPPERNAME"
property=
"shippername"
jdbcType=
"VARCHAR"
/>
<result
column=
"SHIPPERADDRESS"
property=
"shipperaddress"
jdbcType=
"VARCHAR"
/>
<result
column=
"CONSIGNEENAME"
property=
"consigneename"
jdbcType=
"VARCHAR"
/>
<result
column=
"CONSIGNEEADDRESS"
property=
"consigneeaddress"
jdbcType=
"VARCHAR"
/>
<result
column=
"RECEIPTINFORMATION"
property=
"receiptinformation"
jdbcType=
"VARCHAR"
/>
<result
column=
"CREATEDATE"
property=
"createdate"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"FLIGHT_DATE"
property=
"flightDate"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"STATUS"
property=
"status"
jdbcType=
"VARCHAR"
/>
<result
column=
"ISBATCH"
property=
"isbatch"
jdbcType=
"VARCHAR"
/>
<result
column=
"ORIGINATINGSTATION_BILL"
property=
"originatingstationBill"
jdbcType=
"VARCHAR"
/>
<result
column=
"DESTINATIONSTATION_BILL"
property=
"destinationstationBill"
jdbcType=
"VARCHAR"
/>
<result
column=
"REPORTORDER"
property=
"reportorder"
jdbcType=
"VARCHAR"
/>
<result
column=
"ISLAST"
property=
"islast"
jdbcType=
"VARCHAR"
/>
<result
column=
"SHIPPER_CODE"
property=
"shipperCode"
jdbcType=
"VARCHAR"
/>
<result
column=
"SHIPPER_COUNTRYCODE"
property=
"shipperCountrycode"
jdbcType=
"VARCHAR"
/>
<result
column=
"SHIPPER_PHONE"
property=
"shipperPhone"
jdbcType=
"VARCHAR"
/>
<result
column=
"SHIPPER_FAX"
property=
"shipperFax"
jdbcType=
"VARCHAR"
/>
<result
column=
"CONSIGNEE_CODE"
property=
"consigneeCode"
jdbcType=
"VARCHAR"
/>
<result
column=
"CONSIGNEE_COUNTRYCODE"
property=
"consigneeCountrycode"
jdbcType=
"VARCHAR"
/>
<result
column=
"CONSIGNEE_FAX"
property=
"consigneeFax"
jdbcType=
"VARCHAR"
/>
<result
column=
"SPECIFIC_CONSIGNEENAME"
property=
"specificConsigneename"
jdbcType=
"VARCHAR"
/>
<result
column=
"SPECIFIC_CONSIGNEE_PHONE"
property=
"specificConsigneePhone"
jdbcType=
"VARCHAR"
/>
<result
column=
"CONSIGNEE_PHONE"
property=
"consigneePhone"
jdbcType=
"VARCHAR"
/>
</resultMap>
<insert
id=
"insert"
parameterType=
"com.example.demo.model.T_NMS_ORIGINMANIFESTMASTER"
>
insert into ORIGINMANIFESTMASTER (AUTOID, WAYBILLNOMASTER, SEGMENT,
ORIGINATINGSTATION, DESTINATIONSTATION,
TOTALWEIGHT, TOTALPIECE, MANIFESTTOTALPIECE,
MANIFESTTOTALWEIGHT, FLIGHTNO, PRODUCTNAME,
CUSTOMSSTATUS, CARRIER1, ARRIVALSTATION1,
CARRIER2, ARRIVALSTATION2, CARRIER3,
ARRIVALSTATION3, PAYMODE, SPECIALGOODSCODE,
CUSTOMSCODE, SHIPPERNAME, SHIPPERADDRESS,
CONSIGNEENAME, CONSIGNEEADDRESS, RECEIPTINFORMATION,
CREATEDATE, FLIGHT_DATE, STATUS,
ISBATCH, ORIGINATINGSTATION_BILL, DESTINATIONSTATION_BILL,
REPORTORDER, ISLAST, SHIPPER_CODE,
SHIPPER_COUNTRYCODE, SHIPPER_PHONE, SHIPPER_FAX,
CONSIGNEE_CODE, CONSIGNEE_COUNTRYCODE, CONSIGNEE_FAX,
SPECIFIC_CONSIGNEENAME, SPECIFIC_CONSIGNEE_PHONE,
CONSIGNEE_PHONE)
values (#{autoid,jdbcType=VARCHAR}, #{waybillnomaster,jdbcType=VARCHAR}, #{segment,jdbcType=VARCHAR},
#{originatingstation,jdbcType=VARCHAR}, #{destinationstation,jdbcType=VARCHAR},
#{totalweight,jdbcType=VARCHAR}, #{totalpiece,jdbcType=VARCHAR}, #{manifesttotalpiece,jdbcType=VARCHAR},
#{manifesttotalweight,jdbcType=VARCHAR}, #{flightno,jdbcType=VARCHAR}, #{productname,jdbcType=VARCHAR},
#{customsstatus,jdbcType=VARCHAR}, #{carrier1,jdbcType=VARCHAR}, #{arrivalstation1,jdbcType=VARCHAR},
#{carrier2,jdbcType=VARCHAR}, #{arrivalstation2,jdbcType=VARCHAR}, #{carrier3,jdbcType=VARCHAR},
#{arrivalstation3,jdbcType=VARCHAR}, #{paymode,jdbcType=VARCHAR}, #{specialgoodscode,jdbcType=VARCHAR},
#{customscode,jdbcType=VARCHAR}, #{shippername,jdbcType=VARCHAR}, #{shipperaddress,jdbcType=VARCHAR},
#{consigneename,jdbcType=VARCHAR}, #{consigneeaddress,jdbcType=VARCHAR}, #{receiptinformation,jdbcType=VARCHAR},
#{createdate,jdbcType=TIMESTAMP}, #{flightDate,jdbcType=TIMESTAMP}, #{status,jdbcType=VARCHAR},
#{isbatch,jdbcType=VARCHAR}, #{originatingstationBill,jdbcType=VARCHAR}, #{destinationstationBill,jdbcType=VARCHAR},
#{reportorder,jdbcType=VARCHAR}, #{islast,jdbcType=VARCHAR}, #{shipperCode,jdbcType=VARCHAR},
#{shipperCountrycode,jdbcType=VARCHAR}, #{shipperPhone,jdbcType=VARCHAR}, #{shipperFax,jdbcType=VARCHAR},
#{consigneeCode,jdbcType=VARCHAR}, #{consigneeCountrycode,jdbcType=VARCHAR}, #{consigneeFax,jdbcType=VARCHAR},
#{specificConsigneename,jdbcType=VARCHAR}, #{specificConsigneePhone,jdbcType=VARCHAR},
#{consigneePhone,jdbcType=VARCHAR})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.example.demo.model.T_NMS_ORIGINMANIFESTMASTER"
>
insert into ORIGINMANIFESTMASTER
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"autoid != null"
>
AUTOID,
</if>
<if
test=
"waybillnomaster != null"
>
WAYBILLNOMASTER,
</if>
<if
test=
"segment != null"
>
SEGMENT,
</if>
<if
test=
"originatingstation != null"
>
ORIGINATINGSTATION,
</if>
<if
test=
"destinationstation != null"
>
DESTINATIONSTATION,
</if>
<if
test=
"totalweight != null"
>
TOTALWEIGHT,
</if>
<if
test=
"totalpiece != null"
>
TOTALPIECE,
</if>
<if
test=
"manifesttotalpiece != null"
>
MANIFESTTOTALPIECE,
</if>
<if
test=
"manifesttotalweight != null"
>
MANIFESTTOTALWEIGHT,
</if>
<if
test=
"flightno != null"
>
FLIGHTNO,
</if>
<if
test=
"productname != null"
>
PRODUCTNAME,
</if>
<if
test=
"customsstatus != null"
>
CUSTOMSSTATUS,
</if>
<if
test=
"carrier1 != null"
>
CARRIER1,
</if>
<if
test=
"arrivalstation1 != null"
>
ARRIVALSTATION1,
</if>
<if
test=
"carrier2 != null"
>
CARRIER2,
</if>
<if
test=
"arrivalstation2 != null"
>
ARRIVALSTATION2,
</if>
<if
test=
"carrier3 != null"
>
CARRIER3,
</if>
<if
test=
"arrivalstation3 != null"
>
ARRIVALSTATION3,
</if>
<if
test=
"paymode != null"
>
PAYMODE,
</if>
<if
test=
"specialgoodscode != null"
>
SPECIALGOODSCODE,
</if>
<if
test=
"customscode != null"
>
CUSTOMSCODE,
</if>
<if
test=
"shippername != null"
>
SHIPPERNAME,
</if>
<if
test=
"shipperaddress != null"
>
SHIPPERADDRESS,
</if>
<if
test=
"consigneename != null"
>
CONSIGNEENAME,
</if>
<if
test=
"consigneeaddress != null"
>
CONSIGNEEADDRESS,
</if>
<if
test=
"receiptinformation != null"
>
RECEIPTINFORMATION,
</if>
<if
test=
"createdate != null"
>
CREATEDATE,
</if>
<if
test=
"flightDate != null"
>
FLIGHT_DATE,
</if>
<if
test=
"status != null"
>
STATUS,
</if>
<if
test=
"isbatch != null"
>
ISBATCH,
</if>
<if
test=
"originatingstationBill != null"
>
ORIGINATINGSTATION_BILL,
</if>
<if
test=
"destinationstationBill != null"
>
DESTINATIONSTATION_BILL,
</if>
<if
test=
"reportorder != null"
>
REPORTORDER,
</if>
<if
test=
"islast != null"
>
ISLAST,
</if>
<if
test=
"shipperCode != null"
>
SHIPPER_CODE,
</if>
<if
test=
"shipperCountrycode != null"
>
SHIPPER_COUNTRYCODE,
</if>
<if
test=
"shipperPhone != null"
>
SHIPPER_PHONE,
</if>
<if
test=
"shipperFax != null"
>
SHIPPER_FAX,
</if>
<if
test=
"consigneeCode != null"
>
CONSIGNEE_CODE,
</if>
<if
test=
"consigneeCountrycode != null"
>
CONSIGNEE_COUNTRYCODE,
</if>
<if
test=
"consigneeFax != null"
>
CONSIGNEE_FAX,
</if>
<if
test=
"specificConsigneename != null"
>
SPECIFIC_CONSIGNEENAME,
</if>
<if
test=
"specificConsigneePhone != null"
>
SPECIFIC_CONSIGNEE_PHONE,
</if>
<if
test=
"consigneePhone != null"
>
CONSIGNEE_PHONE,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"autoid != null"
>
#{autoid,jdbcType=VARCHAR},
</if>
<if
test=
"waybillnomaster != null"
>
#{waybillnomaster,jdbcType=VARCHAR},
</if>
<if
test=
"segment != null"
>
#{segment,jdbcType=VARCHAR},
</if>
<if
test=
"originatingstation != null"
>
#{originatingstation,jdbcType=VARCHAR},
</if>
<if
test=
"destinationstation != null"
>
#{destinationstation,jdbcType=VARCHAR},
</if>
<if
test=
"totalweight != null"
>
#{totalweight,jdbcType=VARCHAR},
</if>
<if
test=
"totalpiece != null"
>
#{totalpiece,jdbcType=VARCHAR},
</if>
<if
test=
"manifesttotalpiece != null"
>
#{manifesttotalpiece,jdbcType=VARCHAR},
</if>
<if
test=
"manifesttotalweight != null"
>
#{manifesttotalweight,jdbcType=VARCHAR},
</if>
<if
test=
"flightno != null"
>
#{flightno,jdbcType=VARCHAR},
</if>
<if
test=
"productname != null"
>
#{productname,jdbcType=VARCHAR},
</if>
<if
test=
"customsstatus != null"
>
#{customsstatus,jdbcType=VARCHAR},
</if>
<if
test=
"carrier1 != null"
>
#{carrier1,jdbcType=VARCHAR},
</if>
<if
test=
"arrivalstation1 != null"
>
#{arrivalstation1,jdbcType=VARCHAR},
</if>
<if
test=
"carrier2 != null"
>
#{carrier2,jdbcType=VARCHAR},
</if>
<if
test=
"arrivalstation2 != null"
>
#{arrivalstation2,jdbcType=VARCHAR},
</if>
<if
test=
"carrier3 != null"
>
#{carrier3,jdbcType=VARCHAR},
</if>
<if
test=
"arrivalstation3 != null"
>
#{arrivalstation3,jdbcType=VARCHAR},
</if>
<if
test=
"paymode != null"
>
#{paymode,jdbcType=VARCHAR},
</if>
<if
test=
"specialgoodscode != null"
>
#{specialgoodscode,jdbcType=VARCHAR},
</if>
<if
test=
"customscode != null"
>
#{customscode,jdbcType=VARCHAR},
</if>
<if
test=
"shippername != null"
>
#{shippername,jdbcType=VARCHAR},
</if>
<if
test=
"shipperaddress != null"
>
#{shipperaddress,jdbcType=VARCHAR},
</if>
<if
test=
"consigneename != null"
>
#{consigneename,jdbcType=VARCHAR},
</if>
<if
test=
"consigneeaddress != null"
>
#{consigneeaddress,jdbcType=VARCHAR},
</if>
<if
test=
"receiptinformation != null"
>
#{receiptinformation,jdbcType=VARCHAR},
</if>
<if
test=
"createdate != null"
>
#{createdate,jdbcType=TIMESTAMP},
</if>
<if
test=
"flightDate != null"
>
#{flightDate,jdbcType=TIMESTAMP},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=VARCHAR},
</if>
<if
test=
"isbatch != null"
>
#{isbatch,jdbcType=VARCHAR},
</if>
<if
test=
"originatingstationBill != null"
>
#{originatingstationBill,jdbcType=VARCHAR},
</if>
<if
test=
"destinationstationBill != null"
>
#{destinationstationBill,jdbcType=VARCHAR},
</if>
<if
test=
"reportorder != null"
>
#{reportorder,jdbcType=VARCHAR},
</if>
<if
test=
"islast != null"
>
#{islast,jdbcType=VARCHAR},
</if>
<if
test=
"shipperCode != null"
>
#{shipperCode,jdbcType=VARCHAR},
</if>
<if
test=
"shipperCountrycode != null"
>
#{shipperCountrycode,jdbcType=VARCHAR},
</if>
<if
test=
"shipperPhone != null"
>
#{shipperPhone,jdbcType=VARCHAR},
</if>
<if
test=
"shipperFax != null"
>
#{shipperFax,jdbcType=VARCHAR},
</if>
<if
test=
"consigneeCode != null"
>
#{consigneeCode,jdbcType=VARCHAR},
</if>
<if
test=
"consigneeCountrycode != null"
>
#{consigneeCountrycode,jdbcType=VARCHAR},
</if>
<if
test=
"consigneeFax != null"
>
#{consigneeFax,jdbcType=VARCHAR},
</if>
<if
test=
"specificConsigneename != null"
>
#{specificConsigneename,jdbcType=VARCHAR},
</if>
<if
test=
"specificConsigneePhone != null"
>
#{specificConsigneePhone,jdbcType=VARCHAR},
</if>
<if
test=
"consigneePhone != null"
>
#{consigneePhone,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select
id=
"selectByWayBillno"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.String"
>
select
<include
refid=
"Base_Column_List"
/>
from T_TXD_FWB
where FID = #{fid,jdbcType=DECIMAL}
</select>
</mapper>
\ No newline at end of file
...
...
src/main/resources/mapping/T_NMS_PREPAREMASTERMapper.xml
0 → 100644
查看文件 @
0a4f5eb
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper
namespace=
"com.example.demo.mapper.T_NMS_PREPAREMASTERMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.example.demo.model.T_NMS_PREPAREMASTER"
>
<result
column=
"AUTOID"
property=
"autoid"
jdbcType=
"VARCHAR"
/>
<result
column=
"FLIGHTNO"
property=
"flightno"
jdbcType=
"VARCHAR"
/>
<result
column=
"FLIGHTDATE"
property=
"flightdate"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"ORIGINATINGSTATION"
property=
"originatingstation"
jdbcType=
"VARCHAR"
/>
<result
column=
"DESTINATIONSTATION"
property=
"destinationstation"
jdbcType=
"VARCHAR"
/>
<result
column=
"WAYBILLNOMASTER"
property=
"waybillnomaster"
jdbcType=
"VARCHAR"
/>
<result
column=
"TOTALWEIGHT"
property=
"totalweight"
jdbcType=
"VARCHAR"
/>
<result
column=
"TOTALPIECE"
property=
"totalpiece"
jdbcType=
"VARCHAR"
/>
<result
column=
"PREPARETOTALPIECE"
property=
"preparetotalpiece"
jdbcType=
"VARCHAR"
/>
<result
column=
"PREPARETOTALWEIGHT"
property=
"preparetotalweight"
jdbcType=
"VARCHAR"
/>
<result
column=
"STOWAGEDATE"
property=
"stowagedate"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"STATUS"
property=
"status"
jdbcType=
"VARCHAR"
/>
<result
column=
"CARRIER"
property=
"carrier"
jdbcType=
"VARCHAR"
/>
<result
column=
"CUSTOMSSTATUS"
property=
"customsstatus"
jdbcType=
"VARCHAR"
/>
<result
column=
"PAYMODE"
property=
"paymode"
jdbcType=
"VARCHAR"
/>
<result
column=
"CUSTOMSCODE"
property=
"customscode"
jdbcType=
"VARCHAR"
/>
<result
column=
"AGENTCODE"
property=
"agentcode"
jdbcType=
"VARCHAR"
/>
<result
column=
"AGENTNAME"
property=
"agentname"
jdbcType=
"VARCHAR"
/>
<result
column=
"SHIPPERNAME"
property=
"shippername"
jdbcType=
"VARCHAR"
/>
<result
column=
"SHIPPERCITY"
property=
"shippercity"
jdbcType=
"VARCHAR"
/>
<result
column=
"SHIPPERADDRESS"
property=
"shipperaddress"
jdbcType=
"VARCHAR"
/>
<result
column=
"CONSIGNEENAME"
property=
"consigneename"
jdbcType=
"VARCHAR"
/>
<result
column=
"CONSIGNEECITY"
property=
"consigneecity"
jdbcType=
"VARCHAR"
/>
<result
column=
"CONSIGNEEADDRESS"
property=
"consigneeaddress"
jdbcType=
"VARCHAR"
/>
<result
column=
"RECEIPTINFORMATION"
property=
"receiptinformation"
jdbcType=
"VARCHAR"
/>
<result
column=
"CREATEDATE"
property=
"createdate"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"PRODUCTNAME"
property=
"productname"
jdbcType=
"VARCHAR"
/>
<result
column=
"SHIPPER_CODE"
property=
"shipperCode"
jdbcType=
"VARCHAR"
/>
<result
column=
"SHIPPER_COUNTRYCODE"
property=
"shipperCountrycode"
jdbcType=
"VARCHAR"
/>
<result
column=
"SHIPPER_PHONE"
property=
"shipperPhone"
jdbcType=
"VARCHAR"
/>
<result
column=
"SHIPPER_FAX"
property=
"shipperFax"
jdbcType=
"VARCHAR"
/>
<result
column=
"CONSIGNEE_CODE"
property=
"consigneeCode"
jdbcType=
"VARCHAR"
/>
<result
column=
"CONSIGNEE_COUNTRYCODE"
property=
"consigneeCountrycode"
jdbcType=
"VARCHAR"
/>
<result
column=
"CONSIGNEE_FAX"
property=
"consigneeFax"
jdbcType=
"VARCHAR"
/>
<result
column=
"CONSIGNEE_PHONE"
property=
"consigneePhone"
jdbcType=
"VARCHAR"
/>
<result
column=
"SHIPPER_AEO"
property=
"shipperAeo"
jdbcType=
"VARCHAR"
/>
<result
column=
"CONSIGNEE_AEO"
property=
"consigneeAeo"
jdbcType=
"VARCHAR"
/>
<result
column=
"UNLOADINGSTATION"
property=
"unloadingstation"
jdbcType=
"VARCHAR"
/>
</resultMap>
<insert
id=
"insert"
parameterType=
"com.example.demo.model.T_NMS_PREPAREMASTER"
>
insert into PREPAREMASTER (AUTOID, FLIGHTNO, FLIGHTDATE,
ORIGINATINGSTATION, DESTINATIONSTATION,
WAYBILLNOMASTER, TOTALWEIGHT, TOTALPIECE,
PREPARETOTALPIECE, PREPARETOTALWEIGHT,
STOWAGEDATE, STATUS, CARRIER,
CUSTOMSSTATUS, PAYMODE, CUSTOMSCODE,
AGENTCODE, AGENTNAME, SHIPPERNAME,
SHIPPERCITY, SHIPPERADDRESS, CONSIGNEENAME,
CONSIGNEECITY, CONSIGNEEADDRESS, RECEIPTINFORMATION,
CREATEDATE, PRODUCTNAME, SHIPPER_CODE,
SHIPPER_COUNTRYCODE, SHIPPER_PHONE, SHIPPER_FAX,
CONSIGNEE_CODE, CONSIGNEE_COUNTRYCODE, CONSIGNEE_FAX,
CONSIGNEE_PHONE, SHIPPER_AEO, CONSIGNEE_AEO,
UNLOADINGSTATION)
values (#{autoid,jdbcType=VARCHAR}, #{flightno,jdbcType=VARCHAR}, #{flightdate,jdbcType=TIMESTAMP},
#{originatingstation,jdbcType=VARCHAR}, #{destinationstation,jdbcType=VARCHAR},
#{waybillnomaster,jdbcType=VARCHAR}, #{totalweight,jdbcType=VARCHAR}, #{totalpiece,jdbcType=VARCHAR},
#{preparetotalpiece,jdbcType=VARCHAR}, #{preparetotalweight,jdbcType=VARCHAR},
#{stowagedate,jdbcType=TIMESTAMP}, #{status,jdbcType=VARCHAR}, #{carrier,jdbcType=VARCHAR},
#{customsstatus,jdbcType=VARCHAR}, #{paymode,jdbcType=VARCHAR}, #{customscode,jdbcType=VARCHAR},
#{agentcode,jdbcType=VARCHAR}, #{agentname,jdbcType=VARCHAR}, #{shippername,jdbcType=VARCHAR},
#{shippercity,jdbcType=VARCHAR}, #{shipperaddress,jdbcType=VARCHAR}, #{consigneename,jdbcType=VARCHAR},
#{consigneecity,jdbcType=VARCHAR}, #{consigneeaddress,jdbcType=VARCHAR}, #{receiptinformation,jdbcType=VARCHAR},
#{createdate,jdbcType=TIMESTAMP}, #{productname,jdbcType=VARCHAR}, #{shipperCode,jdbcType=VARCHAR},
#{shipperCountrycode,jdbcType=VARCHAR}, #{shipperPhone,jdbcType=VARCHAR}, #{shipperFax,jdbcType=VARCHAR},
#{consigneeCode,jdbcType=VARCHAR}, #{consigneeCountrycode,jdbcType=VARCHAR}, #{consigneeFax,jdbcType=VARCHAR},
#{consigneePhone,jdbcType=VARCHAR}, #{shipperAeo,jdbcType=VARCHAR}, #{consigneeAeo,jdbcType=VARCHAR},
#{unloadingstation,jdbcType=VARCHAR})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.example.demo.model.T_NMS_PREPAREMASTER"
>
insert into PREPAREMASTER
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"autoid != null"
>
AUTOID,
</if>
<if
test=
"flightno != null"
>
FLIGHTNO,
</if>
<if
test=
"flightdate != null"
>
FLIGHTDATE,
</if>
<if
test=
"originatingstation != null"
>
ORIGINATINGSTATION,
</if>
<if
test=
"destinationstation != null"
>
DESTINATIONSTATION,
</if>
<if
test=
"waybillnomaster != null"
>
WAYBILLNOMASTER,
</if>
<if
test=
"totalweight != null"
>
TOTALWEIGHT,
</if>
<if
test=
"totalpiece != null"
>
TOTALPIECE,
</if>
<if
test=
"preparetotalpiece != null"
>
PREPARETOTALPIECE,
</if>
<if
test=
"preparetotalweight != null"
>
PREPARETOTALWEIGHT,
</if>
<if
test=
"stowagedate != null"
>
STOWAGEDATE,
</if>
<if
test=
"status != null"
>
STATUS,
</if>
<if
test=
"carrier != null"
>
CARRIER,
</if>
<if
test=
"customsstatus != null"
>
CUSTOMSSTATUS,
</if>
<if
test=
"paymode != null"
>
PAYMODE,
</if>
<if
test=
"customscode != null"
>
CUSTOMSCODE,
</if>
<if
test=
"agentcode != null"
>
AGENTCODE,
</if>
<if
test=
"agentname != null"
>
AGENTNAME,
</if>
<if
test=
"shippername != null"
>
SHIPPERNAME,
</if>
<if
test=
"shippercity != null"
>
SHIPPERCITY,
</if>
<if
test=
"shipperaddress != null"
>
SHIPPERADDRESS,
</if>
<if
test=
"consigneename != null"
>
CONSIGNEENAME,
</if>
<if
test=
"consigneecity != null"
>
CONSIGNEECITY,
</if>
<if
test=
"consigneeaddress != null"
>
CONSIGNEEADDRESS,
</if>
<if
test=
"receiptinformation != null"
>
RECEIPTINFORMATION,
</if>
<if
test=
"createdate != null"
>
CREATEDATE,
</if>
<if
test=
"productname != null"
>
PRODUCTNAME,
</if>
<if
test=
"shipperCode != null"
>
SHIPPER_CODE,
</if>
<if
test=
"shipperCountrycode != null"
>
SHIPPER_COUNTRYCODE,
</if>
<if
test=
"shipperPhone != null"
>
SHIPPER_PHONE,
</if>
<if
test=
"shipperFax != null"
>
SHIPPER_FAX,
</if>
<if
test=
"consigneeCode != null"
>
CONSIGNEE_CODE,
</if>
<if
test=
"consigneeCountrycode != null"
>
CONSIGNEE_COUNTRYCODE,
</if>
<if
test=
"consigneeFax != null"
>
CONSIGNEE_FAX,
</if>
<if
test=
"consigneePhone != null"
>
CONSIGNEE_PHONE,
</if>
<if
test=
"shipperAeo != null"
>
SHIPPER_AEO,
</if>
<if
test=
"consigneeAeo != null"
>
CONSIGNEE_AEO,
</if>
<if
test=
"unloadingstation != null"
>
UNLOADINGSTATION,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"autoid != null"
>
#{autoid,jdbcType=VARCHAR},
</if>
<if
test=
"flightno != null"
>
#{flightno,jdbcType=VARCHAR},
</if>
<if
test=
"flightdate != null"
>
#{flightdate,jdbcType=TIMESTAMP},
</if>
<if
test=
"originatingstation != null"
>
#{originatingstation,jdbcType=VARCHAR},
</if>
<if
test=
"destinationstation != null"
>
#{destinationstation,jdbcType=VARCHAR},
</if>
<if
test=
"waybillnomaster != null"
>
#{waybillnomaster,jdbcType=VARCHAR},
</if>
<if
test=
"totalweight != null"
>
#{totalweight,jdbcType=VARCHAR},
</if>
<if
test=
"totalpiece != null"
>
#{totalpiece,jdbcType=VARCHAR},
</if>
<if
test=
"preparetotalpiece != null"
>
#{preparetotalpiece,jdbcType=VARCHAR},
</if>
<if
test=
"preparetotalweight != null"
>
#{preparetotalweight,jdbcType=VARCHAR},
</if>
<if
test=
"stowagedate != null"
>
#{stowagedate,jdbcType=TIMESTAMP},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=VARCHAR},
</if>
<if
test=
"carrier != null"
>
#{carrier,jdbcType=VARCHAR},
</if>
<if
test=
"customsstatus != null"
>
#{customsstatus,jdbcType=VARCHAR},
</if>
<if
test=
"paymode != null"
>
#{paymode,jdbcType=VARCHAR},
</if>
<if
test=
"customscode != null"
>
#{customscode,jdbcType=VARCHAR},
</if>
<if
test=
"agentcode != null"
>
#{agentcode,jdbcType=VARCHAR},
</if>
<if
test=
"agentname != null"
>
#{agentname,jdbcType=VARCHAR},
</if>
<if
test=
"shippername != null"
>
#{shippername,jdbcType=VARCHAR},
</if>
<if
test=
"shippercity != null"
>
#{shippercity,jdbcType=VARCHAR},
</if>
<if
test=
"shipperaddress != null"
>
#{shipperaddress,jdbcType=VARCHAR},
</if>
<if
test=
"consigneename != null"
>
#{consigneename,jdbcType=VARCHAR},
</if>
<if
test=
"consigneecity != null"
>
#{consigneecity,jdbcType=VARCHAR},
</if>
<if
test=
"consigneeaddress != null"
>
#{consigneeaddress,jdbcType=VARCHAR},
</if>
<if
test=
"receiptinformation != null"
>
#{receiptinformation,jdbcType=VARCHAR},
</if>
<if
test=
"createdate != null"
>
#{createdate,jdbcType=TIMESTAMP},
</if>
<if
test=
"productname != null"
>
#{productname,jdbcType=VARCHAR},
</if>
<if
test=
"shipperCode != null"
>
#{shipperCode,jdbcType=VARCHAR},
</if>
<if
test=
"shipperCountrycode != null"
>
#{shipperCountrycode,jdbcType=VARCHAR},
</if>
<if
test=
"shipperPhone != null"
>
#{shipperPhone,jdbcType=VARCHAR},
</if>
<if
test=
"shipperFax != null"
>
#{shipperFax,jdbcType=VARCHAR},
</if>
<if
test=
"consigneeCode != null"
>
#{consigneeCode,jdbcType=VARCHAR},
</if>
<if
test=
"consigneeCountrycode != null"
>
#{consigneeCountrycode,jdbcType=VARCHAR},
</if>
<if
test=
"consigneeFax != null"
>
#{consigneeFax,jdbcType=VARCHAR},
</if>
<if
test=
"consigneePhone != null"
>
#{consigneePhone,jdbcType=VARCHAR},
</if>
<if
test=
"shipperAeo != null"
>
#{shipperAeo,jdbcType=VARCHAR},
</if>
<if
test=
"consigneeAeo != null"
>
#{consigneeAeo,jdbcType=VARCHAR},
</if>
<if
test=
"unloadingstation != null"
>
#{unloadingstation,jdbcType=VARCHAR},
</if>
</trim>
</insert>
</mapper>
\ No newline at end of file
...
...
请
注册
或
登录
后发表评论