Commit 50543339 authored by wangqiang's avatar wangqiang

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

parent a93b5a25
...@@ -24,6 +24,7 @@ import com.yonde.dex.basedata.users.UserHelper; ...@@ -24,6 +24,7 @@ import com.yonde.dex.basedata.users.UserHelper;
import com.yonde.dex.dfs.feign.FileManagerFeignService; import com.yonde.dex.dfs.feign.FileManagerFeignService;
import com.yonde.dex.dfs.vo.ObjFileLinkVO; import com.yonde.dex.dfs.vo.ObjFileLinkVO;
import com.yonde.dex.dfs.vo.view.FileDownLoadInfoVO; import com.yonde.dex.dfs.vo.view.FileDownLoadInfoVO;
import com.yonde.dex.lcycle.plugin.common.entity.DxLifecycleManageBaseVOHolder;
import com.yonde.dex.wfc.feign.api.WfcProcessFeign; import com.yonde.dex.wfc.feign.api.WfcProcessFeign;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
...@@ -132,12 +133,12 @@ public class ExtQuarterlyReportServiceImpl<V extends ExtQuarterlyReportVO> imple ...@@ -132,12 +133,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 = (ExtActionItemVO) extActionItemService.saveRecursion(extActionItemVO); extActionItemVO.setState(Constants.INPROGRESS);
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