|
@@ -419,7 +419,7 @@ public class InStoreFormServiceImpl extends BaseServiceImpl<InStoreFormMapper, I
|
|
|
BigDecimal maxStock = sparePartInfo.getMaxStock()==null?new BigDecimal(0):sparePartInfo.getMaxStock();
|
|
|
|
|
|
if (num.intValue()+model.getInNum()>maxStock.intValue()){
|
|
|
- throw new BusinessException("该备件的最大库存量为"+sparePartInfo.getMaxStock()+"目前已超出,请修改入库数量!");
|
|
|
+ throw new BusinessException("该备件的最大库存量为"+maxStock+"目前已超出,请修改入库数量!");
|
|
|
}
|
|
|
UserInfo userInfo = SecurityUtils.getUserInfo();
|
|
|
Weekend<InStoreForm> weekend = new Weekend<>(InStoreForm.class);
|