|
|
|
@ -2044,8 +2044,8 @@ public class ScheduleServiceImpl implements ScheduleService { |
|
|
|
if (netIssueQty == null) { |
|
|
|
throw new XJException("材料上本卷耗用数量不能为空!"); |
|
|
|
} |
|
|
|
if (netIssueQty <= 0) { |
|
|
|
throw new XJException("材料上本卷耗用数量必须大于0!"); |
|
|
|
if (netIssueQty < 0) { |
|
|
|
throw new XJException("材料上本卷耗用数量必须大于等于0!"); |
|
|
|
} |
|
|
|
if (netIssueQty > transQty) { |
|
|
|
throw new XJException("材料上本卷耗用数量大于发料数量!"); |
|
|
|
|