去掉supermarket_material表

This commit is contained in:
sxu 2025-06-30 18:15:34 +08:00
parent c486fad5e8
commit d5b632268b
1 changed files with 0 additions and 1 deletions

View File

@ -71,7 +71,6 @@ public class CookMaterialServiceImpl implements ICookMaterialService {
if (cookMaterialMapper.checkIsExistByName(cookMaterial.getMaterialName(), null) > 0) { if (cookMaterialMapper.checkIsExistByName(cookMaterial.getMaterialName(), null) > 0) {
throw new ServiceException("该原料名称已存在"); throw new ServiceException("该原料名称已存在");
} }
cookMaterial.setGoodsType(1L);
return cookMaterialMapper.insertCookMaterial(cookMaterial); return cookMaterialMapper.insertCookMaterial(cookMaterial);
} catch (Exception e) { } catch (Exception e) {
throw new ServiceException(e.getMessage()); throw new ServiceException(e.getMessage());