新增select key select Value方法,可编辑基表自动及值
This commit is contained in:
@@ -75,6 +75,8 @@ public class OsSysField implements Serializable {
|
|||||||
private Integer sign;
|
private Integer sign;
|
||||||
|
|
||||||
private Integer logic;
|
private Integer logic;
|
||||||
|
private String fkKey;
|
||||||
|
private String fkValue;
|
||||||
|
|
||||||
private List<OsSysSelect> selectList;
|
private List<OsSysSelect> selectList;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -235,7 +235,7 @@ public class TableConfigServiceImpl implements TableConfigService {
|
|||||||
stringBuilder.append(osSysSelect.getFieldId()).append(",");
|
stringBuilder.append(osSysSelect.getFieldId()).append(",");
|
||||||
}
|
}
|
||||||
if (selects.size() > 0) {
|
if (selects.size() > 0) {
|
||||||
List<String> list = osSysFieldDao.getTableAlise(stringBuilder.substring(0,stringBuilder.length()));
|
List<String> list = osSysFieldDao.getTableAlise(stringBuilder.substring(0,stringBuilder.length()-1));
|
||||||
for (String tableAlise : list) {
|
for (String tableAlise : list) {
|
||||||
tableCache.delete(tableAlise);
|
tableCache.delete(tableAlise);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
<result column="LOGIC" jdbcType="VARCHAR" property="logic" />
|
<result column="LOGIC" jdbcType="VARCHAR" property="logic" />
|
||||||
<result column="SIGN" jdbcType="VARCHAR" property="sign" />
|
<result column="SIGN" jdbcType="VARCHAR" property="sign" />
|
||||||
<result column="IS_SEARCH" jdbcType="VARCHAR" property="isSearch" />
|
<result column="IS_SEARCH" jdbcType="VARCHAR" property="isSearch" />
|
||||||
|
<result column="FK_KEY" jdbcType="VARCHAR" property="fkKey" />
|
||||||
|
<result column="FK_VALUE" jdbcType="VARCHAR" property="fkValue" />
|
||||||
<collection property="selectList" resultMap="com.hcframe.base.module.tableconfig.dao.OsSysSelectDao.OsSysSelectMap"/>
|
<collection property="selectList" resultMap="com.hcframe.base.module.tableconfig.dao.OsSysSelectDao.OsSysSelectMap"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<select id="getTableAlise" resultType="java.lang.String">
|
<select id="getTableAlise" resultType="java.lang.String">
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
from OS_SYS_TABLE
|
from OS_SYS_TABLE
|
||||||
left join OS_SYS_FIELD on OS_SYS_TABLE.TABLE_ID = OS_SYS_FIELD.TABLE_ID
|
left join OS_SYS_FIELD on OS_SYS_TABLE.TABLE_ID = OS_SYS_FIELD.TABLE_ID
|
||||||
left join OS_SYS_SELECT on OS_SYS_FIELD.FIELD_ID = OS_SYS_SELECT.FIELD_ID
|
left join OS_SYS_SELECT on OS_SYS_FIELD.FIELD_ID = OS_SYS_SELECT.FIELD_ID
|
||||||
where OS_SYS_TABLE.TABLE_ALIAS = #{typeName} order by OS_SYS_FIELD.FIELD_ID
|
where OS_SYS_TABLE.TABLE_ALIAS = #{typeName} order by OS_SYS_FIELD.FIELD_ID,OS_SYS_SELECT.SELECT_ID
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|||||||
@@ -2,10 +2,6 @@ server:
|
|||||||
port: 8084
|
port: 8084
|
||||||
spring:
|
spring:
|
||||||
cloud:
|
cloud:
|
||||||
nacos:
|
|
||||||
discovery:
|
|
||||||
server-addr: 192.168.1.131:8848
|
|
||||||
namespace: 2e9f0148-751e-4da2-83ec-cb00ffe0d83a
|
|
||||||
gateway:
|
gateway:
|
||||||
discovery:
|
discovery:
|
||||||
locator:
|
locator:
|
||||||
|
|||||||
@@ -204,29 +204,29 @@
|
|||||||
<!--当前环境-->
|
<!--当前环境-->
|
||||||
<profile.name>prod</profile.name>
|
<profile.name>prod</profile.name>
|
||||||
<!--Nacos配置中心地址-->
|
<!--Nacos配置中心地址-->
|
||||||
<config.server-addr>127.0.0.1:8848</config.server-addr>
|
<config.server-addr>192.168.100.98:8848</config.server-addr>
|
||||||
<!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
|
<!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
|
||||||
<config.namespace>2e9f0148-751e-4da2-83ec-cb00ffe0d83a</config.namespace>
|
<config.namespace>2e9f0148-751e-4da2-83ec-cb00ffe0d83a</config.namespace>
|
||||||
<!--Nacos配置分组名称-->
|
<!--Nacos配置分组名称-->
|
||||||
<config.group>DEFAULT_GROUP</config.group>
|
<config.group>DEFAULT_GROUP</config.group>
|
||||||
<config.username>dev</config.username>
|
<config.username>dev</config.username>
|
||||||
<config.password>123456</config.password>
|
<config.password>123456</config.password>
|
||||||
<!--Nacos服务发现地址-->
|
<!-- Nacos服务发现地址-->
|
||||||
<discovery.server-addr>127.0.0.1:8848</discovery.server-addr>
|
<discovery.server-addr>192.168.100.98:8848</discovery.server-addr>
|
||||||
|
<!-- redis 配置-->
|
||||||
<redis.database>0</redis.database>
|
<redis.database>0</redis.database>
|
||||||
<redis.host>192.168.4.119</redis.host>
|
<redis.host>192.168.100.98</redis.host>
|
||||||
<redis.port>6379</redis.port>
|
<redis.port>6379</redis.port>
|
||||||
<redis.password/>
|
<redis.password/>
|
||||||
<!-- cas配置 -->
|
<!-- cas配置 -->
|
||||||
<cas.enabled>true</cas.enabled>
|
<cas.client-context-path>/user/cas/valid</cas.client-context-path>
|
||||||
<cas.cas-service-url>http://192.168.1.131:8080</cas.cas-service-url>
|
<cas.cas-service-url>http://192.168.100.98:8080</cas.cas-service-url>
|
||||||
<cas.cas-context-path>/cas</cas.cas-context-path>
|
<cas.cas-context-path>/cas</cas.cas-context-path>
|
||||||
<cas.white-url>^(.*(/logout?))|(/user/cas/url)$</cas.white-url>
|
<cas.white-url>^.*(/logout?)$</cas.white-url>
|
||||||
<cas.service-url>http://192.168.1.130:9527</cas.service-url>
|
<cas.service-url>http://192.168.100.98:8084</cas.service-url>
|
||||||
<cas.cookie-holder-pattern>com.hcframe.gateway.config.MyDataStorage</cas.cookie-holder-pattern>
|
<cas.cookie-holder-pattern>com.hcframe.gateway.config.MyDataStorage</cas.cookie-holder-pattern>
|
||||||
<cas.login-url>/login</cas.login-url>
|
<cas.login-url>/login</cas.login-url>
|
||||||
<cas.logout-url>/logout</cas.logout-url>
|
<cas.logout-url>/logout</cas.logout-url>
|
||||||
<cas.client-context-path>/user/cas/valid</cas.client-context-path>
|
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|||||||
Reference in New Issue
Block a user