模糊查询优化
parent
2445cb2513
commit
48bdbfd220
@ -0,0 +1,27 @@
|
||||
package com.shxy.xymanager_common.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
@Data
|
||||
public class DyLineAndTowertDto {
|
||||
|
||||
private Integer dyId;
|
||||
|
||||
private String dyName;
|
||||
|
||||
private Integer dyValue;
|
||||
|
||||
private Integer lineId;
|
||||
|
||||
private String lineName;
|
||||
|
||||
private String bsManufacturer;
|
||||
|
||||
private Integer dyLevelId;
|
||||
|
||||
private Integer towerId;
|
||||
|
||||
private String towerName;
|
||||
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package com.shxy.xymanager_common.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
|
||||
import javax.validation.constraints.Min;
|
||||
|
||||
@Data
|
||||
@Validated
|
||||
@ApiModel(value = "装置查询对象", description = "装置查询对象描述")
|
||||
public class TerminalSelectVo {
|
||||
|
||||
@ApiModelProperty(value = "电压编号", example = "123455")
|
||||
private Integer dyid;
|
||||
|
||||
@ApiModelProperty(value = "装置编号", example = "123455")
|
||||
private Integer lineid;
|
||||
|
||||
@ApiModelProperty(value = "杆塔编号", example = "123455")
|
||||
private Integer towerid;
|
||||
|
||||
@ApiModelProperty(value = "搜索内容", example = "搜索内容")
|
||||
private String search;
|
||||
|
||||
@Min(value = 1, message = "分页位置最小从1开始")
|
||||
@ApiModelProperty(value = "分页位置从1开始", required = true, example = "1")
|
||||
private int pageindex;
|
||||
|
||||
@Min(value = 1, message = "分页大小最小为1")
|
||||
@ApiModelProperty(value = "分页大小", required = true, example = "1")
|
||||
private int pagesize;
|
||||
}
|
Loading…
Reference in New Issue