| | |
| | | import org.apache.logging.log4j.util.Strings; |
| | | import org.springblade.common.cache.SysCache; |
| | | import org.springblade.common.constant.DictConstant; |
| | | import org.springblade.common.exception.CustomException; |
| | | import org.springblade.common.param.CommonParamSet; |
| | | import org.springblade.common.utils.SpringUtils; |
| | | import org.springblade.core.secure.utils.AuthUtil; |
| | |
| | | |
| | | |
| | | @Override |
| | | public Boolean updateLabelReporting(TaskLabelReportingEventVO taskLabelReportingEvent) throws Exception { |
| | | public Boolean updateLabelReporting(TaskLabelReportingEventVO taskLabelReportingEvent) { |
| | | Long aLong = taskService.updateTask(null, null, null, "", AuthUtil.getUserId(), |
| | | taskLabelReportingEvent.getTaskId(), taskLabelReportingEvent.getStatus()); |
| | | if (aLong > 0) { |
| | |
| | | if (b) { |
| | | return b; |
| | | } |
| | | throw new Exception("更新失败!"); |
| | | throw new CustomException("更新失败!"); |
| | | } |
| | | return false; |
| | | } |