发布商品批量新增bug 商品图片少了类型字段入库

This commit is contained in:
kuang.yifei@iwhalecloud.com 2022-06-01 00:18:46 +08:00
parent ca4773db99
commit 6a68a6ae44
2 changed files with 4 additions and 2 deletions

View File

@ -42,15 +42,17 @@
( (
goods_id, goods_id,
img_url, img_url,
img_type,
remark, remark,
create_by, create_by,
create_time create_time
) )
VALUES VALUES
<foreach collection="goodsImgs" item="goodsImg"> <foreach collection="goodsImgs" separator="," item="goodsImg">
( (
#{goodsImg.goodsId}, #{goodsImg.goodsId},
#{goodsImg.imgUrl}, #{goodsImg.imgUrl},
#{goodsImg.imgType},
#{goodsImg.remark}, #{goodsImg.remark},
#{goodsImg.createBy}, #{goodsImg.createBy},
sysdate() sysdate()

View File

@ -71,7 +71,7 @@
goods_standard_name, goods_id, dept_goods_category_id, goods_price, discount_price, group_price, goods_num, goods_standard_name, goods_id, dept_goods_category_id, goods_price, discount_price, group_price, goods_num,
sale_num, status, remark, create_by, create_time ) sale_num, status, remark, create_by, create_time )
VALUES VALUES
<foreach collection="goodsStandards" item="goodsStandard"> <foreach collection="goodsStandards" separator="," item="goodsStandard">
( (
#{goodsStandard.goodsStandardName}, #{goodsStandard.goodsId}, #{goodsStandard.deptGoodsCategoryId}, #{goodsStandard.goodsPrice}, #{goodsStandard.discountPrice}, #{goodsStandard.goodsStandardName}, #{goodsStandard.goodsId}, #{goodsStandard.deptGoodsCategoryId}, #{goodsStandard.goodsPrice}, #{goodsStandard.discountPrice},
#{goodsStandard.groupPrice}, #{goodsStandard.goodsNum}, #{goodsStandard.saleNum}, #{goodsStandard.status}, #{goodsStandard.remark}, #{goodsStandard.createBy}, sysdate() #{goodsStandard.groupPrice}, #{goodsStandard.goodsNum}, #{goodsStandard.saleNum}, #{goodsStandard.status}, #{goodsStandard.remark}, #{goodsStandard.createBy}, sysdate()