|
@@ -73,6 +73,8 @@ public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements
|
|
Goods goods = new Goods();
|
|
Goods goods = new Goods();
|
|
BeanUtils.copyProperties(goodsVO, goods);
|
|
BeanUtils.copyProperties(goodsVO, goods);
|
|
List<GoodsNo> list = new ArrayList<>();
|
|
List<GoodsNo> list = new ArrayList<>();
|
|
|
|
+ goods.setSuffixCode(goodsVO.getGoodStr());
|
|
|
|
+ goods.setDivisionCode(goodsVO.getDeptStr());
|
|
goods.setCreatorId(goodsVO.getUserId());
|
|
goods.setCreatorId(goodsVO.getUserId());
|
|
goodsMapper.insert(goods);
|
|
goodsMapper.insert(goods);
|
|
String mouldNo = goodsVO.getDeptStr() + "-" + goodsVO.getGoodStr();
|
|
String mouldNo = goodsVO.getDeptStr() + "-" + goodsVO.getGoodStr();
|