This commit is contained in:
parent
45810692a3
commit
8a1b9e030c
|
|
@ -71,7 +71,7 @@ public class GoodsController extends BaseController {
|
|||
if (goods.getIdCode() == null || goods.getIdCode().isEmpty()){
|
||||
goods.setIdCode("");
|
||||
}
|
||||
Goods dbGoods = goodsService.createGoods(goods);
|
||||
Goods dbGoods = goodsService.save(goods);
|
||||
|
||||
return success(dbGoods);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue