Merge remote-tracking branch 'origin/master'

master
zpl 3 years ago
commit b5156339d1

@ -252,7 +252,7 @@ public class ProdReadyTaskServiceImpl extends ServiceImpl<ProdReadyTaskMapper, P
if (list.size() > 0) { if (list.size() > 0) {
ProdReadyTask prodReadyTask = list.get(0); ProdReadyTask prodReadyTask = list.get(0);
if (prodReadyTask.getStatus().equals(STATUS_CANCEL)) { if (prodReadyTask.getStatus().equals(STATUS_CANCEL)) {
throw new BaseException("产前准备任务已取消"); continue;
} }
prodReadyTask.setStatus(STATUS_CANCEL); prodReadyTask.setStatus(STATUS_CANCEL);
LocalDateTime now = LocalDateTime.now(); LocalDateTime now = LocalDateTime.now();

Loading…
Cancel
Save