派工发布取消车间最早、车间最晚时间校验。

master
yangwl 3 years ago
parent f599e63dde
commit 5a01c90837

@ -556,7 +556,7 @@ public class SfcDispatchServiceImpl extends ServiceImpl<SfcDispatchMapper, SfcDi
message.append("派工单[" + dispatchNo + "]的资源没有维护,不允许发布");
continue;
}
if (sfcDispatchDto.getPlannedStartDate() == null || sfcDispatchDto.getPlannedCompDate() == null || sfcDispatchDto.getEarliestStartDate() == null || sfcDispatchDto.getLatestEndDate() == null) {
if (sfcDispatchDto.getPlannedStartDate() == null || sfcDispatchDto.getPlannedCompDate() == null) {
flag = false;
message.append(seq++%3 == 0 ? "\n" : "| |");
message.append("派工单[" + dispatchNo + "]的计划开始或完成时间没维护,不允许发布");

Loading…
Cancel
Save