|
|
@@ -9,6 +9,7 @@ import com.ningdatech.pmapi.projectlib.enumeration.ProjectStatusEnum; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.dto.ProjectRenewalFundDeclarationDTO; |
|
|
|
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.ProjectRenewalListReq; |
|
|
|
import com.ningdatech.pmapi.projectlib.model.vo.ProjectRenewalFundDeclarationVO; |
|
|
|
import com.ningdatech.pmapi.projectlib.service.IProjectRenewalFundDeclarationService; |
|
|
@@ -44,7 +45,7 @@ public class ProjectRenewalFundManage { |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public PageVo<ProjectRenewalFundDeclarationVO> list(ProjectRenewalListReq req) { |
|
|
|
Page<ProjectRenewalFundDeclaration> page = req.page(); |
|
|
|
Page<ProjectRenewalFundDeclarationPO> page = req.page(); |
|
|
|
projectRenewalFundDeclarationService.pageSql(page, req); |
|
|
|
long total; |
|
|
|
if ((total = page.getTotal()) == 0) { |
|
|
@@ -81,6 +82,7 @@ public class ProjectRenewalFundManage { |
|
|
|
vo.setProjectType(project.getProjectType()); |
|
|
|
vo.setStage(project.getStage()); |
|
|
|
vo.setStatus(project.getStatus()); |
|
|
|
vo.setBuildOrgName(project.getBuildOrgName()); |
|
|
|
return vo; |
|
|
|
} |
|
|
|
|
|
|
|