This commit is contained in:
佟明轩 2025-05-21 18:40:11 +08:00
parent 45810692a3
commit 8a1b9e030c
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}