diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisGoods.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisGoods.java
index 76bad37b3..460bd8e2a 100644
--- a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisGoods.java
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisGoods.java
@@ -36,7 +36,7 @@ public class EmisGoods extends BaseEntity
/* 序号 */
private Long id;
/* 货物编号 */
- private String goodsSn;
+ private String goodsCode;
/* 货物名称 */
private String goodsName;
/* 货物英文名称 */
@@ -49,42 +49,44 @@ public class EmisGoods extends BaseEntity
private String goodsModel;
/* 条码 */
private String barcode;
- /* 原产国 */
- private String orginalNation;
+ /* 原产地 */
+ private String nationArea;
/* 图片地址 */
private String picUrl;
- /* 归属客户 */
- private String ownerId;
+ /* 归属客户代码 */
+ private String ownerCode;
/* 是否实物 0-否 1-是 */
private Integer isRealGoods;
/* 是否大类 0-否 1-是 */
private Integer isBigCat;
- /* 品牌编号 */
- private String brandId;
/* 品牌名称 */
private String brand;
- /* 单净重 */
- private String netWeight;
+ /* 材质 */
+ private String material;
/* 单毛重 */
- private String grossWeight;
+ private BigDecimal grossWeight;
+ /* 单净重 */
+ private BigDecimal netWeight;
/* 单件体积 */
private String singleVolume;
/* 单件长 */
- private Double singleLength;
+ private BigDecimal singleLength;
/* 单件宽 */
- private Double singleWidth;
+ private BigDecimal singleWidth;
/* 单件高 */
- private Double singleHeight;
+ private BigDecimal singleHeight;
/* 箱件数 */
private Integer pkgPcs;
/* 箱体积 */
- private String pkgVolume;
+ private BigDecimal pkgVolume;
/* 箱长 */
- private Double pkgLength;
+ private BigDecimal pkgLength;
/* 箱宽 */
- private Double pkgWidth;
+ private BigDecimal pkgWidth;
/* 箱高 */
- private Double pkgHeight;
+ private BigDecimal pkgHeight;
+ /* 行邮税号 */
+ private String taxNo;
/* 海关编码 */
private String hsCode;
/* 商检编号 */
@@ -96,9 +98,9 @@ public class EmisGoods extends BaseEntity
/* 法2 */
private String unit2;
/* 价格 */
- private String price;
+ private BigDecimal price;
/* 币种 */
- private String currencyType;
+ private String currency;
/* 适用标准国别 */
private String ruleNation;
/* 生产企业 */
@@ -141,5 +143,9 @@ public class EmisGoods extends BaseEntity
private String portCode;
/* 排序 */
private Integer orderNum;
+ /* 创建站点 */
+ private String createSite;
+ /* 更新站点 */
+ private String updateSite;
}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisWaybillCargo.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisWaybillCargo.java
index 063e0eabe..f3ea1d965 100644
--- a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisWaybillCargo.java
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisWaybillCargo.java
@@ -31,6 +31,7 @@ import lombok.Data;
@Data
public class EmisWaybillCargo extends BaseEntity
{
+
private static final long serialVersionUID = 1L;
/* id */
diff --git a/emis-biz/src/main/resources/mapper/EmisGoodsMapper.xml b/emis-biz/src/main/resources/mapper/EmisGoodsMapper.xml
index e96d29817..55695d981 100644
--- a/emis-biz/src/main/resources/mapper/EmisGoodsMapper.xml
+++ b/emis-biz/src/main/resources/mapper/EmisGoodsMapper.xml
@@ -6,22 +6,22 @@
-
+
-
+
-
+
-
-
+
+
@@ -31,13 +31,14 @@
+
-
+
@@ -66,48 +67,51 @@
+
+
- select id, goods_sn, goods_name, goods_name_en, goods_cat, goods_type, goods_model, barcode, orginal_nation, pic_url, owner_id, is_real_goods, is_big_cat, brand_id, brand, net_weight, gross_weight, single_volume, single_length, single_width, single_height, pkg_pcs, pkg_volume, pkg_length, pkg_width, pkg_height, hs_code, is_code, unit, unit1, unit2, price, currency_type, rule_nation, manuf_enterprise, ebc_code, ciq_code, function, ingredients, purpose, product_validity, cebp_mode, supplier, serial_number, status, status_message, goods_sn2, goods_no2, lic_no, material_path, pd, sale_url, port_code, order_num, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time from emis_goods
+ select id, goods_code, goods_name, goods_name_en, goods_cat, goods_type, goods_model, barcode, nation_area, pic_url, owner_code, is_real_goods, is_big_cat, brand, material, gross_weight, net_weight, single_volume, single_length, single_width, single_height, pkg_pcs, pkg_volume, pkg_length, pkg_width, pkg_height, tax_no, hs_code, is_code, unit, unit1, unit2, price, currency, rule_nation, manuf_enterprise, ebc_code, ciq_code, function, ingredients, purpose, product_validity, cebp_mode, supplier, serial_number, status, status_message, goods_sn2, goods_no2, lic_no, material_path, pd, sale_url, port_code, order_num, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_goods
@@ -150,38 +156,39 @@
insert into emis_goods
id,
- goods_sn,
+ goods_code,
goods_name,
goods_name_en,
goods_cat,
goods_type,
goods_model,
barcode,
- orginal_nation,
+ nation_area,
pic_url,
- owner_id,
+ owner_code,
is_real_goods,
is_big_cat,
- brand_id,
brand,
- net_weight,
- gross_weight,
+ material,
+ gross_weight,
+ net_weight,
single_volume,
single_length,
single_width,
single_height,
pkg_pcs,
- pkg_volume,
+ pkg_volume,
pkg_length,
pkg_width,
pkg_height,
+ tax_no,
hs_code,
is_code,
unit,
unit1,
unit2,
- price,
- currency_type,
+ price,
+ currency,
rule_nation,
manuf_enterprise,
ebc_code,
@@ -210,41 +217,44 @@
create_time,
update_by,
update_time,
+ create_site,
+ update_site,
#{id},
- #{goodsSn},
+ #{goodsCode},
#{goodsName},
#{goodsNameEn},
#{goodsCat},
#{goodsType},
#{goodsModel},
#{barcode},
- #{orginalNation},
+ #{nationArea},
#{picUrl},
- #{ownerId},
+ #{ownerCode},
#{isRealGoods},
#{isBigCat},
- #{brandId},
#{brand},
- #{netWeight},
- #{grossWeight},
+ #{material},
+ #{grossWeight},
+ #{netWeight},
#{singleVolume},
#{singleLength},
#{singleWidth},
#{singleHeight},
#{pkgPcs},
- #{pkgVolume},
+ #{pkgVolume},
#{pkgLength},
#{pkgWidth},
#{pkgHeight},
+ #{taxNo},
#{hsCode},
#{isCode},
#{unit},
#{unit1},
#{unit2},
- #{price},
- #{currencyType},
+ #{price},
+ #{currency},
#{ruleNation},
#{manufEnterprise},
#{ebcCode},
@@ -273,44 +283,47 @@
#{createTime},
#{updateBy},
#{updateTime},
+ #{createSite},
+ #{updateSite},
update emis_goods
- goods_sn = #{goodsSn},
+ goods_code = #{goodsCode},
goods_name = #{goodsName},
goods_name_en = #{goodsNameEn},
goods_cat = #{goodsCat},
goods_type = #{goodsType},
goods_model = #{goodsModel},
barcode = #{barcode},
- orginal_nation = #{orginalNation},
+ nation_area = #{nationArea},
pic_url = #{picUrl},
- owner_id = #{ownerId},
+ owner_code = #{ownerCode},
is_real_goods = #{isRealGoods},
is_big_cat = #{isBigCat},
- brand_id = #{brandId},
brand = #{brand},
- net_weight = #{netWeight},
- gross_weight = #{grossWeight},
+ material = #{material},
+ gross_weight = #{grossWeight},
+ net_weight = #{netWeight},
single_volume = #{singleVolume},
single_length = #{singleLength},
single_width = #{singleWidth},
single_height = #{singleHeight},
pkg_pcs = #{pkgPcs},
- pkg_volume = #{pkgVolume},
+ pkg_volume = #{pkgVolume},
pkg_length = #{pkgLength},
pkg_width = #{pkgWidth},
pkg_height = #{pkgHeight},
+ tax_no = #{taxNo},
hs_code = #{hsCode},
is_code = #{isCode},
unit = #{unit},
unit1 = #{unit1},
unit2 = #{unit2},
- price = #{price},
- currency_type = #{currencyType},
+ price = #{price},
+ currency = #{currency},
rule_nation = #{ruleNation},
manuf_enterprise = #{manufEnterprise},
ebc_code = #{ebcCode},
@@ -339,6 +352,8 @@
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
+ create_site = #{createSite},
+ update_site = #{updateSite},
where id = #{id}