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 dd7cbc561..fbe7e1666 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
@@ -2,7 +2,7 @@
* @Project: emis
* @Title: EmisTmsSiteBatch.java
* @author linfso
- * @date 2024-06-03 05:43:37
+ * @date 2024-06-07 04:52:26
* @Copyright: ShangHai Duta 2022 All rights reserved.
* @version v1.0
* @Description:
TMS组批次 实体类
@@ -26,7 +26,7 @@ import lombok.Data;
* @ClassName EmisTmsSiteBatch
* @Description TMS组批次
* @author linfso
- * @date 2024-06-03 05:43:37
+ * @date 2024-06-07 04:52:26
*/
@Data
public class EmisTmsSiteBatch extends BaseEntity
@@ -42,12 +42,17 @@ public class EmisTmsSiteBatch extends BaseEntity
/* 批次时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date batchDate;
+ /* 所属线路 */
+ private String transLineType;
+ /* 所属产品 */
+ private String productType;
/* 批次类型 1-网点组批次 2-总部组批 */
private String batchType;
/* 运输方式: 空运 陆运 海运 */
private String transType;
/* 起始网点 */
private String startSiteCode;
+
/* 下一网点 */
private String nextSiteCode;
/* 航空单号 */
@@ -70,8 +75,7 @@ public class EmisTmsSiteBatch extends BaseEntity
private String declareResStatus;
/* 目的国家 */
private String destCountry;
- /* 目的国家名称 */
- private String destCountryName;
+
/* 总件数 */
private Integer totalParcelQty;
/* 总运单数 */
@@ -83,4 +87,13 @@ public class EmisTmsSiteBatch extends BaseEntity
/* 操作员 */
private String opMan;
+
+//-- 扩展数据 ------------------------
+
+ private String transLineTypeName;
+ private String productTypeName;
+ /* 发件国家 目的国家名称 */
+ private String sendCountryName;
+ private String destCountryName;
+
}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisSiteMapper.java b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisSiteMapper.java
index 97ee0232a..a61099fc5 100644
--- a/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisSiteMapper.java
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisSiteMapper.java
@@ -22,7 +22,7 @@ import org.apache.ibatis.annotations.CacheNamespace;
* @author linfso
* @date 2023-12-14 13:02:46
*/
-//@CacheNamespace(implementation= MybatisRedisCache.class,eviction=MybatisRedisCache.class)
+@CacheNamespace(implementation= MybatisRedisCache.class,eviction=MybatisRedisCache.class)
public interface EmisSiteMapper extends BaseMapper
{
/**
diff --git a/emis-biz/src/main/resources/mapper/EmisTmsSiteBatchMapper.xml b/emis-biz/src/main/resources/mapper/EmisTmsSiteBatchMapper.xml
index 2aa0700f1..58b523b38 100644
--- a/emis-biz/src/main/resources/mapper/EmisTmsSiteBatchMapper.xml
+++ b/emis-biz/src/main/resources/mapper/EmisTmsSiteBatchMapper.xml
@@ -9,9 +9,12 @@
+
+
+
@@ -22,16 +25,27 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
- select id, batch_no, batch_name, batch_date, batch_type, trans_type, start_site_code, 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, 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
@@ -125,9 +145,12 @@
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,
@@ -159,9 +182,12 @@
#{batchNo},
#{batchName},
#{batchDate},
+ #{transLineType},
+ #{productType},
#{batchType},
#{transType},
#{startSiteCode},
+ #{sendCountry},
#{nextSiteCode},
#{airBilllNo},
#{etd},
@@ -196,9 +222,12 @@
batch_no = #{batchNo},
batch_name = #{batchName},
batch_date = #{batchDate},
+ trans_line_type = #{transLineType},
+ product_type = #{productType},
batch_type = #{batchType},
trans_type = #{transType},
start_site_code = #{startSiteCode},
+ send_country = #{sendCountry},
next_site_code = #{nextSiteCode},
air_billl_no = #{airBilllNo},
etd = #{etd},