Selaa lähdekoodia

续建项目资金库

tags/24080901
PoffyZhang 1 vuosi sitten
vanhempi
commit
f2efbc92d1
7 muutettua tiedostoa jossa 16 lisäystä ja 5 poistoa
  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 Näytä tiedosto

@@ -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;
}



+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/mapper/ProjectRenewalFundDeclarationMapper.java Näytä tiedosto

@@ -17,5 +17,5 @@ import org.apache.ibatis.annotations.Param;
*/
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 Näytä tiedosto

@@ -10,7 +10,7 @@
prfd.project_year,prfd.annual_payment_amount,prfd.have_amount,
prfd.gov_own_finance_amount,prfd.gov_superior_finance_amount,
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
left join nd_project p on prfd.project_id = p.id
where prfd.deleted = false


+ 6
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/po/ProjectRenewalFundDeclarationPO.java Näytä tiedosto

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

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

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

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

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

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



+ 3
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/vo/ProjectRenewalFundDeclarationVO.java Näytä tiedosto

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

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

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

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/service/IProjectRenewalFundDeclarationService.java Näytä tiedosto

@@ -16,5 +16,5 @@ import com.ningdatech.pmapi.projectlib.model.req.ProjectRenewalListReq;
*/
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 Näytä tiedosto

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

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

Loading…
Peruuta
Tallenna