This commit is contained in:
linfso 2024-11-19 16:22:29 +08:00
parent 14b432df2e
commit 0f037089c4
3 changed files with 25 additions and 25 deletions

View File

@ -40,7 +40,7 @@ public class EmisTmsSiteBatch extends BaseEntity
/* 批次名称 */ /* 批次名称 */
private String batchName; 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 Date batchDate;
/* 所属线路 */ /* 所属线路 */
private String transLineType; private String transLineType;
@ -52,19 +52,18 @@ public class EmisTmsSiteBatch extends BaseEntity
private String transType; private String transType;
/* 起始网点 */ /* 起始网点 */
private String startSiteCode; private String startSiteCode;
/* 发件国家 */
private String sendCountry;
/* 下一网点 */ /* 下一网点 */
private String nextSiteCode; private String nextSiteCode;
/* 航空单号 */ /* 航空单号 */
private String airBilllNo; 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; 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 Date eta;
/* 包数 */
private Integer packNum;
/* 车牌号 */ /* 车牌号 */
private String carNo; private String carNo;
/* 船次号 */ /* 船次号 */
@ -73,13 +72,13 @@ public class EmisTmsSiteBatch extends BaseEntity
private String clearanceResStatus; private String clearanceResStatus;
/* 报关资料状态 1-清关资料完整 2-清关资料异常 */ /* 报关资料状态 1-清关资料完整 2-清关资料异常 */
private String declareResStatus; private String declareResStatus;
/* 发出国家 */
private String sendCountry;
/* 目的国家 */ /* 目的国家 */
private String destCountry; private String destCountry;
/* 运输重量 */
/* 总件数 */ private BigDecimal transWeight;
/* 包裹数 */
private Integer packNum;
/* 总票数 */
private Integer totalParcelQty; private Integer totalParcelQty;
/* 总运单数 */ /* 总运单数 */
private Integer totalWaybillQty; private Integer totalWaybillQty;
@ -90,7 +89,6 @@ public class EmisTmsSiteBatch extends BaseEntity
/* 操作员 */ /* 操作员 */
private String opMan; private String opMan;
//-- 扩展数据 ------------------------ //-- 扩展数据 ------------------------
private String transLineTypeName; private String transLineTypeName;

View File

@ -99,6 +99,8 @@ public class RL7moorService {
jObjPost.put("timeStamp",timeStr); jObjPost.put("timeStamp",timeStr);
jObjPost.put("module","webchat"); jObjPost.put("module","webchat");
log.debug("postUrl==>"+postUrl); log.debug("postUrl==>"+postUrl);
log.debug("authorizationStr==>"+authorizationStr); log.debug("authorizationStr==>"+authorizationStr);
log.debug("sig==>"+sigStr); log.debug("sig==>"+sigStr);

View File

@ -14,21 +14,20 @@
<result property="batchType" column="batch_type" /> <result property="batchType" column="batch_type" />
<result property="transType" column="trans_type" /> <result property="transType" column="trans_type" />
<result property="startSiteCode" column="start_site_code" /> <result property="startSiteCode" column="start_site_code" />
<result property="sendCountry" column="send_country" />
<result property="nextSiteCode" column="next_site_code" /> <result property="nextSiteCode" column="next_site_code" />
<result property="airBilllNo" column="air_billl_no" /> <result property="airBilllNo" column="air_billl_no" />
<result property="etd" column="etd" /> <result property="etd" column="etd" />
<result property="eta" column="eta" /> <result property="eta" column="eta" />
<result property="packNum" column="pack_num" />
<result property="carNo" column="car_no" /> <result property="carNo" column="car_no" />
<result property="shipNo" column="ship_no" /> <result property="shipNo" column="ship_no" />
<result property="clearanceResStatus" column="clearance_res_status" /> <result property="clearanceResStatus" column="clearance_res_status" />
<result property="declareResStatus" column="declare_res_status" /> <result property="declareResStatus" column="declare_res_status" />
<result property="sendCountry" column="send_country" />
<result property="destCountry" column="dest_country" /> <result property="destCountry" column="dest_country" />
<result property="transWeight" column="trans_weight" />
<result property="packNum" column="pack_num" />
<result property="totalParcelQty" column="total_parcel_qty" /> <result property="totalParcelQty" column="total_parcel_qty" />
<result property="totalWaybillQty" column="total_waybill_qty" /> <result property="totalWaybillQty" column="total_waybill_qty" />
<result property="totalVolume" column="total_volume" /> <result property="totalVolume" column="total_volume" />
@ -49,7 +48,7 @@
</resultMap> </resultMap>
<sql id="selectEmisTmsSiteBatchVo"> <sql id="selectEmisTmsSiteBatchVo">
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
</sql> </sql>
<select id="selectEmisTmsSiteBatchList" parameterType="EmisTmsSiteBatch" resultMap="EmisTmsSiteBatchResult"> <select id="selectEmisTmsSiteBatchList" parameterType="EmisTmsSiteBatch" resultMap="EmisTmsSiteBatchResult">
@ -177,7 +176,7 @@
</select> </select>
<select id="selectEmisTmsSiteBatchById" parameterType="Long" resultMap="EmisTmsSiteBatchResult"> <select id="selectEmisTmsSiteBatchById" parameterType="Long" resultMap="EmisTmsSiteBatchResult">
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 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 a from emis_tms_site_batch a
where a.id = #{id} where a.id = #{id}
</select> </select>
@ -185,7 +184,6 @@
<insert id="insertEmisTmsSiteBatch" parameterType="EmisTmsSiteBatch" useGeneratedKeys="true" keyProperty="id"> <insert id="insertEmisTmsSiteBatch" parameterType="EmisTmsSiteBatch" useGeneratedKeys="true" keyProperty="id">
insert into emis_tms_site_batch insert into emis_tms_site_batch
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">id,</if>
<if test="batchNo != null and batchNo != ''">batch_no,</if> <if test="batchNo != null and batchNo != ''">batch_no,</if>
<if test="batchName != null and batchName != ''">batch_name,</if> <if test="batchName != null and batchName != ''">batch_name,</if>
<if test="batchDate != null">batch_date,</if> <if test="batchDate != null">batch_date,</if>
@ -199,13 +197,14 @@
<if test="airBilllNo != null and airBilllNo != ''">air_billl_no,</if> <if test="airBilllNo != null and airBilllNo != ''">air_billl_no,</if>
<if test="etd != null">etd,</if> <if test="etd != null">etd,</if>
<if test="eta != null">eta,</if> <if test="eta != null">eta,</if>
<if test="packNum != null">pack_num,</if>
<if test="carNo != null and carNo != ''">car_no,</if> <if test="carNo != null and carNo != ''">car_no,</if>
<if test="shipNo != null and shipNo != ''">ship_no,</if> <if test="shipNo != null and shipNo != ''">ship_no,</if>
<if test="clearanceResStatus != null and clearanceResStatus != ''">clearance_res_status,</if> <if test="clearanceResStatus != null and clearanceResStatus != ''">clearance_res_status,</if>
<if test="declareResStatus != null and declareResStatus != ''">declare_res_status,</if> <if test="declareResStatus != null and declareResStatus != ''">declare_res_status,</if>
<if test="destCountry != null and destCountry != ''">dest_country,</if> <if test="destCountry != null and destCountry != ''">dest_country,</if>
<if test="destCountryName != null and destCountryName != ''">dest_country_name,</if> <if test="destCountryName != null and destCountryName != ''">dest_country_name,</if>
<if test="transWeight != null">trans_weight,</if>
<if test="packNum != null">pack_num,</if>
<if test="totalParcelQty != null">total_parcel_qty,</if> <if test="totalParcelQty != null">total_parcel_qty,</if>
<if test="totalWaybillQty != null">total_waybill_qty,</if> <if test="totalWaybillQty != null">total_waybill_qty,</if>
<if test="totalVolume != null">total_volume,</if> <if test="totalVolume != null">total_volume,</if>
@ -222,7 +221,6 @@
<if test="updateSite != null and updateSite != ''">update_site,</if> <if test="updateSite != null and updateSite != ''">update_site,</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
<if test="batchNo != null and batchNo != ''">#{batchNo},</if> <if test="batchNo != null and batchNo != ''">#{batchNo},</if>
<if test="batchName != null and batchName != ''">#{batchName},</if> <if test="batchName != null and batchName != ''">#{batchName},</if>
<if test="batchDate != null">#{batchDate},</if> <if test="batchDate != null">#{batchDate},</if>
@ -236,13 +234,14 @@
<if test="airBilllNo != null and airBilllNo != ''">#{airBilllNo},</if> <if test="airBilllNo != null and airBilllNo != ''">#{airBilllNo},</if>
<if test="etd != null">#{etd},</if> <if test="etd != null">#{etd},</if>
<if test="eta != null">#{eta},</if> <if test="eta != null">#{eta},</if>
<if test="packNum != null">#{packNum},</if>
<if test="carNo != null and carNo != ''">#{carNo},</if> <if test="carNo != null and carNo != ''">#{carNo},</if>
<if test="shipNo != null and shipNo != ''">#{shipNo},</if> <if test="shipNo != null and shipNo != ''">#{shipNo},</if>
<if test="clearanceResStatus != null and clearanceResStatus != ''">#{clearanceResStatus},</if> <if test="clearanceResStatus != null and clearanceResStatus != ''">#{clearanceResStatus},</if>
<if test="declareResStatus != null and declareResStatus != ''">#{declareResStatus},</if> <if test="declareResStatus != null and declareResStatus != ''">#{declareResStatus},</if>
<if test="destCountry != null and destCountry != ''">#{destCountry},</if> <if test="destCountry != null and destCountry != ''">#{destCountry},</if>
<if test="destCountryName != null and destCountryName != ''">#{destCountryName},</if> <if test="destCountryName != null and destCountryName != ''">#{destCountryName},</if>
<if test="transWeight != null">#{transWeight},</if>
<if test="packNum != null">#{packNum},</if>
<if test="totalParcelQty != null">#{totalParcelQty},</if> <if test="totalParcelQty != null">#{totalParcelQty},</if>
<if test="totalWaybillQty != null">#{totalWaybillQty},</if> <if test="totalWaybillQty != null">#{totalWaybillQty},</if>
<if test="totalVolume != null">#{totalVolume},</if> <if test="totalVolume != null">#{totalVolume},</if>
@ -276,13 +275,14 @@
<if test="airBilllNo != null and airBilllNo != ''">air_billl_no = #{airBilllNo},</if> <if test="airBilllNo != null and airBilllNo != ''">air_billl_no = #{airBilllNo},</if>
<if test="etd != null">etd = #{etd},</if> <if test="etd != null">etd = #{etd},</if>
<if test="eta != null">eta = #{eta},</if> <if test="eta != null">eta = #{eta},</if>
<if test="packNum != null">pack_num = #{packNum},</if>
<if test="carNo != null and carNo != ''">car_no = #{carNo},</if> <if test="carNo != null and carNo != ''">car_no = #{carNo},</if>
<if test="shipNo != null and shipNo != ''">ship_no = #{shipNo},</if> <if test="shipNo != null and shipNo != ''">ship_no = #{shipNo},</if>
<if test="clearanceResStatus != null and clearanceResStatus != ''">clearance_res_status = #{clearanceResStatus},</if> <if test="clearanceResStatus != null and clearanceResStatus != ''">clearance_res_status = #{clearanceResStatus},</if>
<if test="declareResStatus != null and declareResStatus != ''">declare_res_status = #{declareResStatus},</if> <if test="declareResStatus != null and declareResStatus != ''">declare_res_status = #{declareResStatus},</if>
<if test="destCountry != null and destCountry != ''">dest_country = #{destCountry},</if> <if test="destCountry != null and destCountry != ''">dest_country = #{destCountry},</if>
<if test="destCountryName != null and destCountryName != ''">dest_country_name = #{destCountryName},</if> <if test="destCountryName != null and destCountryName != ''">dest_country_name = #{destCountryName},</if>
<if test="transWeight != null">trans_weight = #{transWeight},</if>
<if test="packNum != null">pack_num = #{packNum},</if>
<if test="totalParcelQty != null">total_parcel_qty = #{totalParcelQty},</if> <if test="totalParcelQty != null">total_parcel_qty = #{totalParcelQty},</if>
<if test="totalWaybillQty != null">total_waybill_qty = #{totalWaybillQty},</if> <if test="totalWaybillQty != null">total_waybill_qty = #{totalWaybillQty},</if>
<if test="totalVolume != null">total_volume = #{totalVolume},</if> <if test="totalVolume != null">total_volume = #{totalVolume},</if>
@ -302,11 +302,11 @@
</update> </update>
<delete id="deleteEmisTmsSiteBatchById" parameterType="Long"> <delete id="deleteEmisTmsSiteBatchById" parameterType="Long">
delete from emis_tms_site_batch where id = #{id} update emis_tms_site_batch set del_flag='0' where id = #{id}
</delete> </delete>
<delete id="deleteEmisTmsSiteBatchByIds" parameterType="String"> <delete id="deleteEmisTmsSiteBatchByIds" parameterType="String">
delete from emis_tms_site_batch where id in update emis_tms_site_batch set del_flag='0' where id in
<foreach item="id" collection="array" open="(" separator="," close=")"> <foreach item="id" collection="array" open="(" separator="," close=")">
#{id} #{id}
</foreach> </foreach>