|
@@ -130,6 +130,10 @@ public class DeclaredProjectManage { |
|
|
//判断申报金额 是否等于总的 判断年度支付金额 是否等于总金额 |
|
|
//判断申报金额 是否等于总的 判断年度支付金额 是否等于总金额 |
|
|
defaultDeclaredProjectManage.checkAmount(projectInfo); |
|
|
defaultDeclaredProjectManage.checkAmount(projectInfo); |
|
|
|
|
|
|
|
|
|
|
|
//写死 是否有主管单位 |
|
|
|
|
|
projectInfo.setIsHigherSuperOrg(CommonEnum.YES.getCode()); |
|
|
|
|
|
projectInfo.setIsSuperOrg(CommonEnum.YES.getCode()); |
|
|
|
|
|
|
|
|
//如果主管单位没有 那么主管单位就是自己 |
|
|
//如果主管单位没有 那么主管单位就是自己 |
|
|
if(CommonEnum.NO.getCode().equals(projectInfo.getIsSuperOrg())){ |
|
|
if(CommonEnum.NO.getCode().equals(projectInfo.getIsSuperOrg())){ |
|
|
projectInfo.setSuperOrgCode(user.getEmpPosUnitCode()); |
|
|
projectInfo.setSuperOrgCode(user.getEmpPosUnitCode()); |
|
@@ -218,6 +222,10 @@ public class DeclaredProjectManage { |
|
|
defaultDeclaredProjectManage.checkDuplication(projectDto); |
|
|
defaultDeclaredProjectManage.checkDuplication(projectDto); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//写死 是否有主管单位 |
|
|
|
|
|
projectInfo.setIsHigherSuperOrg(CommonEnum.YES.getCode()); |
|
|
|
|
|
projectInfo.setIsSuperOrg(CommonEnum.YES.getCode()); |
|
|
|
|
|
|
|
|
//如果主管单位没有 那么主管单位就是自己 |
|
|
//如果主管单位没有 那么主管单位就是自己 |
|
|
if(CommonEnum.NO.getCode().equals(projectDto.getIsSuperOrg())){ |
|
|
if(CommonEnum.NO.getCode().equals(projectDto.getIsSuperOrg())){ |
|
|
projectInfo.setSuperOrgCode(user.getEmpPosUnitCode()); |
|
|
projectInfo.setSuperOrgCode(user.getEmpPosUnitCode()); |
|
@@ -322,6 +330,9 @@ public class DeclaredProjectManage { |
|
|
ProjectDTO projectInfo = dto.getProjectInfo(); |
|
|
ProjectDTO projectInfo = dto.getProjectInfo(); |
|
|
ProjectDraft draft = new ProjectDraft(); |
|
|
ProjectDraft draft = new ProjectDraft(); |
|
|
BeanUtils.copyProperties(projectInfo, draft); |
|
|
BeanUtils.copyProperties(projectInfo, draft); |
|
|
|
|
|
//写死 是否有主管单位 |
|
|
|
|
|
draft.setIsHigherSuperOrg(CommonEnum.YES.getCode()); |
|
|
|
|
|
draft.setIsSuperOrg(CommonEnum.YES.getCode()); |
|
|
draft.setUserId(String.valueOf(userId)); |
|
|
draft.setUserId(String.valueOf(userId)); |
|
|
draft.setBuildOrgCode(user.getEmpPosUnitCode()); |
|
|
draft.setBuildOrgCode(user.getEmpPosUnitCode()); |
|
|
draft.setBuildOrgName(user.getEmpPosUnitName()); |
|
|
draft.setBuildOrgName(user.getEmpPosUnitName()); |
|
|