
22 changed files with 387 additions and 20 deletions
@ -0,0 +1,84 @@ |
|||||
|
package com.yxt.demo.common.core.query; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @author dimengzhe |
||||
|
* @date 2021/9/3 16:41 |
||||
|
* @description |
||||
|
*/ |
||||
|
|
||||
|
public class PagerQuery01<T> implements Serializable { |
||||
|
|
||||
|
@ApiModelProperty(value = "当前页号", example = "1") |
||||
|
private long current = 1L; |
||||
|
|
||||
|
@ApiModelProperty(value = "每页记录数", example = "10") |
||||
|
private long size = 10L; |
||||
|
|
||||
|
@ApiModelProperty(value = "标识符") |
||||
|
private Integer identifier; |
||||
|
|
||||
|
@ApiModelProperty("查询条件的项") |
||||
|
private T params; |
||||
|
|
||||
|
@ApiModelProperty("临时值") |
||||
|
private String type; |
||||
|
|
||||
|
public PagerQuery01() { |
||||
|
} |
||||
|
|
||||
|
public PagerQuery01(long current) { |
||||
|
this.current = current; |
||||
|
} |
||||
|
|
||||
|
public PagerQuery01(long current, long size) { |
||||
|
this.size = size; |
||||
|
this.current = current; |
||||
|
} |
||||
|
|
||||
|
public long getSize() { |
||||
|
return size; |
||||
|
} |
||||
|
|
||||
|
public PagerQuery01 setSize(long size) { |
||||
|
this.size = size; |
||||
|
return this; |
||||
|
} |
||||
|
|
||||
|
public long getCurrent() { |
||||
|
return current; |
||||
|
} |
||||
|
|
||||
|
public PagerQuery01 setCurrent(long current) { |
||||
|
this.current = current; |
||||
|
return this; |
||||
|
} |
||||
|
|
||||
|
public T getParams() { |
||||
|
return params; |
||||
|
} |
||||
|
|
||||
|
public PagerQuery01 setParams(T params) { |
||||
|
this.params = params; |
||||
|
return this; |
||||
|
} |
||||
|
|
||||
|
public Integer getIdentifier() { |
||||
|
return identifier; |
||||
|
} |
||||
|
|
||||
|
public void setIdentifier(Integer identifier) { |
||||
|
this.identifier = identifier; |
||||
|
} |
||||
|
|
||||
|
public String getType() { |
||||
|
return type; |
||||
|
} |
||||
|
|
||||
|
public void setType(String type) { |
||||
|
this.type = type; |
||||
|
} |
||||
|
} |
@ -0,0 +1,20 @@ |
|||||
|
package com.yxt.demo.system.api.sys_student_score; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author shkstart |
||||
|
* @create 2023-05-05-15:23 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class SysStudentScoreYIELD { |
||||
|
@ApiModelProperty("班级") |
||||
|
private String calss; |
||||
|
@ApiModelProperty("查询科目名称") |
||||
|
private String name; |
||||
|
@ApiModelProperty("及格率") |
||||
|
private String YIELD; |
||||
|
@ApiModelProperty("通过人数") |
||||
|
private Integer count; |
||||
|
} |
Loading…
Reference in new issue