物料管理decimal字段关键字冲突,改为decimalValue
This commit is contained in:
@@ -45,7 +45,7 @@ public class MaterialOtherPageReqVO extends PageParam {
|
||||
private LocalDateTime[] createTime;
|
||||
|
||||
@Schema(description = "小数位数")
|
||||
private Long decimal;
|
||||
private Long decimalValue;
|
||||
|
||||
@Schema(description = "是否启用")
|
||||
private String isEnable;
|
||||
|
||||
@@ -58,7 +58,7 @@ public class MaterialOtherRespVO {
|
||||
|
||||
@Schema(description = "小数位数")
|
||||
@ExcelProperty("小数位数")
|
||||
private Long decimal;
|
||||
private Long decimalValue;
|
||||
|
||||
@Schema(description = "是否启用")
|
||||
@ExcelProperty("是否启用")
|
||||
|
||||
@@ -38,7 +38,7 @@ public class MaterialOtherSaveReqVO {
|
||||
private String gradeUnit;
|
||||
|
||||
@Schema(description = "小数位数")
|
||||
private Long decimal;
|
||||
private Long decimalValue;
|
||||
|
||||
@Schema(description = "是否启用")
|
||||
private String isEnable;
|
||||
|
||||
@@ -102,7 +102,7 @@ public class MaterialOtherDO extends BusinessBaseDO {
|
||||
* 小数位数
|
||||
*/
|
||||
@TableField("DEC")
|
||||
private Long decimal;
|
||||
private Long decimalValue;
|
||||
/**
|
||||
* 创建人名称
|
||||
*/
|
||||
|
||||
@@ -27,7 +27,7 @@ public interface MaterialOtherMapper extends BaseMapperX<MaterialOtherDO> {
|
||||
.eqIfPresent(MaterialOtherDO::getCoding, reqVO.getCoding())
|
||||
.eqIfPresent(MaterialOtherDO::getGradeUnit, reqVO.getGradeUnit())
|
||||
.betweenIfPresent(MaterialOtherDO::getCreateTime, reqVO.getCreateTime())
|
||||
.eqIfPresent(MaterialOtherDO::getDecimal, reqVO.getDecimal())
|
||||
.eqIfPresent(MaterialOtherDO::getDecimalValue, reqVO.getDecimalValue())
|
||||
.eqIfPresent(MaterialOtherDO::getIsEnable, reqVO.getIsEnable())
|
||||
.orderByDesc(MaterialOtherDO::getId));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user