|
@ -737,6 +737,7 @@ public class ProjectServiceImpl extends BaseServiceImpl<ProjectDao, ProjectEntit |
|
|
newRelation.setProjectStaffId(projectStaff.getId()); |
|
|
newRelation.setProjectStaffId(projectStaff.getId()); |
|
|
newRelation.setSourceOperation(ProjectConstant.OPERATION_RETURN); |
|
|
newRelation.setSourceOperation(ProjectConstant.OPERATION_RETURN); |
|
|
newRelation.setInformedDate(current); |
|
|
newRelation.setInformedDate(current); |
|
|
|
|
|
newRelation.setCustomerId(sourceProjectStaff.getCustomerId()); |
|
|
relationDao.insert(newRelation); |
|
|
relationDao.insert(newRelation); |
|
|
|
|
|
|
|
|
//通知
|
|
|
//通知
|
|
@ -982,6 +983,7 @@ public class ProjectServiceImpl extends BaseServiceImpl<ProjectDao, ProjectEntit |
|
|
ProjectOrgRelationEntity period = new ProjectOrgRelationEntity(); |
|
|
ProjectOrgRelationEntity period = new ProjectOrgRelationEntity(); |
|
|
period.setProjectStaffId(o); |
|
|
period.setProjectStaffId(o); |
|
|
period.setInformedDate(current); |
|
|
period.setInformedDate(current); |
|
|
|
|
|
period.setCustomerId(issueDTO.getCustomerId()); |
|
|
//created
|
|
|
//created
|
|
|
period.setSourceOperation(ProjectConstant.OPERATION_CREATED); |
|
|
period.setSourceOperation(ProjectConstant.OPERATION_CREATED); |
|
|
period.setCreatedBy(formDTO.getStaffId()); |
|
|
period.setCreatedBy(formDTO.getStaffId()); |
|
@ -993,6 +995,7 @@ public class ProjectServiceImpl extends BaseServiceImpl<ProjectDao, ProjectEntit |
|
|
//5:项目相关人员表初始数据
|
|
|
//5:项目相关人员表初始数据
|
|
|
List<ProjectRelatedPersonnelEntity> list = new ArrayList<>(); |
|
|
List<ProjectRelatedPersonnelEntity> list = new ArrayList<>(); |
|
|
ProjectRelatedPersonnelEntity entity1 = new ProjectRelatedPersonnelEntity(); |
|
|
ProjectRelatedPersonnelEntity entity1 = new ProjectRelatedPersonnelEntity(); |
|
|
|
|
|
entity1.setCustomerId(issueDTO.getCustomerId()); |
|
|
entity1.setProjectId(projectEntity.getId()); |
|
|
entity1.setProjectId(projectEntity.getId()); |
|
|
entity1.setApp(AppClientConstant.APP_RESI); |
|
|
entity1.setApp(AppClientConstant.APP_RESI); |
|
|
entity1.setGridId(issueDTO.getGridId()); |
|
|
entity1.setGridId(issueDTO.getGridId()); |
|
@ -1765,6 +1768,7 @@ public class ProjectServiceImpl extends BaseServiceImpl<ProjectDao, ProjectEntit |
|
|
throw new RenException("找不到发起退回的项目相关人员的节点耗时记录"); |
|
|
throw new RenException("找不到发起退回的项目相关人员的节点耗时记录"); |
|
|
} |
|
|
} |
|
|
ProjectOrgRelationEntity relationDto = new ProjectOrgRelationEntity(); |
|
|
ProjectOrgRelationEntity relationDto = new ProjectOrgRelationEntity(); |
|
|
|
|
|
relationDto.setCustomerId(sourceProjectStaff.getCustomerId()); |
|
|
relationDto.setProjectStaffId(orientRelation.getProjectStaffId()); |
|
|
relationDto.setProjectStaffId(orientRelation.getProjectStaffId()); |
|
|
relationDto.setHandledDate(current); |
|
|
relationDto.setHandledDate(current); |
|
|
Integer costTime = calculateDelta_T(ProjectConstant.IMPRECISE_CALCULATION, |
|
|
Integer costTime = calculateDelta_T(ProjectConstant.IMPRECISE_CALCULATION, |
|
|