diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisTmsSiteBatch.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisTmsSiteBatch.java index 298bb65e0..ce7369eba 100644 --- a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisTmsSiteBatch.java +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisTmsSiteBatch.java @@ -40,7 +40,7 @@ public class EmisTmsSiteBatch extends BaseEntity /* 批次名称 */ private String batchName; /* 批次时间 */ - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date batchDate; /* 所属线路 */ private String transLineType; @@ -52,19 +52,18 @@ public class EmisTmsSiteBatch extends BaseEntity private String transType; /* 起始网点 */ private String startSiteCode; - + /* 发件国家 */ + private String sendCountry; /* 下一网点 */ private String nextSiteCode; /* 航空单号 */ private String airBilllNo; /* 预计出发时间 */ - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") private Date etd; /* 预计到达时间 */ - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") private Date eta; - /* 包数 */ - private Integer packNum; /* 车牌号 */ private String carNo; /* 船次号 */ @@ -73,13 +72,13 @@ public class EmisTmsSiteBatch extends BaseEntity private String clearanceResStatus; /* 报关资料状态 1-清关资料完整 2-清关资料异常 */ private String declareResStatus; - - /* 发出国家 */ - private String sendCountry; /* 目的国家 */ private String destCountry; - - /* 总件数 */ + /* 运输重量 */ + private BigDecimal transWeight; + /* 包裹数 */ + private Integer packNum; + /* 总票数 */ private Integer totalParcelQty; /* 总运单数 */ private Integer totalWaybillQty; @@ -90,7 +89,6 @@ public class EmisTmsSiteBatch extends BaseEntity /* 操作员 */ private String opMan; - //-- 扩展数据 ------------------------ private String transLineTypeName; diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/kefu/RL7moorService.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/kefu/RL7moorService.java index 4bdab5893..fded3135b 100644 --- a/emis-biz/src/main/java/com/xdadan/erp/emis/service/kefu/RL7moorService.java +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/kefu/RL7moorService.java @@ -99,6 +99,8 @@ public class RL7moorService { jObjPost.put("timeStamp",timeStr); jObjPost.put("module","webchat"); + + log.debug("postUrl==>"+postUrl); log.debug("authorizationStr==>"+authorizationStr); log.debug("sig==>"+sigStr); diff --git a/emis-biz/src/main/resources/mapper/EmisTmsSiteBatchMapper.xml b/emis-biz/src/main/resources/mapper/EmisTmsSiteBatchMapper.xml index dcc4f34ed..4e7ff5d7a 100644 --- a/emis-biz/src/main/resources/mapper/EmisTmsSiteBatchMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisTmsSiteBatchMapper.xml @@ -14,21 +14,20 @@ - + - - - + + @@ -49,7 +48,7 @@ - select id, batch_no, batch_name, batch_date, trans_line_type, product_type, batch_type, trans_type, start_site_code, send_country, next_site_code, air_billl_no, etd, eta, pack_num, car_no, ship_no, clearance_res_status, declare_res_status, dest_country, dest_country_name, total_parcel_qty, total_waybill_qty, total_volume, total_weight, op_man, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_tms_site_batch + select id, batch_no, batch_name, batch_date, trans_line_type, product_type, batch_type, trans_type, start_site_code, send_country, next_site_code, air_billl_no, etd, eta, car_no, ship_no, clearance_res_status, declare_res_status, dest_country, dest_country_name, trans_weight, pack_num, total_parcel_qty, total_waybill_qty, total_volume, total_weight, op_man, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_tms_site_batch @@ -185,7 +184,6 @@ insert into emis_tms_site_batch - id, batch_no, batch_name, batch_date, @@ -199,13 +197,14 @@ air_billl_no, etd, eta, - pack_num, car_no, ship_no, clearance_res_status, declare_res_status, dest_country, dest_country_name, + trans_weight, + pack_num, total_parcel_qty, total_waybill_qty, total_volume, @@ -222,7 +221,6 @@ update_site, - #{id}, #{batchNo}, #{batchName}, #{batchDate}, @@ -236,13 +234,14 @@ #{airBilllNo}, #{etd}, #{eta}, - #{packNum}, #{carNo}, #{shipNo}, #{clearanceResStatus}, #{declareResStatus}, #{destCountry}, #{destCountryName}, + #{transWeight}, + #{packNum}, #{totalParcelQty}, #{totalWaybillQty}, #{totalVolume}, @@ -276,13 +275,14 @@ air_billl_no = #{airBilllNo}, etd = #{etd}, eta = #{eta}, - pack_num = #{packNum}, car_no = #{carNo}, ship_no = #{shipNo}, clearance_res_status = #{clearanceResStatus}, declare_res_status = #{declareResStatus}, dest_country = #{destCountry}, dest_country_name = #{destCountryName}, + trans_weight = #{transWeight}, + pack_num = #{packNum}, total_parcel_qty = #{totalParcelQty}, total_waybill_qty = #{totalWaybillQty}, total_volume = #{totalVolume}, @@ -302,11 +302,11 @@ - delete from emis_tms_site_batch where id = #{id} + update emis_tms_site_batch set del_flag='0' where id = #{id} - delete from emis_tms_site_batch where id in + update emis_tms_site_batch set del_flag='0' where id in #{id}