Browse Source

续建项目资金库

tags/24080901
PoffyZhang 1 year ago
parent
commit
f2efbc92d1
7 changed files with 16 additions and 5 deletions
  1. +3
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectRenewalFundManage.java
  2. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/mapper/ProjectRenewalFundDeclarationMapper.java
  3. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/mapper/ProjectRenewalFundDeclarationMapper.xml
  4. +6
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/po/ProjectRenewalFundDeclarationPO.java
  5. +3
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/vo/ProjectRenewalFundDeclarationVO.java
  6. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/service/IProjectRenewalFundDeclarationService.java
  7. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/service/impl/ProjectRenewalFundDeclarationServiceImpl.java

+ 3
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectRenewalFundManage.java View File

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




+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/mapper/ProjectRenewalFundDeclarationMapper.java View File

@@ -17,5 +17,5 @@ import org.apache.ibatis.annotations.Param;
*/ */
public interface ProjectRenewalFundDeclarationMapper extends BaseMapper<ProjectRenewalFundDeclaration> { public interface ProjectRenewalFundDeclarationMapper extends BaseMapper<ProjectRenewalFundDeclaration> {


Page<ProjectRenewalFundDeclarationPO> pageSql(Page<ProjectRenewalFundDeclaration> page,@Param("param") ProjectRenewalListReq req);
Page<ProjectRenewalFundDeclarationPO> pageSql(Page<ProjectRenewalFundDeclarationPO> page,@Param("param") ProjectRenewalListReq req);
} }

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/mapper/ProjectRenewalFundDeclarationMapper.xml View File

@@ -10,7 +10,7 @@
prfd.project_year,prfd.annual_payment_amount,prfd.have_amount, prfd.project_year,prfd.annual_payment_amount,prfd.have_amount,
prfd.gov_own_finance_amount,prfd.gov_superior_finance_amount, prfd.gov_own_finance_amount,prfd.gov_superior_finance_amount,
prfd.bank_lending_amount,prfd.other_amount,prfd.approval_status,prfd.deleted, prfd.bank_lending_amount,prfd.other_amount,prfd.approval_status,prfd.deleted,
p.project_type
p.project_type,p.project_name,p.build_org_name
from nd_project_renewal_fund_declaration prfd from nd_project_renewal_fund_declaration prfd
left join nd_project p on prfd.project_id = p.id left join nd_project p on prfd.project_id = p.id
where prfd.deleted = false where prfd.deleted = false


+ 6
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/po/ProjectRenewalFundDeclarationPO.java View File

@@ -40,6 +40,9 @@ public class ProjectRenewalFundDeclarationPO implements Serializable {
@ApiModelProperty("项目年份") @ApiModelProperty("项目年份")
private Integer projectYear; private Integer projectYear;


@ApiModelProperty("项目名称")
private String projectName;

@ApiModelProperty("年度支付金额") @ApiModelProperty("年度支付金额")
private BigDecimal annualPaymentAmount; private BigDecimal annualPaymentAmount;


@@ -70,6 +73,9 @@ public class ProjectRenewalFundDeclarationPO implements Serializable {
@ApiModelProperty("项目类型") @ApiModelProperty("项目类型")
private Integer projectType; private Integer projectType;


@ApiModelProperty("建设单位名称")
private String buildOrgName;

@ApiModelProperty("是否删除 false未删 true已删") @ApiModelProperty("是否删除 false未删 true已删")
private Boolean deleted; private Boolean deleted;




+ 3
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/vo/ProjectRenewalFundDeclarationVO.java View File

@@ -79,6 +79,9 @@ public class ProjectRenewalFundDeclarationVO implements Serializable {
@ApiModelProperty("关联项目名字") @ApiModelProperty("关联项目名字")
private String projectName; private String projectName;


@ApiModelProperty("建设单位名称")
private String buildOrgName;

@ApiModelProperty("项目类型 1建设 2运维") @ApiModelProperty("项目类型 1建设 2运维")
private Integer projectType; private Integer projectType;
} }

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/service/IProjectRenewalFundDeclarationService.java View File

@@ -16,5 +16,5 @@ import com.ningdatech.pmapi.projectlib.model.req.ProjectRenewalListReq;
*/ */
public interface IProjectRenewalFundDeclarationService extends IService<ProjectRenewalFundDeclaration> { public interface IProjectRenewalFundDeclarationService extends IService<ProjectRenewalFundDeclaration> {


Page<ProjectRenewalFundDeclarationPO> pageSql(Page<ProjectRenewalFundDeclaration> page, ProjectRenewalListReq req);
Page<ProjectRenewalFundDeclarationPO> pageSql(Page<ProjectRenewalFundDeclarationPO> page, ProjectRenewalListReq req);
} }

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/service/impl/ProjectRenewalFundDeclarationServiceImpl.java View File

@@ -25,7 +25,7 @@ public class ProjectRenewalFundDeclarationServiceImpl extends


private final ProjectRenewalFundDeclarationMapper mapper; private final ProjectRenewalFundDeclarationMapper mapper;
@Override @Override
public Page<ProjectRenewalFundDeclarationPO> pageSql(Page<ProjectRenewalFundDeclaration> page, ProjectRenewalListReq req) {
public Page<ProjectRenewalFundDeclarationPO> pageSql(Page<ProjectRenewalFundDeclarationPO> page, ProjectRenewalListReq req) {
return mapper.pageSql(page,req); return mapper.pageSql(page,req);
} }
} }

Loading…
Cancel
Save