1、修改数据库连接;2、系统菜单增加function_id字段属性
This commit is contained in:
@@ -52,6 +52,7 @@ public class SysMenu extends BaseEntity<SysMenu>{
|
||||
private String menuBg;
|
||||
|
||||
private Integer isTop;
|
||||
private Integer functionId;
|
||||
|
||||
private List<SysMenu> children = new ArrayList<SysMenu>();
|
||||
|
||||
@@ -270,6 +271,14 @@ public class SysMenu extends BaseEntity<SysMenu>{
|
||||
this.isTop = isTop;
|
||||
}
|
||||
|
||||
public Integer getFunctionId() {
|
||||
return functionId;
|
||||
}
|
||||
|
||||
public void setFunctionId(Integer functionId) {
|
||||
this.functionId = functionId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -23,7 +23,8 @@
|
||||
a.quick_action,
|
||||
a.menu_bg,
|
||||
p.name AS "parent.name",
|
||||
a.is_top
|
||||
a.is_top,
|
||||
a.function_id
|
||||
|
||||
</sql>
|
||||
|
||||
@@ -88,7 +89,8 @@
|
||||
update_date,
|
||||
remarks,
|
||||
del_flag,
|
||||
is_top
|
||||
is_top,
|
||||
function_id
|
||||
) VALUES (
|
||||
#{parent.id},
|
||||
#{parentIds},
|
||||
@@ -106,7 +108,8 @@
|
||||
#{updateDate},
|
||||
#{remarks},
|
||||
#{delFlag},
|
||||
#{isTop}
|
||||
#{isTop},
|
||||
#{functionId}
|
||||
)
|
||||
</insert>
|
||||
|
||||
@@ -125,7 +128,8 @@
|
||||
update_by = #{updateBy.id},
|
||||
update_date = #{updateDate},
|
||||
remarks = #{remarks},
|
||||
is_top = #{isTop}
|
||||
is_top = #{isTop},
|
||||
function_id=#{functionId}
|
||||
WHERE id = #{id}
|
||||
</update>
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#jdbc for oracle
|
||||
#jdbc.driver=oracle.jdbc.driver.OracleDriver
|
||||
jdbc.devlop.driver=com.mysql.jdbc.Driver
|
||||
jdbc.devlop.url=jdbc:mysql://10.0.6.100:3306/gwall?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
|
||||
jdbc.devlop.username=dfh
|
||||
jdbc.devlop.key=xLtQB+Bp6joOYrVIfBdrRA==
|
||||
jdbc.devlop.password=/+7+DgxK++ZaD1nIcRRmDg==
|
||||
jdbc.devlop.url=jdbc:mysql://10.0.6.249:3306/gwall?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
|
||||
jdbc.devlop.username=root
|
||||
jdbc.devlop.key=pR3JFt5dsGCW0nZO3TLF7Q==
|
||||
jdbc.devlop.password=JgW5tsiGBNAtcqCgSQIP0g==
|
||||
|
||||
jdbc.product.driver=oracle.jdbc.driver.OracleDriver
|
||||
#jdbc.product.url=jdbc:oracle:thin:@(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.17)(PORT = 1521))(LOAD_BALANCE = yes)(CONNECT_DATA =(SERVICE_NAME = ORCL)(FAILOVER_MODE =(TYPE = select)(METHOD = basic)(RETRIES = 180)(DELAY = 180))))
|
||||
|
||||
@@ -107,6 +107,14 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label"><spring:message code="function id"/>:</label>
|
||||
<div class="col-md-4">
|
||||
<form:input path="functionId" htmlEscape="false" maxlength="10" class="form-control"/>
|
||||
<span class="help-inline"><spring:message code="function_id"/></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label"><spring:message code="icon"/>:</label>
|
||||
<div class="col-md-4">
|
||||
|
||||
Reference in New Issue
Block a user