Commit bedc37e2 by anxiaohe

Merge remote-tracking branch 'origin/master'

parents 9eb650aa ddf2d509
...@@ -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