Parcourir la source

ext3-1.5.jar 提交

rsbi il y a 4 ans
Parent
commit
fb54f7e9e9

+ 11 - 11
src/main/resources/application.yml

@@ -1,16 +1,16 @@
 #数据库连接 mysql
-spring:
-  datasource:
-    url: jdbc:mysql://localhost:3306/rs_report?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=GMT%2B8
-    username: root
-    password: 12345678
-    driver-class-name: com.mysql.cj.jdbc.Driver
 #spring:
 #  datasource:
-#    url: jdbc:sqlite::resource:rsreport.sqlite3
-#    username:
-#    password:
-#    driver-class-name: org.sqlite.JDBC
+#    url: jdbc:mysql://localhost:3306/rs_report?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=GMT%2B8
+#    username: root
+#    password: 12345678
+#    driver-class-name: com.mysql.cj.jdbc.Driver
+spring:
+  datasource:
+    url: jdbc:sqlite::resource:rsreport.sqlite3
+    username:
+    password:
+    driver-class-name: org.sqlite.JDBC
 mybatis:
   #mapper配置文件
   mapper-locations: classpath:mybatis/*.xml
@@ -18,7 +18,7 @@ mybatis:
 #  config: classpath:log4j.properties
 
 pagehelper:
-  helperDialect: mysql
+  helperDialect: sqlite
   reasonable: false  #开启优化,如果开启优化,在分页页码结果没有数据的时候,会显示有数据的页码数据
   supportMethodsArguments: true #是否支持接口参数来传递分页参数,默认false
   pageSizeZero: true #pageSize=0 返回所有

BIN
src/main/resources/rsreport.sqlite3


+ 1 - 1
src/main/webapp/WEB-INF/ext2/ext-config/ext-config.xml

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <ext-config>
 	<constant name="devMode" value="true" />
-	<constant name="dbName" value="mysql" />
+	<constant name="dbName" value="sqlite" />
 	<!-- 关闭在多维分析中显示节日 -->
 	<constant name="closeFestival" value="true" />