fix:十二分制-奖惩规则
This commit is contained in:
@@ -75,8 +75,8 @@ public class TpRuleDO {
|
||||
/**
|
||||
* 复议申请时效
|
||||
*/
|
||||
@Column(name = "review_deadline")
|
||||
private Integer reviewDeadline;
|
||||
@Column(name = "appeal_deadline")
|
||||
private Integer appealDeadline;
|
||||
|
||||
/**
|
||||
* 启用状态,0未启用 1启用
|
||||
|
||||
@@ -50,7 +50,7 @@ public class TpPenaltyRuleUpdateRequest {
|
||||
|
||||
@ApiModelProperty("复议申请时效")
|
||||
@NotNull(message = "复议申请时效不能为空", groups = {InsertGroup.class, UpdateGroup.class})
|
||||
private Integer reviewDeadline;
|
||||
private Integer appealDeadline;
|
||||
|
||||
@ApiModelProperty("启用状态,0未启用 1启用")
|
||||
@NotNull(message = "启用状态不能为空", groups = {InsertGroup.class, UpdateGroup.class})
|
||||
|
||||
@@ -25,4 +25,7 @@ public class TpRuleQueryRequest extends PageBasicInfo {
|
||||
|
||||
@ApiModelProperty("启用状态,0未启用 1启用")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "规则类型,0扣分 1加分", hidden = true)
|
||||
private Integer type;
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ public class TpPenaltyRuleDetailVO {
|
||||
private BigDecimal amount;
|
||||
|
||||
@ApiModelProperty("复议申请时效")
|
||||
private Integer reviewDeadline;
|
||||
private Integer appealDeadline;
|
||||
|
||||
@ApiModelProperty("启用状态,0未启用 1启用")
|
||||
private Integer status;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.cool.store.vo.tp;
|
||||
|
||||
import com.cool.store.annotation.DictField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
@@ -24,9 +25,17 @@ public class TpPenaltyRuleListVO {
|
||||
@ApiModelProperty("问题分类")
|
||||
private String problemClassification;
|
||||
|
||||
@ApiModelProperty("问题分类名称")
|
||||
@DictField
|
||||
private String problemClassificationName;
|
||||
|
||||
@ApiModelProperty("项目大类")
|
||||
private String projectCategory;
|
||||
|
||||
@ApiModelProperty("项目大类名称")
|
||||
@DictField
|
||||
private String projectCategoryName;
|
||||
|
||||
@ApiModelProperty("惩处项目名称")
|
||||
private String projectName;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user