【新增】负责人

【修改】规范命名:期数:indexNo-》period
This commit is contained in:
liuhongfeng
2023-10-30 21:33:28 +08:00
parent fc087fa252
commit 921c2ab757
8 changed files with 20 additions and 27 deletions

View File

@@ -18,7 +18,7 @@ public class ReceivablePlanBaseVO {
// TODO 芋艿:这个字段,在想想命名;
@Schema(description = "期数")
private Long indexNo;
private Integer period;
// TODO @liuhongfeng中英文之间有个空格这样更干净
@Schema(description = "回款ID", example = "19852")

View File

@@ -1,13 +1,9 @@
package cn.iocoder.yudao.module.crm.controller.admin.receivable.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
@@ -26,7 +22,7 @@ public class ReceivablePlanExcelVO {
private Long id;
@ExcelProperty("期数")
private Long indexNo;
private Integer period;
@ExcelProperty("回款ID")
private Long receivableId;

View File

@@ -1,9 +1,8 @@
package cn.iocoder.yudao.module.crm.controller.admin.receivable.vo;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;
@@ -14,7 +13,7 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
public class ReceivablePlanExportReqVO {
@Schema(description = "期数")
private Long indexNo;
private Integer period;
@Schema(description = "完成状态", example = "2")
private Integer status;

View File

@@ -20,7 +20,7 @@ public class ReceivablePlanPageReqVO extends PageParam {
// TODO 芋艿:筛选字段,需要去掉几个,在想想;
@Schema(description = "期数")
private Long indexNo;
private Integer period;
@Schema(description = "完成状态", example = "2")
private Integer status;

View File

@@ -1,12 +1,10 @@
package cn.iocoder.yudao.module.crm.dal.dataobject.receivable;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
@@ -33,7 +31,7 @@ public class ReceivablePlanDO extends BaseDO {
/**
* 期数
*/
private Long indexNo;
private Integer period;
/**
* 回款ID
*/

View File

@@ -19,7 +19,7 @@ public interface ReceivablePlanMapper extends BaseMapperX<ReceivablePlanDO> {
default PageResult<ReceivablePlanDO> selectPage(ReceivablePlanPageReqVO reqVO) {
return selectPage(reqVO, new LambdaQueryWrapperX<ReceivablePlanDO>()
.eqIfPresent(ReceivablePlanDO::getIndexNo, reqVO.getIndexNo())
.eqIfPresent(ReceivablePlanDO::getPeriod, reqVO.getPeriod())
.eqIfPresent(ReceivablePlanDO::getStatus, reqVO.getStatus())
.eqIfPresent(ReceivablePlanDO::getCheckStatus, reqVO.getCheckStatus())
.betweenIfPresent(ReceivablePlanDO::getReturnTime, reqVO.getReturnTime())
@@ -35,7 +35,7 @@ public interface ReceivablePlanMapper extends BaseMapperX<ReceivablePlanDO> {
default List<ReceivablePlanDO> selectList(ReceivablePlanExportReqVO reqVO) {
return selectList(new LambdaQueryWrapperX<ReceivablePlanDO>()
.eqIfPresent(ReceivablePlanDO::getIndexNo, reqVO.getIndexNo())
.eqIfPresent(ReceivablePlanDO::getPeriod, reqVO.getPeriod())
.eqIfPresent(ReceivablePlanDO::getStatus, reqVO.getStatus())
.eqIfPresent(ReceivablePlanDO::getCheckStatus, reqVO.getCheckStatus())
.betweenIfPresent(ReceivablePlanDO::getReturnTime, reqVO.getReturnTime())