Prechádzať zdrojové kódy

(暂不支持)以分页的形式查询 评卷员一览 的功能。

nikang 6 rokov pred
rodič
commit
431ff7e043

+ 6 - 28
examcloud-core-marking-api/src/main/java/cn/com/qmth/examcloud/marking/api/request/GetMarkerReq.java

@@ -1,7 +1,6 @@
 package cn.com.qmth.examcloud.marking.api.request;
 
 import cn.com.qmth.examcloud.commons.web.cloud.api.BaseRequest;
-import cn.com.qmth.examcloud.marking.api.bean.MarkerBean;
 
 /**
  * @ClassName GetMarkerReq
@@ -12,37 +11,16 @@ import cn.com.qmth.examcloud.marking.api.bean.MarkerBean;
  */
 public class GetMarkerReq extends BaseRequest {
     private static final long serialVersionUID = 3317091136678710156L;
+    private long workId;
 
-    private MarkerBean markerBean;
-
-    private Integer curPage;
-
-    private Integer pageSize;
-
-    public GetMarkerReq() {
+    public long getWorkId() {
+        return workId;
     }
 
-    public MarkerBean getMarkerBean() {
-        return markerBean;
+    public void setWorkId(long workId) {
+        this.workId = workId;
     }
 
-    public void setMarkerBean(MarkerBean markerBean) {
-        this.markerBean = markerBean;
-    }
-
-    public Integer getCurPage() {
-        return curPage;
-    }
-
-    public void setCurPage(Integer curPage) {
-        this.curPage = curPage;
-    }
-
-    public Integer getPageSize() {
-        return pageSize;
-    }
-
-    public void setPageSize(Integer pageSize) {
-        this.pageSize = pageSize;
+    public GetMarkerReq() {
     }
 }

+ 0 - 67
examcloud-core-marking-api/src/main/java/cn/com/qmth/examcloud/marking/api/response/GetMarkerResp.java

@@ -14,34 +14,7 @@ import java.util.List;
  */
 public class GetMarkerResp extends BaseResponse {
     private static final long serialVersionUID = 6101833806539265492L;
-    /**
-     * 当前页码
-     */
-    private long index = 1;
 
-    /**
-     * 每页的数量
-     */
-    private long limit = 10;
-
-    /**
-     * 当前页的数量
-     */
-    private long size;
-
-    /**
-     * 总记录数
-     */
-    private long total;
-
-    /**
-     * 总页数
-     */
-    private long pages;
-
-    /**
-     * 结果集
-     */
     private List<MarkerBean> markerList;
 
     public List<MarkerBean> getMarkerList() {
@@ -55,44 +28,4 @@ public class GetMarkerResp extends BaseResponse {
     public GetMarkerResp() {
 
     }
-
-    public long getIndex() {
-        return index;
-    }
-
-    public void setIndex(long index) {
-        this.index = index;
-    }
-
-    public long getLimit() {
-        return limit;
-    }
-
-    public void setLimit(long limit) {
-        this.limit = limit;
-    }
-
-    public long getSize() {
-        return size;
-    }
-
-    public void setSize(long size) {
-        this.size = size;
-    }
-
-    public long getTotal() {
-        return total;
-    }
-
-    public void setTotal(long total) {
-        this.total = total;
-    }
-
-    public long getPages() {
-        return pages;
-    }
-
-    public void setPages(long pages) {
-        this.pages = pages;
-    }
 }