|
@@ -1,19 +1,13 @@
|
|
|
package cn.com.qmth.print.manage.service.query;
|
|
|
|
|
|
-import javax.validation.constraints.Max;
|
|
|
-import javax.validation.constraints.Min;
|
|
|
-import javax.validation.constraints.NotNull;
|
|
|
-
|
|
|
-import org.apache.poi.ss.formula.functions.T;
|
|
|
-import org.springframework.validation.annotation.Validated;
|
|
|
-
|
|
|
import cn.com.qmth.print.manage.enums.GroupType;
|
|
|
import cn.com.qmth.print.manage.enums.RecordStatus;
|
|
|
+import org.springframework.validation.annotation.Validated;
|
|
|
|
|
|
-import com.qmth.boot.mybatis.query.BaseQuery;
|
|
|
+import javax.validation.constraints.NotNull;
|
|
|
|
|
|
@Validated
|
|
|
-public class RecordQuery extends BaseQuery<T> {
|
|
|
+public class RecordQuery extends BaseQuery {
|
|
|
|
|
|
private static final long serialVersionUID = 7620438258556212381L;
|
|
|
|
|
@@ -47,16 +41,4 @@ public class RecordQuery extends BaseQuery<T> {
|
|
|
public void setStatus(RecordStatus status) {
|
|
|
this.status = status;
|
|
|
}
|
|
|
-
|
|
|
- @Min(1)
|
|
|
- public long getPageNumber() {
|
|
|
- return super.getPageNumber();
|
|
|
- }
|
|
|
-
|
|
|
- @Min(1)
|
|
|
- @Max(100)
|
|
|
- public long getPageSize() {
|
|
|
- return super.getPageSize();
|
|
|
- }
|
|
|
-
|
|
|
}
|