|
@@ -233,12 +233,12 @@ public class ProvisionalPlanServiceImpl extends ServiceImpl<ProvisionalPlanMappe
|
|
|
PlanYears ofYears = new PlanYears();
|
|
|
BeanUtils.copyProperties(byId, ofYears);
|
|
|
planYearsMapper.insertPlanYears(ofYears);
|
|
|
- Long planYearId = ofYears.getPlanYearId();
|
|
|
byId.setPlanYearId(ofYears.getPlanYearId().intValue());
|
|
|
}
|
|
|
PmDemand demand = new PmDemand();
|
|
|
BeanUtils.copyProperties(byId, demand);
|
|
|
demand.setPlanId(Long.valueOf(byId.getPlanPracticalId()));
|
|
|
+ demand.setEvaluation(byId.getEvaluation().doubleValue());
|
|
|
//同步到项目管理状态为需求待填制
|
|
|
demand.setProjectStatus(PmProjectStatus.DEMAND_WAIT_FILL.getCode());
|
|
|
demand.setCreateTime(new Date());
|