去掉supermarket_material表
This commit is contained in:
parent
d5b632268b
commit
fd5242df73
|
|
@ -108,7 +108,6 @@ public class CookMaterialServiceImpl implements ICookMaterialService {
|
||||||
if (cookMaterialMapper.checkIsExistByName(cookMaterial.getMaterialName(), cookMaterial.getMaterialId()) > 0) {
|
if (cookMaterialMapper.checkIsExistByName(cookMaterial.getMaterialName(), cookMaterial.getMaterialId()) > 0) {
|
||||||
throw new ServiceException("该原料名称已存在");
|
throw new ServiceException("该原料名称已存在");
|
||||||
}
|
}
|
||||||
cookMaterial.setGoodsType(1L);
|
|
||||||
return cookMaterialMapper.updateCookMaterial(cookMaterial);
|
return cookMaterialMapper.updateCookMaterial(cookMaterial);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new ServiceException(e.getMessage());
|
throw new ServiceException(e.getMessage());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue