|  | @@ -159,6 +159,7 @@ public class AppPlanServiceImpl extends ServiceImpl<AppPlanMapper, AppPlan> impl
 | 
	
		
			
				|  |  |              plan.setPlanOfOrgId(d.getOrgId());
 | 
	
		
			
				|  |  |              plan.setPlanStatus(d.getStatus());
 | 
	
		
			
				|  |  |              plan.setDistributePlanStatus(d.getStatus().toString());
 | 
	
		
			
				|  |  | +            plan.setCreateTime(new Date());
 | 
	
		
			
				|  |  |              plan.setId(null);
 | 
	
		
			
				|  |  |  //            plan.setPlanName(plan.getPlanName()+"下发"+orgService.selectOrgById(d.getOrgId(),SecurityConstants.INNER).getName());
 | 
	
		
			
				|  |  |              plan.setPlanName(plan.getPlanName());
 | 
	
	
		
			
				|  | @@ -230,6 +231,7 @@ public class AppPlanServiceImpl extends ServiceImpl<AppPlanMapper, AppPlan> impl
 | 
	
		
			
				|  |  |          if (app.getId() == null) {
 | 
	
		
			
				|  |  |              plan.setParentId(-1L);
 | 
	
		
			
				|  |  |              plan.setDeleted(0);
 | 
	
		
			
				|  |  | +            plan.setCreateTime(new Date());
 | 
	
		
			
				|  |  |              //新增
 | 
	
		
			
				|  |  |              plan.setPlanOfOrgId(app.getPlanCreateOrgId());
 | 
	
		
			
				|  |  |              plan.setPlanOfOrgName(app.getPlanCreateOrgName());
 | 
	
	
		
			
				|  | @@ -306,7 +308,8 @@ public class AppPlanServiceImpl extends ServiceImpl<AppPlanMapper, AppPlan> impl
 | 
	
		
			
				|  |  |  //                throw new RuntimeException("计划名称重复,请确认!");
 | 
	
		
			
				|  |  |  //            }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +            plan.setUpdateTime(new Date());
 | 
	
		
			
				|  |  | +            plan.setModifiedBy(SecurityUtils.getUserId());
 | 
	
		
			
				|  |  |              baseMapper.updateById(plan);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -319,6 +322,7 @@ public class AppPlanServiceImpl extends ServiceImpl<AppPlanMapper, AppPlan> impl
 | 
	
		
			
				|  |  |                  ap.setPlanStatus(plan.getPlanStatus());
 | 
	
		
			
				|  |  |                  ap.setExecOrgType(plan.getExecOrgType());
 | 
	
		
			
				|  |  |                  ap.setPlanExec(plan.getPlanExec());
 | 
	
		
			
				|  |  | +                ap.setModifiedBy(SecurityUtils.getUserId());
 | 
	
		
			
				|  |  |                  baseMapper.updateById(ap);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                  if (app.getRoleList().size() > 0) {
 |