yy
3 天以前 8850799cf60c4690237f43dd431a8a56ee9767aa
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/service/impl/SegmentServiceImpl.java
@@ -131,7 +131,7 @@
        for (Segment seg : segmentList) {
            Task task = taskService.getById(segment.getTaskId());
            if (task != null &&
                    (!task.getTaskSts().equals(TaskStsType.COMPLETE.val()) || !task.getTaskSts().equals(TaskStsType.CANCEL.val()))) {
                    (!task.getTaskSts().equals(TaskStsType.COMPLETE.val()) && !task.getTaskSts().equals(TaskStsType.CANCEL.val()))) {
                throw new CoolException("the task is not finish");
            }
            seg.setState(SegmentStateType.FINISH.toString());