|
@@ -3,8 +3,7 @@ package com.syjy.calculate.config;
|
|
import com.syjy.calculate.conotroller.JarCalculate;
|
|
import com.syjy.calculate.conotroller.JarCalculate;
|
|
import com.syjy.calculate.conotroller.Test;
|
|
import com.syjy.calculate.conotroller.Test;
|
|
import com.syjy.calculate.listener.ApplicationListenerImpl;
|
|
import com.syjy.calculate.listener.ApplicationListenerImpl;
|
|
-import com.syjy.calculate.mapper.CalculationFormulaMapper;
|
|
|
|
-import com.syjy.calculate.mapper.CalculationFormulaServiceImpl;
|
|
|
|
|
|
+
|
|
import com.syjy.calculate.repository.repositoryImpl.CalculationFormulaRepositoryImpl;
|
|
import com.syjy.calculate.repository.repositoryImpl.CalculationFormulaRepositoryImpl;
|
|
import com.syjy.calculate.service.AccuracyPassRateCalculateService;
|
|
import com.syjy.calculate.service.AccuracyPassRateCalculateService;
|
|
import com.syjy.calculate.util.CreateAndInsertSqlUtil;
|
|
import com.syjy.calculate.util.CreateAndInsertSqlUtil;
|
|
@@ -17,7 +16,7 @@ import org.springframework.context.annotation.Configuration;
|
|
|
|
|
|
@EnableConfigurationProperties(StarterProperties.class)
|
|
@EnableConfigurationProperties(StarterProperties.class)
|
|
@Configuration
|
|
@Configuration
|
|
-@ComponentScan(basePackages = {"com.syjy.calculate.mapper"})
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
public class StarterAutoConfigure {
|
|
public class StarterAutoConfigure {
|
|
@@ -71,12 +70,6 @@ public class StarterAutoConfigure {
|
|
CalculationFormulaMapper calculationFormulaMapper() {
|
|
CalculationFormulaMapper calculationFormulaMapper() {
|
|
return new CalculationFormulaMapper();
|
|
return new CalculationFormulaMapper();
|
|
}*/
|
|
}*/
|
|
-@Bean
|
|
|
|
-@ConditionalOnMissingBean
|
|
|
|
-@ConditionalOnProperty(prefix = "calculate.service", value = "enabled", havingValue = "true")
|
|
|
|
-CalculationFormulaServiceImpl clculationFormulaServiceImpl() {
|
|
|
|
- return new CalculationFormulaServiceImpl();
|
|
|
|
-}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|