update - 调整入参校验
This commit is contained in:
parent
41083c3fe5
commit
c7dd0da1f4
@ -6,8 +6,6 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
/**
|
||||
* 自定义分类的查询入参模型
|
||||
*/
|
||||
@ -31,6 +29,5 @@ public class CategorySearchDTO extends BpmPageParam {
|
||||
private String workspaceTypeCode;
|
||||
|
||||
@ApiModelProperty(value = "租户 ID", example = "1")
|
||||
@NotBlank(message = "租户不能为空")
|
||||
private String tenantId = "";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user