Commit 92676baf authored by wangqiang's avatar wangqiang

记录行动项实际完成时间,任务启动时间、任务启动人

parent 9a6cb81f
...@@ -17,6 +17,8 @@ import com.yonde.dex.basedata.data.search.SearchItems; ...@@ -17,6 +17,8 @@ import com.yonde.dex.basedata.data.search.SearchItems;
import com.yonde.dex.basedata.data.search.SearchQueryCondition; import com.yonde.dex.basedata.data.search.SearchQueryCondition;
import com.yonde.dex.basedata.entity.api.ApiResult; import com.yonde.dex.basedata.entity.api.ApiResult;
import com.yonde.dex.basedata.entity.data.DxPageImpl; import com.yonde.dex.basedata.entity.data.DxPageImpl;
import com.yonde.dex.basedata.entity.data.OperatorType;
import com.yonde.dex.basedata.entity.vo.IdVO;
import com.yonde.dex.basedata.exception.DxBusinessException; import com.yonde.dex.basedata.exception.DxBusinessException;
import com.yonde.dex.basedata.users.UserHelper; import com.yonde.dex.basedata.users.UserHelper;
import com.yonde.dex.dfs.feign.FileManagerFeignService; import com.yonde.dex.dfs.feign.FileManagerFeignService;
...@@ -130,11 +132,12 @@ public class ExtQuarterlyReportServiceImpl<V extends ExtQuarterlyReportVO> imple ...@@ -130,11 +132,12 @@ public class ExtQuarterlyReportServiceImpl<V extends ExtQuarterlyReportVO> imple
extActionItemVO.setTaskReleaseDate(LocalDateTime.now()); extActionItemVO.setTaskReleaseDate(LocalDateTime.now());
//任务发布人 //任务发布人
extActionItemVO.setTaskReleasePersonId(userHelper.getCurrentUser().getUserId()); extActionItemVO.setTaskReleasePersonId(userHelper.getCurrentUser().getUserId());
//设置状态未“进行中” extActionItemVO.setOperator(OperatorType.MODIFY);
extActionItemVO.setState(Constants.INPROGRESS); extActionItemVO = (ExtActionItemVO) extActionItemService.saveRecursion(extActionItemVO);
extActionItemService.update(extActionItemVO);
//启动行动项工作流 //启动行动项工作流
wfcProcessFeign.startProcessByKey("ExtActionItemWF", extActionItemVO); wfcProcessFeign.startProcessByKey("ExtActionItemWF", extActionItemVO);
//修改行动项状态未“进行中”
extActionItemService.changeStatus(extActionItemVO.getId(),Constants.INPROGRESS,true);
} }
//修改季报的状态未信息收集中 //修改季报的状态未信息收集中
this.changeStatus(extQuarterlyReportVO.getId(), Constants.INFORMATION_COLLECTION, true); this.changeStatus(extQuarterlyReportVO.getId(), Constants.INFORMATION_COLLECTION, true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment