Commit ddf2d509 by zhanglt

入库单删除数据校验

parent 75d1c166
...@@ -124,7 +124,7 @@ public class GoodsController extends BaseController { ...@@ -124,7 +124,7 @@ public class GoodsController extends BaseController {
j.setMsg(errMsg); j.setMsg(errMsg);
return j; return j;
} }
if (StringUtils.isNotBlank(goods.getBatchNum())){ if (StringUtils.isNotBlank(goods.getBatchNum()) && StringUtils.isBlank(goods.getId())){
Goods goods1 = new Goods(); Goods goods1 = new Goods();
goods1.setBatchNum(goods.getBatchNum()); goods1.setBatchNum(goods.getBatchNum());
List<Goods> list = goodsService.findList(goods1); List<Goods> list = goodsService.findList(goods1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment