Kaynağa Gözat

去掉同步

weiwenhai 6 yıl önce
ebeveyn
işleme
384ec3252c

+ 2 - 3
examcloud-core-questions-base/pom.xml

@@ -20,12 +20,11 @@
 			<artifactId>examcloud-commons-dto</artifactId>
 			<version>${examcloud.version}</version>
 		</dependency>
-		<dependency>
+		<!-- <dependency>
 			<groupId>com.qmth.commons</groupId>
 			<artifactId>data-sync-rabbit</artifactId>
 			<version>1.0-SNAPSHOT</version>
-		</dependency>
-
+		</dependency> -->
 		<dependency>
 			<groupId>org.docx4j</groupId>
 			<artifactId>docx4j</artifactId>

+ 4 - 2
examcloud-core-questions-starter/src/main/java/cn/com/qmth/examcloud/core/questions/starter/Application.java

@@ -25,7 +25,7 @@ import org.springframework.web.multipart.commons.CommonsMultipartResolver;
 import com.fasterxml.jackson.annotation.JsonAutoDetect;
 import com.fasterxml.jackson.annotation.PropertyAccessor;
 import com.fasterxml.jackson.databind.ObjectMapper;
-import com.qmth.commons.query.dao.impl.BaseQueryDaoImpl;
+//import com.qmth.commons.query.dao.impl.BaseQueryDaoImpl;
 
 import cn.com.qmth.examcloud.commons.base.logging.ExamCloudLog;
 import cn.com.qmth.examcloud.commons.base.logging.ExamCloudLogFactory;
@@ -40,8 +40,10 @@ import cn.com.qmth.examcloud.core.questions.base.GridFSUtil;
  */
 @ComponentScan(basePackages = { "com.qmth.commons", "cn.com.qmth" })
 @EntityScan(basePackages = { "com.qmth.commons", "cn.com.qmth" })
+//@EnableJpaRepositories(basePackages = { "com.qmth.commons",
+//		"cn.com.qmth" }, repositoryBaseClass = BaseQueryDaoImpl.class)
 @EnableJpaRepositories(basePackages = { "com.qmth.commons",
-		"cn.com.qmth" }, repositoryBaseClass = BaseQueryDaoImpl.class)
+"cn.com.qmth" })
 @EnableMongoRepositories("cn.com.qmth.examcloud.core.questions.dao")
 @SpringBootApplication
 @EnableEurekaClient

+ 4 - 3
examcloud-core-questions-starter/src/main/java/cn/com/qmth/examcloud/core/questions/starter/sync/DataReceiveService.java

@@ -1,4 +1,4 @@
-package cn.com.qmth.examcloud.core.questions.starter.sync;
+/*package cn.com.qmth.examcloud.core.questions.starter.sync;
 
 import cn.com.qmth.examcloud.core.questions.dao.CourseRepo;
 import cn.com.qmth.examcloud.core.questions.dao.entity.Course;
@@ -24,9 +24,9 @@ import org.springframework.stereotype.Service;
 import java.util.Date;
 import java.util.List;
 
-/**
+*//**
  * Created by songyue on 17/8/3.
- */
+ *//*
 @Service
 public class DataReceiveService {
 
@@ -231,3 +231,4 @@ public class DataReceiveService {
     }
 
 }
+*/

+ 4 - 3
examcloud-core-questions-starter/src/main/java/cn/com/qmth/examcloud/core/questions/starter/sync/DataSendService.java

@@ -1,12 +1,12 @@
-package cn.com.qmth.examcloud.core.questions.starter.sync;
+/*package cn.com.qmth.examcloud.core.questions.starter.sync;
 
 import com.qmth.commons.dataSync.core.service.DataSyncService;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
-/**
+*//**
  * Created by songyue on 17/8/3.
- */
+ *//*
 @Service
 public class DataSendService {
 
@@ -14,3 +14,4 @@ public class DataSendService {
     DataSyncService dataSyncService;
 
 }
+*/