|
|
|
@ -637,8 +637,8 @@ public class WtSpBasicServiceImpl extends BaseServiceImpl<WtSpBasicMapper, WtSpB
|
|
|
|
|
if (ObjectUtil.isEmpty(libraryExcel.getLowerLimit()) || libraryExcel.getLowerLimit() < 0) { |
|
|
|
|
errors.add("库存下限不能为空"); |
|
|
|
|
} |
|
|
|
|
if (ObjectUtil.isNotEmpty(libraryExcel.getLowerLimit()) && ObjectUtil.isNotEmpty(libraryExcel.getLowerLimit())) { |
|
|
|
|
if (libraryExcel.getLowerLimit() > libraryExcel.getLowerLimit()) { |
|
|
|
|
if (ObjectUtil.isNotEmpty(libraryExcel.getLowerLimit()) && ObjectUtil.isNotEmpty(libraryExcel.getUpperLimit())) { |
|
|
|
|
if (libraryExcel.getLowerLimit() > libraryExcel.getUpperLimit()) { |
|
|
|
|
errors.add("库存下限不能大于库存上限"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|