fix:十二分接口逻辑完善
This commit is contained in:
@@ -33,10 +33,7 @@ public class TpApplyQueryRequest extends PageBasicInfo {
|
||||
@ApiModelProperty("规则id")
|
||||
private String ruleId;
|
||||
|
||||
@ApiModelProperty("状态,可多选逗号隔开")
|
||||
private String status;
|
||||
|
||||
@ApiModelProperty(value = "状态列表", hidden = true)
|
||||
@ApiModelProperty(value = "状态列表")
|
||||
private List<String> statusList;
|
||||
|
||||
@ApiModelProperty(value = "单据类型,0加分单 1警告书 2处罚书")
|
||||
@@ -51,18 +48,12 @@ public class TpApplyQueryRequest extends PageBasicInfo {
|
||||
@ApiModelProperty(value = "是惩处单", hidden = true)
|
||||
private Boolean isPenalty;
|
||||
|
||||
@ApiModelProperty("复议理由")
|
||||
@ApiModelProperty("复议理由,字典表")
|
||||
private String appealReason;
|
||||
|
||||
@ApiModelProperty("是否为草稿")
|
||||
private Integer isDraft;
|
||||
|
||||
public List<String> getStatusList() {
|
||||
if (StringUtils.isBlank(this.status)) {
|
||||
return null;
|
||||
}
|
||||
return Arrays.stream(this.status.split(CommonConstants.COMMA))
|
||||
.filter(StringUtils::isNotBlank)
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
@ApiModelProperty(value = "是否已逾期", hidden = true)
|
||||
private Boolean overdue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user