From ff4eb3ab3c1586ec2453cf75b94dc9e2265b1cba Mon Sep 17 00:00:00 2001 From: linfso Date: Sat, 27 Apr 2024 16:20:00 +0800 Subject: [PATCH] md --- .../erp/web/emis/EmisGoodsController.java | 4 ++- .../erp/emis/domain/EmisWaybillCargo.java | 16 ++++----- .../com/xdadan/erp/emis/domain/vo/Cargo.java | 36 +++++++++++++++++++ .../mapper/EmisWaybillCargoMapper.xml | 34 +++++++++--------- 4 files changed, 64 insertions(+), 26 deletions(-) diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisGoodsController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisGoodsController.java index e1a9a9346..153e1d447 100644 --- a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisGoodsController.java +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisGoodsController.java @@ -64,7 +64,9 @@ public class EmisGoodsController extends BaseController } // @PreAuthorize("@ss.hasPermi('emis:emisGoods:list')") - @JacksonFilter(include= {"id","goodsSn","goodsName","goodsNameEn"},value= EmisGoods.class,type= JacksonFilter.JscksonFilterType.RESPONSE) + @JacksonFilter(include= {"id","goodsSn","goodsName","goodsNameEn","price","orginalNation", + "brand","ingredients","" + },value= EmisGoods.class,type= JacksonFilter.JscksonFilterType.RESPONSE) @RequestMapping("/listSimple") public TableDataInfo listSimple(EmisGoods emisGoods) { 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 71f7e4274..063e0eabe 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 @@ -2,7 +2,7 @@ * @Project: emis * @Title: EmisWaybillCargo.java * @author linfso - * @date 2024-04-25 09:18:11 + * @date 2024-04-27 08:16:45 * @Copyright: ShangHai Duta 2022 All rights reserved. * @version v1.0 * @Description:

运单货物 实体类

@@ -26,7 +26,7 @@ import lombok.Data; * @ClassName EmisWaybillCargo * @Description 运单货物 * @author linfso - * @date 2024-04-25 09:18:11 + * @date 2024-04-27 08:16:45 */ @Data public class EmisWaybillCargo extends BaseEntity @@ -59,18 +59,22 @@ public class EmisWaybillCargo extends BaseEntity private String hscode; /* 品牌 */ private String brand; + /* 材质 */ + private String material; /* 用途 */ private String purpose; /* 成分 */ private String ingredients; + /* 厂家 */ + private String manufacturer; /* 功能 */ private String function; /* 规格型号 */ private String goodsModel; - /* 厂家 */ - private String manufacturer; /* 毛重 */ private BigDecimal grossWeight; + /* 净重 */ + private BigDecimal netWeight; /* 长 */ private BigDecimal length; /* 宽 */ @@ -79,10 +83,6 @@ public class EmisWaybillCargo extends BaseEntity private BigDecimal height; /* 体积 */ private BigDecimal volume; - /* 申报价值 */ - private BigDecimal declaredValue; - /* 申报价值币种 */ - private String declaredValueCurrency; /* 条码 */ private String barcode; /* 排序 */ diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/vo/Cargo.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/vo/Cargo.java index c23b373cd..c98642f9f 100644 --- a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/vo/Cargo.java +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/vo/Cargo.java @@ -2,6 +2,8 @@ package com.xdadan.erp.emis.domain.vo; import lombok.Data; +import java.math.BigDecimal; + @Data public class Cargo { /* 货物编码 */ @@ -10,4 +12,38 @@ public class Cargo { private String goodsName; /* 货物数量 */ private String cargoQty; + /* 单位 */ + private String unit; + /* 重量 */ + private BigDecimal weight; + /* 货物单价 */ + private BigDecimal price; + /* 货物币种 */ + private String currency; + /* 原产国 */ + private String nationArea; + /* 行邮税号 */ + private String taxNo; + /* 海关编码 */ + private String hscode; + /* 品牌 */ + private String brand; + /* 材质 */ + private String material; + /* 用途 */ + private String purpose; + /* 成分 */ + private String ingredients; + /* 厂家 */ + private String manufacturer; + /* 规格型号 */ + private String goodsModel; + /* 毛重 */ + private BigDecimal grossWeight; + /* 净重 */ + private BigDecimal netWeight; + /* 排序 */ + private Integer orderNum; + + private Integer isSave; } diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillCargoMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillCargoMapper.xml index ba9f8c6ff..4201aea6f 100644 --- a/emis-biz/src/main/resources/mapper/EmisWaybillCargoMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisWaybillCargoMapper.xml @@ -18,18 +18,18 @@ + + - + - - @@ -41,7 +41,7 @@ - select id, waybill_id, goods_code, goods_name, cargo_qty, unit, weight, price, currency, nation_area, tax_no, hscode, brand, purpose, ingredients, function, goods_model, manufacturer, gross_weight, length, width, height, volume, declared_value, declared_value_currency, barcode, order_num, del_flag, create_by, create_time, update_by, update_time, remark from emis_waybill_cargo + select id, waybill_id, goods_code, goods_name, cargo_qty, unit, weight, price, currency, nation_area, tax_no, hscode, brand, material, purpose, ingredients, manufacturer, function, goods_model, gross_weight, net_weight, length, width, height, volume, barcode, order_num, del_flag, create_by, create_time, update_by, update_time, remark from emis_waybill_cargo @@ -106,18 +106,18 @@ tax_no, hscode, brand, + material, purpose, ingredients, + manufacturer, function, goods_model, - manufacturer, gross_weight, + net_weight, length, width, height, volume, - declared_value, - declared_value_currency, barcode, order_num, del_flag, @@ -141,18 +141,18 @@ #{taxNo}, #{hscode}, #{brand}, + #{material}, #{purpose}, #{ingredients}, + #{manufacturer}, #{function}, #{goodsModel}, - #{manufacturer}, #{grossWeight}, + #{netWeight}, #{length}, #{width}, #{height}, #{volume}, - #{declaredValue}, - #{declaredValueCurrency}, #{barcode}, #{orderNum}, #{delFlag}, @@ -179,18 +179,18 @@ tax_no = #{taxNo}, hscode = #{hscode}, brand = #{brand}, + material = #{material}, purpose = #{purpose}, ingredients = #{ingredients}, + manufacturer = #{manufacturer}, function = #{function}, goods_model = #{goodsModel}, - manufacturer = #{manufacturer}, gross_weight = #{grossWeight}, + net_weight = #{netWeight}, length = #{length}, width = #{width}, height = #{height}, volume = #{volume}, - declared_value = #{declaredValue}, - declared_value_currency = #{declaredValueCurrency}, barcode = #{barcode}, order_num = #{orderNum}, del_flag = #{delFlag},