Browse Source

扫描路径修改

RuoYi 6 years ago
parent
commit
83b4c25137

+ 1 - 1
ruoyi-admin/src/main/resources/application.yml

@@ -72,7 +72,7 @@ mybatis:
     # 搜索指定包别名
     typeAliasesPackage: com.ruoyi
     # 配置mapper的扫描,找到所有的mapper.xml映射文件
-    mapperLocations: classpath:mapper/system/*Mapper.xml,classpath:mapper/quartz/*Mapper.xml,classpath:mapper/generator/*Mapper.xml
+    mapperLocations: classpath*:mapper/**/*Mapper.xml
     # 加载全局的配置文件
     configLocation: classpath:mapper/mybatis-config.xml
 

+ 1 - 1
ruoyi-admin/src/main/resources/templates/monitor/job/jobLog.html

@@ -58,7 +58,7 @@
 	<div th:include="include :: footer"></div>
 	<script th:inline="javascript">
 		var removeFlag = [[${@permission.hasPermi('monitor:job:remove')}]];
-		var datas = [[${@dict.getType('sys_job_status')}]];
+		var datas = [[${@dict.getType('sys_common_status')}]];
 		var prefix = ctx + "monitor/jobLog";
 
 		$(function() {