发布商品批量新增bug 商品图片少了类型字段入库
This commit is contained in:
parent
ca4773db99
commit
6a68a6ae44
|
|
@ -42,15 +42,17 @@
|
|||
(
|
||||
goods_id,
|
||||
img_url,
|
||||
img_type,
|
||||
remark,
|
||||
create_by,
|
||||
create_time
|
||||
)
|
||||
VALUES
|
||||
<foreach collection="goodsImgs" item="goodsImg">
|
||||
<foreach collection="goodsImgs" separator="," item="goodsImg">
|
||||
(
|
||||
#{goodsImg.goodsId},
|
||||
#{goodsImg.imgUrl},
|
||||
#{goodsImg.imgType},
|
||||
#{goodsImg.remark},
|
||||
#{goodsImg.createBy},
|
||||
sysdate()
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
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 )
|
||||
VALUES
|
||||
<foreach collection="goodsStandards" item="goodsStandard">
|
||||
<foreach collection="goodsStandards" separator="," item="goodsStandard">
|
||||
(
|
||||
#{goodsStandard.goodsStandardName}, #{goodsStandard.goodsId}, #{goodsStandard.deptGoodsCategoryId}, #{goodsStandard.goodsPrice}, #{goodsStandard.discountPrice},
|
||||
#{goodsStandard.groupPrice}, #{goodsStandard.goodsNum}, #{goodsStandard.saleNum}, #{goodsStandard.status}, #{goodsStandard.remark}, #{goodsStandard.createBy}, sysdate()
|
||||
|
|
|
|||
Loading…
Reference in New Issue