Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Springboot Plus
Commits
9c09fc44
"eladmin-common/src/main/vscode:/vscode.git/clone" did not exist on "4e39694ea3c197cbd8a842218b8b04806d71d8c8"
Commit
9c09fc44
authored
Mar 12, 2018
by
李家智
Browse files
oracel support
parent
ee16f8c6
Changes
10
Expand all
Show whitespace changes
Inline
Side-by-side
admin-console/pom.xml
View file @
9c09fc44
...
@@ -43,13 +43,6 @@
...
@@ -43,13 +43,6 @@
</dependency>
</dependency>
</dependencies>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
</plugins>
</build>
</project>
</project>
admin-console/src/main/resources/application.properties
View file @
9c09fc44
spring.datasource.url
=
jdbc:mysql://127.0.0.1:3306/starter?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
#spring.datasource.url=jdbc:mysql://127.0.0.1:3306/starter?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
spring.datasource.username
=
root
#spring.datasource.username=root
spring.datasource.password
=
123456
#spring.datasource.password=123456
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.datasource.url= jdbc:oracle:thin:@127.0.0.1:1521:orcl
#spring.datasource.username=starter2
spring.datasource.url
=
jdbc:oracle:thin:@172.16.86.56:1521:dfzb
#spring.datasource.password=starter2
spring.datasource.username
=
starter2
#server.servlet.context-path=/admin-console
spring.datasource.password
=
starter2
spring.datasource.driver-class-name
=
oracle.jdbc.OracleDriver
# 1,1 是管理员密码,相当于启动后就登录,方便测试,系统需要取消这俩个配置
# 1,1 是管理员密码,相当于启动后就登录,方便测试,系统需要取消这俩个配置
user.id
=
1
user.id
=
1
user.orgId
=
1
user.orgId
=
1
...
@@ -20,10 +24,10 @@ logging.level.org.springframework.web.servlet.mvc.method.annotation=warn
...
@@ -20,10 +24,10 @@ logging.level.org.springframework.web.servlet.mvc.method.annotation=warn
server.port
=
8080
server.port
=
8080
#html视图交给beetl渲染
#html视图交给beetl渲染
beetl.suffix
=
html
beetl.suffix
=
html
beetlsql.dbStyle
=
org.beetl.sql.core.db.
MySql
Style
beetlsql.dbStyle
=
org.beetl.sql.core.db.
Oracle
Style
#beetlsql.basePackage=com.ibeetl,com.xxx.yourpackage
#beetlsql.basePackage=com.ibeetl,com.xxx.yourpackage
beetlsql.basePackage
=
com.ibeetl
beetlsql.basePackage
=
com.ibeetl
app.name
=
Spring
Boot
开发平台
app.name
=
SpringBoot
-Plus
logging.pattern.console
=
%-4relative [%thread] %-5level %logger{256} %M %L - %msg%n
logging.pattern.console
=
%-4relative [%thread] %-5level %logger{256} %M %L - %msg%n
spring.devtools.restart.exclude
=
templates/**
spring.devtools.restart.exclude
=
templates/**
#文档预览服务的调用地址,参考https://gitee.com/kekingcn/file-online-preview 安装,没有如下配置无法使用预览功能
#文档预览服务的调用地址,参考https://gitee.com/kekingcn/file-online-preview 安装,没有如下配置无法使用预览功能
...
...
admin-console/src/main/resources/sql/console/menu.md
View file @
9c09fc44
...
@@ -27,7 +27,7 @@ queryByCondtion
...
@@ -27,7 +27,7 @@ queryByCondtion
@}
@}
@pageIgnoreTag(){
@pageIgnoreTag(){
order by seq asc , id desc
order by
m.
seq asc ,
m.
id desc
@}
@}
...
...
admin-console/src/main/resources/templates/admin/dict/edit.html
View file @
9c09fc44
...
@@ -4,6 +4,14 @@
...
@@ -4,6 +4,14 @@
<div
class=
"layui-row"
>
<div
class=
"layui-row"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
字典值
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
name=
"value"
value=
"${dict.value}"
class=
"layui-input"
>
</div>
</div>
<div
class=
"layui-inline"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
字典名称
</label>
<label
class=
"layui-form-label"
>
字典名称
</label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
...
@@ -12,9 +20,6 @@
...
@@ -12,9 +20,6 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -70,7 +75,7 @@
...
@@ -70,7 +75,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<input
type=
"hidden"
name=
"
value
"
value=
${dict.
value
}
/>
<input
type=
"hidden"
name=
"
id
"
value=
${dict.
id
}
/>
<layui:submitButtons
id=
"updateButton"
/>
<layui:submitButtons
id=
"updateButton"
/>
</form>
</form>
...
...
admin-core/src/main/java/com/ibeetl/admin/core/conf/BeetlConf.java
View file @
9c09fc44
package
com.ibeetl.admin.core.conf
;
package
com.ibeetl.admin.core.conf
;
import
java.io.UnsupportedEncodingException
;
import
java.util.List
;
import
java.util.List
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
...
@@ -122,7 +123,22 @@ public class BeetlConf {
...
@@ -122,7 +123,22 @@ public class BeetlConf {
@Override
@Override
public
String
call
(
Object
[]
paras
,
Context
ctx
)
{
public
String
call
(
Object
[]
paras
,
Context
ctx
)
{
String
key
=
(
String
)
paras
[
0
];
String
key
=
(
String
)
paras
[
0
];
return
env
.
getProperty
(
key
);
String
value
=
env
.
getProperty
(
key
);
if
(
value
!=
null
)
{
return
getStr
(
value
);
}
if
(
paras
.
length
==
2
)
{
return
(
String
)
paras
[
1
];
}
return
null
;
}
protected
String
getStr
(
String
str
)
{
try
{
return
new
String
(
str
.
getBytes
(
"iso8859-1"
),
"UTF-8"
);
}
catch
(
UnsupportedEncodingException
e
)
{
throw
new
RuntimeException
(
e
);
}
}
}
});
});
...
...
admin-core/src/main/resources/templates/common/container.html
View file @
9c09fc44
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<html>
<html>
<head>
<head>
<meta
content=
"text/html;charset=UTF-8"
/>
<meta
content=
"text/html;charset=UTF-8"
/>
<title>
Spring Boot 2 Plus
</title>
<title>
${env("app.name")}
</title>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
/>
<meta
http-equiv =
"Pragma"
content =
"no-cache"
/>
<meta
http-equiv =
"Pragma"
content =
"no-cache"
/>
<meta
http-equiv=
"Cache-Control"
content=
"no cache"
/>
<meta
http-equiv=
"Cache-Control"
content=
"no cache"
/>
...
...
admin-core/src/main/resources/templates/common/tag/simpleDictSelect.tag.html
View file @
9c09fc44
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
for(dict in dicts){
for(dict in dicts){
-->
-->
<option
value=
"${dict.value}"
${
dict.value=
=expected?'selected'}
>
${dict.name}
</option>
<option
value=
"${dict.value}"
${
dict.value=
=
(
expected
+"")
?'selected'}
>
${dict.name}
</option>
<!--#}-->
<!--#}-->
</select>
</select>
...
...
admin-core/src/main/resources/templates/index.html
View file @
9c09fc44
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!-- 顶部 -->
<!-- 顶部 -->
<form
class=
"layui-form layui-form-pane"
>
<form
class=
"layui-form layui-form-pane"
>
<div
class=
"layui-header"
>
<div
class=
"layui-header"
>
<a
href=
"ibeetl.com"
class=
"layui-hide-xs"
><div
class=
"layui-logo"
>
Spring Boot 2 Plus
</div></a>
<a
href=
"ibeetl.com"
class=
"layui-hide-xs"
><div
class=
"layui-logo"
>
${env("app.name")}
</div></a>
<a
href=
"javascript:;"
class=
"layui-hide-xs"
><div
class=
"fsSwitchMenu"
><i
class=
"iconfont icon-category"
></i></div></a>
<a
href=
"javascript:;"
class=
"layui-hide-xs"
><div
class=
"fsSwitchMenu"
><i
class=
"iconfont icon-category"
></i></div></a>
<!-- 顶部菜单 -->
<!-- 顶部菜单 -->
...
...
doc/starter-oracle.sql
View file @
9c09fc44
This diff is collapsed.
Click to expand it.
pom.xml
View file @
9c09fc44
...
@@ -81,11 +81,11 @@
...
@@ -81,11 +81,11 @@
<version>
6.0.5
</version>
<version>
6.0.5
</version>
</dependency>
</dependency>
<
!--
dependency>
<dependency>
<groupId>
com.oracle
</groupId>
<groupId>
com.oracle
</groupId>
<artifactId>
ojdbc6
</artifactId>
<artifactId>
ojdbc6
</artifactId>
<version>
11.2.0
</version>
<version>
11.2.0
</version>
</dependency
--
>
</dependency>
<dependency>
<dependency>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment