chore(deps): 移除达梦数据库 JDBC 驱动依赖并优化配置
- 删除 DmJdbcDriver8.jar 驱动文件 - 排除 QuartzAutoConfiguration 自动配置 - 统一规范 POM 文件格式和依赖管理 - 优化项目构建配置
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ import java.util.Map;
|
||||
* @Date: 2019-01-02
|
||||
* @Version:V1.0
|
||||
*/
|
||||
@RestController
|
||||
//@RestController
|
||||
@RequestMapping("/sys/quartzJob")
|
||||
@Slf4j
|
||||
@Tag(name = "定时任务接口")
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ import java.util.List;
|
||||
* @Version: V1.1
|
||||
*/
|
||||
@Slf4j
|
||||
@Service
|
||||
//@Service
|
||||
public class QuartzJobServiceImpl extends ServiceImpl<QuartzJobMapper, QuartzJob> implements IQuartzJobService {
|
||||
/**
|
||||
* 立即执行的任务分组
|
||||
|
||||
+2
-1
@@ -4,6 +4,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||
import org.jeecg.common.util.oConvertUtils;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration;
|
||||
import org.springframework.boot.builder.SpringApplicationBuilder;
|
||||
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
|
||||
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
@@ -22,7 +23,7 @@ import java.net.UnknownHostException;
|
||||
* @date: 2022/4/21 10:55
|
||||
*/
|
||||
@Slf4j
|
||||
@SpringBootApplication(scanBasePackages = {"com.renkang", "org.jeecg"})
|
||||
@SpringBootApplication(scanBasePackages = {"com.renkang", "org.jeecg"},exclude = QuartzAutoConfiguration.class)
|
||||
@EnableFeignClients(basePackages = {"org.jeecg", "com.renkang"})
|
||||
@EnableScheduling
|
||||
public class JeecgSystemCloudApplication extends SpringBootServletInitializer {
|
||||
|
||||
Reference in New Issue
Block a user