|
@@ -28,6 +28,7 @@ import com.ozs.plan.mapper.PlanYearsMapper;
|
|
|
import com.ozs.plan.service.PlanQuarterService;
|
|
|
import com.ozs.pm.doman.PmDemand;
|
|
|
import com.ozs.pm.mapper.PmDemandMapper;
|
|
|
+import com.ozs.pm.service.IPmDemandService;
|
|
|
import com.ozs.system.domain.SysFileInfo;
|
|
|
import com.ozs.system.domain.SysFileRef;
|
|
|
import com.ozs.system.domain.vo.responseVo.SysDeptResponseVo;
|
|
@@ -82,6 +83,8 @@ public class PlanQuarterServiceImpl extends ServiceImpl<PlanQuarterMapper, PlanQ
|
|
|
private SysFileService fileService;
|
|
|
@Autowired
|
|
|
private PmDemandMapper pmDemandMapper;
|
|
|
+ @Autowired
|
|
|
+ private IPmDemandService demandService;
|
|
|
|
|
|
@Override
|
|
|
public List<PlanQuarterResponseVo> selectPlanQuarterListEXP(PlanQuarterStandardVo vo, LoginUser loginUser) {
|
|
@@ -448,6 +451,7 @@ public class PlanQuarterServiceImpl extends ServiceImpl<PlanQuarterMapper, PlanQ
|
|
|
demand.setProjectStatus(PmProjectStatus.DEMAND_WAIT_FILL.getCode());
|
|
|
demand.setCreateTime(new Date());
|
|
|
pmDemandMapper.insert(demand);
|
|
|
+ demandService.updateDemandWarnStatus(demand.getDemandId());
|
|
|
//计划附件也进行同步---查询年度计划附件后复制一份改为项目需求附件
|
|
|
LambdaQueryWrapper<SysFileRef> sysFileRefLp = new LambdaQueryWrapper<>();
|
|
|
sysFileRefLp.eq(SysFileRef::getType, SysFileRefEnum.PLAN_YEAR.getType());
|