|
|
@@ -10,6 +10,7 @@ import com.ningdatech.pmapi.projectlib.model.dto.ProjectRenewalFundDeclarationDT |
|
|
|
import com.ningdatech.pmapi.projectlib.model.entity.Project; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.entity.ProjectRenewalFundDeclaration; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.po.ProjectRenewalFundDeclarationPO; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.req.ProjectRenewalAuditReq; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.req.ProjectRenewalListReq; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.vo.ProjectRenewalFundDeclarationVO; |
|
|
|
import com.ningdatech.pmapi.projectlib.service.IProjectRenewalFundDeclarationService; |
|
|
@@ -115,4 +116,16 @@ public class ProjectRenewalFundManage { |
|
|
|
} |
|
|
|
return declaration.getId(); |
|
|
|
} |
|
|
|
|
|
|
|
public Long audit(ProjectRenewalAuditReq param) { |
|
|
|
Long projectRenewalId = param.getProjectRenewalId(); |
|
|
|
ProjectRenewalFundDeclaration projectRenewal = projectRenewalFundDeclarationService.getById(projectRenewalId); |
|
|
|
if (Boolean.TRUE.equals(param.getResult())){ |
|
|
|
projectRenewal.setApprovalStatus(ProjectRenewalApprovalStatusEnum.PASS.name()); |
|
|
|
}else { |
|
|
|
projectRenewal.setApprovalStatus(ProjectRenewalApprovalStatusEnum.NOT_PASS.name()); |
|
|
|
} |
|
|
|
// projectRenewal |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |