xiatian %!s(int64=6) %!d(string=hai) anos
pai
achega
40399c739a

+ 7 - 0
examcloud-core-reports-api-client/src/main/java/cn/com/qmth/examcloud/core/reports/api/client/ProjectCloudServiceClient.java

@@ -4,8 +4,10 @@ import org.springframework.stereotype.Service;
 
 import cn.com.qmth.examcloud.core.reports.api.ProjectCloudService;
 import cn.com.qmth.examcloud.core.reports.api.request.GetProjectInfoBeanReq;
+import cn.com.qmth.examcloud.core.reports.api.request.UpdateProjectCourseOrgCountReq;
 import cn.com.qmth.examcloud.core.reports.api.request.UpdateProjectStatusReq;
 import cn.com.qmth.examcloud.core.reports.api.response.GetProjectInfoBeanResp;
+import cn.com.qmth.examcloud.core.reports.api.response.UpdateProjectCourseOrgCountResp;
 import cn.com.qmth.examcloud.core.reports.api.response.UpdateProjectStatusResp;
 
 @Service("projectCloudService")
@@ -27,4 +29,9 @@ public class ProjectCloudServiceClient extends AbstractCloudClientSupport implem
 		return post("project/getProjectBean", req, GetProjectInfoBeanResp.class);
 	}
 
+	@Override
+	public UpdateProjectCourseOrgCountResp updateProjectCourseOrgCount(UpdateProjectCourseOrgCountReq req) {
+		return post("project/updateCourseOrgCount", req, UpdateProjectCourseOrgCountResp.class);
+	}
+
 }

+ 4 - 0
examcloud-core-reports-api/src/main/java/cn/com/qmth/examcloud/core/reports/api/ProjectCloudService.java

@@ -2,8 +2,10 @@ package cn.com.qmth.examcloud.core.reports.api;
 
 import cn.com.qmth.examcloud.api.commons.CloudService;
 import cn.com.qmth.examcloud.core.reports.api.request.GetProjectInfoBeanReq;
+import cn.com.qmth.examcloud.core.reports.api.request.UpdateProjectCourseOrgCountReq;
 import cn.com.qmth.examcloud.core.reports.api.request.UpdateProjectStatusReq;
 import cn.com.qmth.examcloud.core.reports.api.response.GetProjectInfoBeanResp;
+import cn.com.qmth.examcloud.core.reports.api.response.UpdateProjectCourseOrgCountResp;
 import cn.com.qmth.examcloud.core.reports.api.response.UpdateProjectStatusResp;
 
 public interface ProjectCloudService extends CloudService {
@@ -11,4 +13,6 @@ public interface ProjectCloudService extends CloudService {
 	UpdateProjectStatusResp updateProjectStatus(UpdateProjectStatusReq req);
 	
 	GetProjectInfoBeanResp getProjectBean(GetProjectInfoBeanReq req);
+	
+	UpdateProjectCourseOrgCountResp updateProjectCourseOrgCount(UpdateProjectCourseOrgCountReq req);
 }

+ 35 - 0
examcloud-core-reports-api/src/main/java/cn/com/qmth/examcloud/core/reports/api/request/UpdateProjectCourseOrgCountReq.java

@@ -0,0 +1,35 @@
+package cn.com.qmth.examcloud.core.reports.api.request;
+
+import cn.com.qmth.examcloud.api.commons.exchange.BaseRequest;
+
+public class UpdateProjectCourseOrgCountReq extends BaseRequest {
+
+	/**
+	 * 
+	 */
+	private static final long serialVersionUID = 5711827947371261683L;
+	private Long projectId;
+	private Integer orgCount;
+	private Integer courseCount;
+
+	public Integer getOrgCount() {
+		return orgCount;
+	}
+	public void setOrgCount(Integer orgCount) {
+		this.orgCount = orgCount;
+	}
+	public Integer getCourseCount() {
+		return courseCount;
+	}
+	public void setCourseCount(Integer courseCount) {
+		this.courseCount = courseCount;
+	}
+	public Long getProjectId() {
+		return projectId;
+	}
+	public void setProjectId(Long projectId) {
+		this.projectId = projectId;
+	}
+	
+	
+}

+ 14 - 0
examcloud-core-reports-api/src/main/java/cn/com/qmth/examcloud/core/reports/api/response/UpdateProjectCourseOrgCountResp.java

@@ -0,0 +1,14 @@
+package cn.com.qmth.examcloud.core.reports.api.response;
+
+import cn.com.qmth.examcloud.api.commons.exchange.BaseResponse;
+
+public class UpdateProjectCourseOrgCountResp extends BaseResponse {
+
+	/**
+	 * 
+	 */
+	private static final long serialVersionUID = 3241552787532493983L;
+
+
+
+}