基础系数配置数据结构修改
This commit is contained in:
@@ -11,9 +11,6 @@ public class CoefficientRespVO {
|
|||||||
@Schema(description = "主键")
|
@Schema(description = "主键")
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
@Schema(description = "配置主键")
|
|
||||||
private Long parameterId;
|
|
||||||
|
|
||||||
@Schema(description = "条款主键")
|
@Schema(description = "条款主键")
|
||||||
private Long formulaId;
|
private Long formulaId;
|
||||||
|
|
||||||
@@ -26,24 +23,21 @@ public class CoefficientRespVO {
|
|||||||
@Schema(description = "金属元素名称")
|
@Schema(description = "金属元素名称")
|
||||||
private String elementName;
|
private String elementName;
|
||||||
|
|
||||||
@Schema(description = "系数值")
|
|
||||||
private String settlementCoefficient;
|
|
||||||
|
|
||||||
@Schema(description = "系数上限")
|
@Schema(description = "系数上限")
|
||||||
private BigDecimal coefficientUp;
|
private BigDecimal coefficientUp;
|
||||||
|
|
||||||
@Schema(description = "系数下限")
|
@Schema(description = "系数下限")
|
||||||
private BigDecimal coefficientDown;
|
private BigDecimal coefficientDown;
|
||||||
|
|
||||||
@Schema(description = "是否包含上限")
|
@Schema(description = "区间方式(字典:STLM_RNG_WY)")
|
||||||
private String isInUp;
|
private String rangeWay;
|
||||||
|
|
||||||
@Schema(description = "是否包含下限")
|
|
||||||
private String isInDown;
|
|
||||||
|
|
||||||
@Schema(description = "是否省内")
|
@Schema(description = "是否省内")
|
||||||
private String inState;
|
private String inState;
|
||||||
|
|
||||||
@Schema(description = "类型", example = "1")
|
@Schema(description = "类型")
|
||||||
private String type;
|
private String type;
|
||||||
|
|
||||||
|
@Schema(description = "系数值")
|
||||||
|
private BigDecimal settlementCoefficient;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,23 +1,18 @@
|
|||||||
package com.zt.plat.module.contractorder.controller.admin.contract.vo.contract;
|
package com.zt.plat.module.contractorder.controller.admin.contract.vo.contract;
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
import jakarta.validation.constraints.NotEmpty;
|
|
||||||
import jakarta.validation.constraints.NotNull;
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
@Schema(description = "管理后台 - 基础系数配置新增/修改 Request VO")
|
@Schema(description = "管理后台 - 基础系数配置新增/修改 Request VO")
|
||||||
@Data
|
@Data
|
||||||
public class CoefficientSaveReqVO {
|
public class CoefficientSaveReqVO {
|
||||||
|
|
||||||
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "31657")
|
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "27478")
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
@Schema(description = "配置主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "6534")
|
@Schema(description = "条款主键", example = "13898")
|
||||||
@NotNull(message = "配置主键不能为空")
|
|
||||||
private Long parameterId;
|
|
||||||
|
|
||||||
@Schema(description = "条款主键", example = "29652")
|
|
||||||
private Long formulaId;
|
private Long formulaId;
|
||||||
|
|
||||||
@Schema(description = "金属元素编码")
|
@Schema(description = "金属元素编码")
|
||||||
@@ -29,25 +24,21 @@ public class CoefficientSaveReqVO {
|
|||||||
@Schema(description = "金属元素名称", example = "芋艿")
|
@Schema(description = "金属元素名称", example = "芋艿")
|
||||||
private String elementName;
|
private String elementName;
|
||||||
|
|
||||||
@Schema(description = "系数值")
|
|
||||||
private String settlementCoefficient;
|
|
||||||
|
|
||||||
@Schema(description = "系数上限")
|
@Schema(description = "系数上限")
|
||||||
private BigDecimal coefficientUp;
|
private BigDecimal coefficientUp;
|
||||||
|
|
||||||
@Schema(description = "系数下限")
|
@Schema(description = "系数下限")
|
||||||
private BigDecimal coefficientDown;
|
private BigDecimal coefficientDown;
|
||||||
|
|
||||||
@Schema(description = "是否包含上限")
|
@Schema(description = "区间方式(字典:STLM_RNG_WY)")
|
||||||
private String isInUp;
|
private String rangeWay;
|
||||||
|
|
||||||
@Schema(description = "是否包含下限")
|
@Schema(description = "是否省内(字典:ERP_CTRT_YN)")
|
||||||
private String isInDown;
|
|
||||||
|
|
||||||
@Schema(description = "是否省内", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
||||||
@NotEmpty(message = "是否省内不能为空")
|
|
||||||
private String inState;
|
private String inState;
|
||||||
|
|
||||||
@Schema(description = "类型", example = "1")
|
@Schema(description = "类型(字典:STLM_COEF)", example = "1")
|
||||||
private String type;
|
private String type;
|
||||||
|
|
||||||
|
@Schema(description = "系数值")
|
||||||
|
private BigDecimal settlementCoefficient;
|
||||||
}
|
}
|
||||||
@@ -29,11 +29,6 @@ public class ContractCoefficientDO extends BusinessBaseDO {
|
|||||||
*/
|
*/
|
||||||
@TableId(type = IdType.ASSIGN_ID)
|
@TableId(type = IdType.ASSIGN_ID)
|
||||||
private Long id;
|
private Long id;
|
||||||
/**
|
|
||||||
* 配置主键
|
|
||||||
*/
|
|
||||||
@TableField("PRM_ID")
|
|
||||||
private Long parameterId;
|
|
||||||
/**
|
/**
|
||||||
* 条款主键
|
* 条款主键
|
||||||
*/
|
*/
|
||||||
@@ -54,11 +49,6 @@ public class ContractCoefficientDO extends BusinessBaseDO {
|
|||||||
*/
|
*/
|
||||||
@TableField("ELEM_NAME")
|
@TableField("ELEM_NAME")
|
||||||
private String elementName;
|
private String elementName;
|
||||||
/**
|
|
||||||
* 系数值
|
|
||||||
*/
|
|
||||||
@TableField("STLM_COEF")
|
|
||||||
private String settlementCoefficient;
|
|
||||||
/**
|
/**
|
||||||
* 系数上限
|
* 系数上限
|
||||||
*/
|
*/
|
||||||
@@ -70,23 +60,23 @@ public class ContractCoefficientDO extends BusinessBaseDO {
|
|||||||
@TableField("COEF_DOWN")
|
@TableField("COEF_DOWN")
|
||||||
private BigDecimal coefficientDown;
|
private BigDecimal coefficientDown;
|
||||||
/**
|
/**
|
||||||
* 是否包含上限
|
* 区间方式(字典:STLM_RNG_WY)
|
||||||
*/
|
*/
|
||||||
@TableField("IS_IN_UP")
|
@TableField("RNG_WY")
|
||||||
private String isInUp;
|
private String rangeWay;
|
||||||
/**
|
/**
|
||||||
* 是否包含下限
|
* 是否省内(字典:ERP_CTRT_YN)
|
||||||
*/
|
|
||||||
@TableField("IS_IN_DOWN")
|
|
||||||
private String isInDown;
|
|
||||||
/**
|
|
||||||
* 是否省内
|
|
||||||
*/
|
*/
|
||||||
@TableField("IN_STA")
|
@TableField("IN_STA")
|
||||||
private String inState;
|
private String inState;
|
||||||
/**
|
/**
|
||||||
* 类型
|
* 类型(字典:STLM_COEF)
|
||||||
*/
|
*/
|
||||||
@TableField("TP")
|
@TableField("TP")
|
||||||
private String type;
|
private String type;
|
||||||
|
/**
|
||||||
|
* 系数值
|
||||||
|
*/
|
||||||
|
@TableField("STLM_COEF")
|
||||||
|
private BigDecimal settlementCoefficient;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user