|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | for (Action action : actionList) { | 
|---|
|  |  |  | action.setActionSts(ActionStsType.ISSUED.val()); | 
|---|
|  |  |  | action.setStartTime(now); | 
|---|
|  |  |  | action.setUpdateTime(now); | 
|---|
|  |  |  | if (!actionService.updateById(action)) { | 
|---|
|  |  |  | throw new BusinessException(action.getPriority() + " - " + action.getName() + "动作更新失败"); | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if (null != action) { | 
|---|
|  |  |  | action.setActionSts(ActionStsType.FINISH.val()); | 
|---|
|  |  |  | action.setEndTime(now); | 
|---|
|  |  |  | action.setUpdateTime(now); | 
|---|
|  |  |  | if (!actionService.updateById(action)) { | 
|---|
|  |  |  | log.error("Action [{}] 更新失败 !!!", action.getPriority() + " - " + action.getName()); | 
|---|
|  |  |  | 
|---|
|  |  |  | ); | 
|---|
|  |  |  | if (null != action) { | 
|---|
|  |  |  | action.setActionSts(ActionStsType.FINISH.val()); | 
|---|
|  |  |  | action.setEndTime(now); | 
|---|
|  |  |  | action.setUpdateTime(now); | 
|---|
|  |  |  | if (!actionService.updateById(action)) { | 
|---|
|  |  |  | log.error("Action [{}] 更新失败 !!!", action.getPriority() + " - " + action.getName()); | 
|---|
|  |  |  | 
|---|
|  |  |  | ); | 
|---|
|  |  |  | for (Action action : actionList) { | 
|---|
|  |  |  | action.setActionSts(ActionStsType.FINISH.val()); | 
|---|
|  |  |  | action.setEndTime(now); | 
|---|
|  |  |  | action.setUpdateTime(now); | 
|---|
|  |  |  | if (!actionService.updateById(action)) { | 
|---|
|  |  |  | log.error("Action [{}] 更新失败 !!!", action.getPriority() + " - " + action.getName()); | 
|---|