From bbfc76472b4c022ff806553de9836a9873e35dda Mon Sep 17 00:00:00 2001 From: donqi Date: Wed, 1 Feb 2023 20:47:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E6=96=B0=E5=A2=9E=20?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0=E6=8F=90=E6=88=90=E9=A2=9D=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ghy/goods/domain/GoodsStandard.java | 3 +++ .../src/main/resources/mapper/goods/GoodsStandardMapper.xml | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ghy-goods/src/main/java/com/ghy/goods/domain/GoodsStandard.java b/ghy-goods/src/main/java/com/ghy/goods/domain/GoodsStandard.java index f0e30f44..9ac3f747 100644 --- a/ghy-goods/src/main/java/com/ghy/goods/domain/GoodsStandard.java +++ b/ghy-goods/src/main/java/com/ghy/goods/domain/GoodsStandard.java @@ -23,6 +23,9 @@ public class GoodsStandard extends BaseEntity { private BigDecimal goodsPrice; + @Excel(name = "追加提成额") + private BigDecimal extMoney; + @Excel(name = "优惠价") private BigDecimal discountPrice; diff --git a/ghy-goods/src/main/resources/mapper/goods/GoodsStandardMapper.xml b/ghy-goods/src/main/resources/mapper/goods/GoodsStandardMapper.xml index 23e384d4..58aa49f3 100644 --- a/ghy-goods/src/main/resources/mapper/goods/GoodsStandardMapper.xml +++ b/ghy-goods/src/main/resources/mapper/goods/GoodsStandardMapper.xml @@ -8,6 +8,7 @@ + @@ -28,6 +29,7 @@ goods_id, dept_goods_category_id, goods_price, + ext_money, discount_price, group_price, goods_num, @@ -79,12 +81,12 @@ INSERT INTO goods_standard ( - goods_standard_name, goods_id, dept_goods_category_id, goods_price, discount_price, group_price, goods_unit, goods_num, + goods_standard_name, goods_id, dept_goods_category_id, goods_price, ext_money, discount_price, group_price, goods_unit, goods_num, sale_num, status, remark, create_by, create_time ) VALUES ( - #{goodsStandard.goodsStandardName}, #{goodsStandard.goodsId}, #{goodsStandard.deptGoodsCategoryId}, #{goodsStandard.goodsPrice}, #{goodsStandard.discountPrice}, + #{goodsStandard.goodsStandardName}, #{goodsStandard.goodsId}, #{goodsStandard.deptGoodsCategoryId}, #{goodsStandard.goodsPrice}, #{goodsStandard.extMoney}, #{goodsStandard.discountPrice}, #{goodsStandard.groupPrice}, #{goodsStandard.goodsUnit}, #{goodsStandard.goodsNum}, 0, #{goodsStandard.status}, #{goodsStandard.remark}, #{goodsStandard.createBy}, sysdate() )