소스 검색

续建项目金额申请 完成

master
PoffyZhang 1 년 전
부모
커밋
296a698b02
11개의 변경된 파일491개의 추가작업 그리고 116개의 파일을 삭제
  1. +32
    -5
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/controller/ProjectRenewalFundDeclarationController.java
  2. +104
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectRenewalFundManage.java
  3. +5
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/mapper/ProjectRenewalFundDeclarationMapper.java
  4. +40
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/mapper/ProjectRenewalFundDeclarationMapper.xml
  5. +59
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/dto/ProjectRenewalFundDeclarationDTO.java
  6. +12
    -110
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/entity/ProjectRenewalFundDeclaration.java
  7. +77
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/po/ProjectRenewalFundDeclarationPO.java
  8. +62
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/req/ProjectRenewalListReq.java
  9. +84
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/vo/ProjectRenewalFundDeclarationVO.java
  10. +4
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/service/IProjectRenewalFundDeclarationService.java
  11. +12
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/service/impl/ProjectRenewalFundDeclarationServiceImpl.java

+ 32
- 5
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/controller/ProjectRenewalFundDeclarationController.java 파일 보기

@@ -1,9 +1,16 @@
package com.ningdatech.pmapi.projectlib.controller;


import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import com.ningdatech.basic.model.PageVo;
import com.ningdatech.pmapi.projectlib.manage.ProjectRenewalFundManage;
import com.ningdatech.pmapi.projectlib.model.dto.ProjectRenewalFundDeclarationDTO;
import com.ningdatech.pmapi.projectlib.model.req.ProjectRenewalListReq;
import com.ningdatech.pmapi.projectlib.model.vo.ProjectRenewalFundDeclarationVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

/**
* <p>
@@ -13,8 +20,28 @@ import org.springframework.stereotype.Controller;
* @author WendyYang
* @since 2023-02-15
*/
@Controller
@RequestMapping("/pmapi.projectlib/nd-project-renewal-fund-declaration")
@RestController
@RequestMapping("/api/v1/project/renewal")
@AllArgsConstructor
@Api(tags = "续建项目资金库")
public class ProjectRenewalFundDeclarationController {
private final ProjectRenewalFundManage projectRenewalFundManage;

@GetMapping("/list")
@ApiOperation("项目续建资金库")
public PageVo<ProjectRenewalFundDeclarationVO> list(ProjectRenewalListReq req) {
return projectRenewalFundManage.list(req);
}

@GetMapping("/{id}")
@ApiOperation("项目续建资金详情")
private ProjectRenewalFundDeclarationVO detail (@PathVariable Long id){
return projectRenewalFundManage.detail(id);
}

@PostMapping("/declared")
@ApiOperation("项目续建资金申请")
private Long declared (@Validated @RequestBody ProjectRenewalFundDeclarationDTO dto){
return projectRenewalFundManage.declared(dto);
}
}

+ 104
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectRenewalFundManage.java 파일 보기

@@ -0,0 +1,104 @@
package com.ningdatech.pmapi.projectlib.manage;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ningdatech.basic.model.PageVo;
import com.ningdatech.basic.util.CollUtils;
import com.ningdatech.pmapi.projectlib.enumeration.ProjectRenewalApprovalStatusEnum;
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.req.ProjectRenewalListReq;
import com.ningdatech.pmapi.projectlib.model.vo.ProjectRenewalFundDeclarationVO;
import com.ningdatech.pmapi.projectlib.service.IProjectRenewalFundDeclarationService;
import com.ningdatech.pmapi.projectlib.service.IProjectService;
import com.wflow.exception.BusinessException;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Objects;

/**
* <p>
* ProjectRenewalFundManage
* </p>
*
* @author ZPF
* @since 14:19 2023/2/15
*/
@Component
@RequiredArgsConstructor
public class ProjectRenewalFundManage {

private final IProjectRenewalFundDeclarationService projectRenewalFundDeclarationService;

private final IProjectService projectService;

/**
* 项目续建资金库列表 分页
* @param req
* @return
*/
public PageVo<ProjectRenewalFundDeclarationVO> list(ProjectRenewalListReq req) {
Page<ProjectRenewalFundDeclaration> page = req.page();
projectRenewalFundDeclarationService.pageSql(page, req);
long total;
if ((total = page.getTotal()) == 0) {
return PageVo.empty();
}
List<ProjectRenewalFundDeclarationVO> records = CollUtils.convert(page.getRecords(), w -> {
ProjectRenewalFundDeclarationVO item = new ProjectRenewalFundDeclarationVO();
BeanUtils.copyProperties(w,item);
return item;
});
return PageVo.of(records, total);
}

/**
* @param id
* @author ZPF
* @since 2023/02/15 11:15
*/
public ProjectRenewalFundDeclarationVO detail(Long id) {
// 查询项目申报信息
ProjectRenewalFundDeclaration renewal = projectRenewalFundDeclarationService.getById(id);
if(Objects.isNull(renewal)){
return null;
}
ProjectRenewalFundDeclarationVO vo = new ProjectRenewalFundDeclarationVO();
BeanUtils.copyProperties(renewal, vo);
// 查询项目信息
if(Objects.nonNull(vo)){
Project project = projectService.getById(renewal.getProjectId());
if(Objects.isNull(project)){
return vo;
}
vo.setApprovalAmount(project.getApprovalAmount());
vo.setProjectName(project.getProjectName());
vo.setProjectType(project.getProjectType());
vo.setStage(project.getStage());
vo.setStatus(project.getStatus());
}
return vo;
}

/**
* 申报
* @param dto
* @return
*/
public Long declared(ProjectRenewalFundDeclarationDTO dto) {
ProjectRenewalFundDeclaration declaration = new ProjectRenewalFundDeclaration();
BeanUtils.copyProperties(dto,declaration);
declaration.setId(null);
declaration.setCreateOn(LocalDateTime.now());
declaration.setUpdateOn(LocalDateTime.now());
declaration.setApprovalStatus(ProjectRenewalApprovalStatusEnum.PENDING.name());
if(!projectRenewalFundDeclarationService.save(declaration)){
throw new BusinessException("申报失败");
}
return declaration.getId();
}
}

+ 5
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/mapper/ProjectRenewalFundDeclarationMapper.java 파일 보기

@@ -1,7 +1,11 @@
package com.ningdatech.pmapi.projectlib.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ningdatech.pmapi.projectlib.model.entity.ProjectRenewalFundDeclaration;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ningdatech.pmapi.projectlib.model.po.ProjectRenewalFundDeclarationPO;
import com.ningdatech.pmapi.projectlib.model.req.ProjectRenewalListReq;
import org.apache.ibatis.annotations.Param;

/**
* <p>
@@ -13,4 +17,5 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
*/
public interface ProjectRenewalFundDeclarationMapper extends BaseMapper<ProjectRenewalFundDeclaration> {

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

+ 40
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/mapper/ProjectRenewalFundDeclarationMapper.xml 파일 보기

@@ -2,4 +2,44 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ningdatech.pmapi.projectlib.mapper.ProjectRenewalFundDeclarationMapper">

<select id="pageSql"
parameterType="com.ningdatech.pmapi.projectlib.model.req.ProjectRenewalListReq"
resultType="com.ningdatech.pmapi.projectlib.model.po.ProjectRenewalFundDeclarationPO">
select
prfd.id,prfd.create_on,prfd.update_on,prfd.project_id,
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
from nd_project_renewal_fund_declaration prfd
left join nd_project p on prfd.project_id = p.id
where prfd.deleted = false
<if test="param.projectName != null and param.projectName != ''">
and p.project_name like concat('%',#{param.projectName},'%')
</if>
<if test="param.orgCode != null and param.orgCode != ''">
and prfd.org_code = #{param.orgCode}
</if>
<if test="param.regionCode != null and param.regionCode != ''">
and prfd.region_code = #{param.regionCode}
</if>
<if test="param.projectType != null">
and p.project_type = #{param.projectType}
</if>
<if test="param.projectYear != null">
and p.project_year = #{param.projectYear}
</if>
<if test="param.stage != null">
and p.stage = #{param.stage}
</if>
<if test="param.status != null">
and p.status = #{param.status}
</if>
<if test="param.createOnMin != null">
and p.create_on &gt;= #{param.createOnMin}
</if>
<if test="param.createOnMax != null">
and p.create_on &lt;= #{param.createOnMax}
</if>
</select>
</mapper>

+ 59
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/dto/ProjectRenewalFundDeclarationDTO.java 파일 보기

@@ -0,0 +1,59 @@
package com.ningdatech.pmapi.projectlib.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;

/**
* <p>
* 续建项目资金申请
* </p>
*
* @author WendyYang
* @since 2023-02-15
*/
@ApiModel(value = "NdProjectRenewalFundDeclarationDTO", description = "续建项目资金申请表")
@Data
public class ProjectRenewalFundDeclarationDTO implements Serializable {

private static final long serialVersionUID = 1L;

@ApiModelProperty("主键")
private Long id;

@ApiModelProperty("关联项目ID")
private Long projectId;

@ApiModelProperty("项目年份")
private Integer projectYear;

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

@ApiModelProperty("自有资金")
private BigDecimal haveAmount;

@ApiModelProperty("政府投资 本级财务金额")
private BigDecimal govOwnFinanceAmount;

@ApiModelProperty("政府投资 上级财务金额")
private BigDecimal govSuperiorFinanceAmount;

@ApiModelProperty("银行贷款金额")
private BigDecimal bankLendingAmount;

@ApiModelProperty("其它金额")
private BigDecimal otherAmount;

@ApiModelProperty("单位code")
private String orgCode;

@ApiModelProperty("区域code")
private String regionCode;

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

}

+ 12
- 110
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/entity/ProjectRenewalFundDeclaration.java 파일 보기

@@ -1,11 +1,14 @@
package com.ningdatech.pmapi.projectlib.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
* <p>
@@ -17,11 +20,13 @@ import io.swagger.annotations.ApiModelProperty;
*/
@TableName("nd_project_renewal_fund_declaration")
@ApiModel(value = "NdProjectRenewalFundDeclaration对象", description = "续建项目资金申请表")
@Data
public class ProjectRenewalFundDeclaration implements Serializable {

private static final long serialVersionUID = 1L;

@ApiModelProperty("主键")
@TableId(type = IdType.AUTO)
private Long id;

@ApiModelProperty("创建时间")
@@ -57,117 +62,14 @@ public class ProjectRenewalFundDeclaration implements Serializable {
@ApiModelProperty("审核状态 待审核PENGING 审核通过PASS 审核不通过NO_PASS")
private String approvalStatus;

@ApiModelProperty("单位code")
private String orgCode;

@ApiModelProperty("区域code")
private String regionCode;

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

public Long getId() {
return id;
}

public void setId(Long id) {
this.id = id;
}
public LocalDateTime getCreateOn() {
return createOn;
}

public void setCreateOn(LocalDateTime createOn) {
this.createOn = createOn;
}
public LocalDateTime getUpdateOn() {
return updateOn;
}

public void setUpdateOn(LocalDateTime updateOn) {
this.updateOn = updateOn;
}
public Long getProjectId() {
return projectId;
}

public void setProjectId(Long projectId) {
this.projectId = projectId;
}
public Integer getProjectYear() {
return projectYear;
}

public void setProjectYear(Integer projectYear) {
this.projectYear = projectYear;
}
public BigDecimal getAnnualPaymentAmount() {
return annualPaymentAmount;
}

public void setAnnualPaymentAmount(BigDecimal annualPaymentAmount) {
this.annualPaymentAmount = annualPaymentAmount;
}
public BigDecimal getHaveAmount() {
return haveAmount;
}

public void setHaveAmount(BigDecimal haveAmount) {
this.haveAmount = haveAmount;
}
public BigDecimal getGovOwnFinanceAmount() {
return govOwnFinanceAmount;
}

public void setGovOwnFinanceAmount(BigDecimal govOwnFinanceAmount) {
this.govOwnFinanceAmount = govOwnFinanceAmount;
}
public BigDecimal getGovSuperiorFinanceAmount() {
return govSuperiorFinanceAmount;
}

public void setGovSuperiorFinanceAmount(BigDecimal govSuperiorFinanceAmount) {
this.govSuperiorFinanceAmount = govSuperiorFinanceAmount;
}
public BigDecimal getBankLendingAmount() {
return bankLendingAmount;
}

public void setBankLendingAmount(BigDecimal bankLendingAmount) {
this.bankLendingAmount = bankLendingAmount;
}
public BigDecimal getOtherAmount() {
return otherAmount;
}

public void setOtherAmount(BigDecimal otherAmount) {
this.otherAmount = otherAmount;
}
public String getApprovalStatus() {
return approvalStatus;
}

public void setApprovalStatus(String approvalStatus) {
this.approvalStatus = approvalStatus;
}
public Boolean getDeleted() {
return deleted;
}

public void setDeleted(Boolean deleted) {
this.deleted = deleted;
}

@Override
public String toString() {
return "NdProjectRenewalFundDeclaration{" +
"id=" + id +
", createOn=" + createOn +
", updateOn=" + updateOn +
", projectId=" + projectId +
", projectYear=" + projectYear +
", annualPaymentAmount=" + annualPaymentAmount +
", haveAmount=" + haveAmount +
", govOwnFinanceAmount=" + govOwnFinanceAmount +
", govSuperiorFinanceAmount=" + govSuperiorFinanceAmount +
", bankLendingAmount=" + bankLendingAmount +
", otherAmount=" + otherAmount +
", approvalStatus=" + approvalStatus +
", deleted=" + deleted +
"}";
}

}

+ 77
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/po/ProjectRenewalFundDeclarationPO.java 파일 보기

@@ -0,0 +1,77 @@
package com.ningdatech.pmapi.projectlib.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
* <p>
* 续建项目资金申请表
* </p>
*
* @author WendyYang
* @since 2023-02-15
*/
@ApiModel(value = "NdProjectRenewalFundDeclarationPO", description = "续建项目资金申请表")
@Data
public class ProjectRenewalFundDeclarationPO implements Serializable {

private static final long serialVersionUID = 1L;

@ApiModelProperty("主键")
private Long id;

@ApiModelProperty("创建时间")
private LocalDateTime createOn;

@ApiModelProperty("修改时间")
private LocalDateTime updateOn;

@ApiModelProperty("关联项目ID")
private Long projectId;

@ApiModelProperty("项目年份")
private Integer projectYear;

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

@ApiModelProperty("自有资金")
private BigDecimal haveAmount;

@ApiModelProperty("政府投资 本级财务金额")
private BigDecimal govOwnFinanceAmount;

@ApiModelProperty("政府投资 上级财务金额")
private BigDecimal govSuperiorFinanceAmount;

@ApiModelProperty("银行贷款金额")
private BigDecimal bankLendingAmount;

@ApiModelProperty("其它金额")
private BigDecimal otherAmount;

@ApiModelProperty("审核状态 待审核PENGING 审核通过PASS 审核不通过NO_PASS")
private String approvalStatus;

@ApiModelProperty("单位code")
private String orgCode;

@ApiModelProperty("区域code")
private String regionCode;

@ApiModelProperty("项目类型")
private Integer projectType;

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


}

+ 62
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/req/ProjectRenewalListReq.java 파일 보기

@@ -0,0 +1,62 @@
package com.ningdatech.pmapi.projectlib.model.req;

import com.ningdatech.basic.model.PagePo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import java.util.List;

/**
* <p>
* ProjectRenewalListReq
* </p>
*
* @author zpf
* @since 14:35 2023/2/15
*/
@Data
@ApiModel("项目续建资金库列表查询")
@EqualsAndHashCode(callSuper = true)
public class ProjectRenewalListReq extends PagePo {

@ApiModelProperty("区域编码")
private String regionCode;

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

@ApiModelProperty("项目类型")
private Integer projectType;

@ApiModelProperty("预算年度")
private Integer projectYear;

@ApiModelProperty("项目阶段")
private Integer stage;

@ApiModelProperty("项目状态")
private Integer status;

@ApiModelProperty("创建时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime createOnMin;

@ApiModelProperty("创建时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime createOnMax;

@ApiModelProperty("用户ID")
private Long userId;

@ApiModelProperty("单位code")
private String orgCode;

@ApiModelProperty("项目阶段 多个")
private List<Integer> stageList;

@ApiModelProperty("项目状态 多个")
private List<Integer> statusList;
}

+ 84
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/model/vo/ProjectRenewalFundDeclarationVO.java 파일 보기

@@ -0,0 +1,84 @@
package com.ningdatech.pmapi.projectlib.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
* <p>
* 续建项目资金申请表
* </p>
*
* @author WendyYang
* @since 2023-02-15
*/
@ApiModel(value = "NdProjectRenewalFundDeclarationVO", description = "续建项目资金申请表")
@Data
public class ProjectRenewalFundDeclarationVO implements Serializable {

private static final long serialVersionUID = 1L;

@ApiModelProperty("主键")
private Long id;

@ApiModelProperty("创建时间")
private LocalDateTime createOn;

@ApiModelProperty("修改时间")
private LocalDateTime updateOn;

@ApiModelProperty("项目年份")
private Integer projectYear;

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

@ApiModelProperty("自有资金")
private BigDecimal haveAmount;

@ApiModelProperty("政府投资 本级财务金额")
private BigDecimal govOwnFinanceAmount;

@ApiModelProperty("政府投资 上级财务金额")
private BigDecimal govSuperiorFinanceAmount;

@ApiModelProperty("银行贷款金额")
private BigDecimal bankLendingAmount;

@ApiModelProperty("其它金额")
private BigDecimal otherAmount;

@ApiModelProperty("审核状态 待审核PENGING 审核通过PASS 审核不通过NO_PASS")
private String approvalStatus;

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

@ApiModelProperty("单位code")
private String orgCode;

@ApiModelProperty("区域code")
private String regionCode;

@ApiModelProperty("项目阶段")
private Integer stage;

@ApiModelProperty("项目状态")
private Integer status;

@ApiModelProperty("立项批复资金")
private BigDecimal approvalAmount;

@ApiModelProperty("关联项目ID")
private Long projectId;

@ApiModelProperty("关联项目名字")
private String projectName;

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

+ 4
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/service/IProjectRenewalFundDeclarationService.java 파일 보기

@@ -1,7 +1,10 @@
package com.ningdatech.pmapi.projectlib.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ningdatech.pmapi.projectlib.model.entity.ProjectRenewalFundDeclaration;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ningdatech.pmapi.projectlib.model.po.ProjectRenewalFundDeclarationPO;
import com.ningdatech.pmapi.projectlib.model.req.ProjectRenewalListReq;

/**
* <p>
@@ -13,4 +16,5 @@ import com.baomidou.mybatisplus.extension.service.IService;
*/
public interface IProjectRenewalFundDeclarationService extends IService<ProjectRenewalFundDeclaration> {

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

+ 12
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/service/impl/ProjectRenewalFundDeclarationServiceImpl.java 파일 보기

@@ -1,9 +1,13 @@
package com.ningdatech.pmapi.projectlib.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ningdatech.pmapi.projectlib.model.entity.ProjectRenewalFundDeclaration;
import com.ningdatech.pmapi.projectlib.mapper.ProjectRenewalFundDeclarationMapper;
import com.ningdatech.pmapi.projectlib.model.po.ProjectRenewalFundDeclarationPO;
import com.ningdatech.pmapi.projectlib.model.req.ProjectRenewalListReq;
import com.ningdatech.pmapi.projectlib.service.IProjectRenewalFundDeclarationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
@@ -15,6 +19,13 @@ import org.springframework.stereotype.Service;
* @since 2023-02-15
*/
@Service
public class ProjectRenewalFundDeclarationServiceImpl extends ServiceImpl<ProjectRenewalFundDeclarationMapper, ProjectRenewalFundDeclaration> implements IProjectRenewalFundDeclarationService {
@RequiredArgsConstructor
public class ProjectRenewalFundDeclarationServiceImpl extends
ServiceImpl<ProjectRenewalFundDeclarationMapper, ProjectRenewalFundDeclaration> implements IProjectRenewalFundDeclarationService {

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

불러오는 중...
취소
저장