|
@@ -0,0 +1,84 @@
|
|
|
+package cn.com.qmth.examcloud.core.examwork.api.provider;
|
|
|
+
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import cn.com.qmth.examcloud.commons.api.HandleSyncCloudService;
|
|
|
+import cn.com.qmth.examcloud.commons.api.request.SyncCourseReq;
|
|
|
+import cn.com.qmth.examcloud.commons.api.request.SyncExamReq;
|
|
|
+import cn.com.qmth.examcloud.commons.api.request.SyncExamStudentReq;
|
|
|
+import cn.com.qmth.examcloud.commons.api.request.SyncOrgReq;
|
|
|
+import cn.com.qmth.examcloud.commons.api.request.SyncSpecialtyReq;
|
|
|
+import cn.com.qmth.examcloud.commons.api.request.SyncStudentReq;
|
|
|
+import cn.com.qmth.examcloud.commons.api.response.SyncCourseResp;
|
|
|
+import cn.com.qmth.examcloud.commons.api.response.SyncExamResp;
|
|
|
+import cn.com.qmth.examcloud.commons.api.response.SyncExamStudentResp;
|
|
|
+import cn.com.qmth.examcloud.commons.api.response.SyncOrgResp;
|
|
|
+import cn.com.qmth.examcloud.commons.api.response.SyncSpecialtyResp;
|
|
|
+import cn.com.qmth.examcloud.commons.api.response.SyncStudentResp;
|
|
|
+import cn.com.qmth.examcloud.commons.web.support.ControllerSupport;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 类注释
|
|
|
+ *
|
|
|
+ * @author WANGWEI
|
|
|
+ * @date 2018年9月18日
|
|
|
+ * @Copyright (c) 2018-? http://qmth.com.cn All Rights Reserved.
|
|
|
+ */
|
|
|
+@Transactional
|
|
|
+@RestController
|
|
|
+@RequestMapping("${$rmp.cloud.examwork}" + "sync")
|
|
|
+public class HandleSyncCloudServiceProvider extends ControllerSupport
|
|
|
+ implements
|
|
|
+ HandleSyncCloudService {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 9122543745597481498L;
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public SyncCourseResp syncCourse(SyncCourseReq req) {
|
|
|
+ // TODO Auto-generated method stub
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public SyncOrgResp syncOrg(SyncOrgReq req) {
|
|
|
+ // TODO Auto-generated method stub
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "同步学生")
|
|
|
+ @PostMapping("syncStudent")
|
|
|
+ @Override
|
|
|
+ public SyncStudentResp syncStudent(SyncStudentReq req) {
|
|
|
+
|
|
|
+ System.out.println("fuck===================================");
|
|
|
+ System.out.println("fuck===================================");
|
|
|
+ System.out.println("fuck===================================");
|
|
|
+ System.out.println("fuck===================================");
|
|
|
+ System.out.println("fuck===================================");
|
|
|
+ System.out.println("fuck===================================");
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public SyncExamStudentResp syncExamStudent(SyncExamStudentReq req) {
|
|
|
+ // TODO Auto-generated method stub
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public SyncSpecialtyResp syncSpecialty(SyncSpecialtyReq req) {
|
|
|
+ // TODO Auto-generated method stub
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public SyncExamResp syncExam(SyncExamReq req) {
|
|
|
+ // TODO Auto-generated method stub
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|