1.编辑条码增加数据校验,修复数量小于1时可以提交的问题

purchase
x_z 3 years ago
parent ba850eb92a
commit 1e9e3b4a0a

@ -339,6 +339,10 @@ public class WareHouseController {
}
}
if (warehouseEntity.getCount() != null && warehouseEntity.getCount() <= 0) {
return ResultVOUtils.error(500, "数量不能小于0");
}
boolean b = codesTempService.update(warehouseEntity);
if (b)

Loading…
Cancel
Save