Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzuaa
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzuaa
提交
2d379cdb
提交
2d379cdb
编写于
9月 29, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhouweidong 发布系统代码
上级
730bb98a
变更
7
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
255 行增加
和
11 行删除
+255
-11
sys-open-access_en_US.ts
.../lanres/entities/sys-open-access/sys-open-access_en_US.ts
+1
-0
sys-open-access_zh_CN.ts
.../lanres/entities/sys-open-access/sys-open-access_zh_CN.ts
+1
-0
SysOpenAccess.java
...c/main/java/cn/ibizlab/core/uaa/domain/SysOpenAccess.java
+16
-0
h2_table.xml
ibzuaa-core/src/main/resources/liquibase/h2_table.xml
+203
-8
SysOpenAccessMapper.xml
...esources/mapper/uaa/sysopenaccess/SysOpenAccessMapper.xml
+4
-3
ibzuaa.json
ibzuaa-core/src/main/resources/sysmodel/ibzuaa.json
+13
-0
SysOpenAccessDTO.java
...pi/src/main/java/cn/ibizlab/api/dto/SysOpenAccessDTO.java
+17
-0
未找到文件。
app_web/src/locale/lanres/entities/sys-open-access/sys-open-access_en_US.ts
浏览文件 @
2d379cdb
...
...
@@ -11,6 +11,7 @@ export default {
expires_time
:
"管理账号token过期时间"
,
disabled
:
"是否禁用"
,
redirect_uri
:
"RedirectURI"
,
agent_id
:
"AGENT_ID"
,
},
views
:
{
gridview
:
{
...
...
app_web/src/locale/lanres/entities/sys-open-access/sys-open-access_zh_CN.ts
浏览文件 @
2d379cdb
...
...
@@ -10,6 +10,7 @@ export default {
expires_time
:
"管理账号token过期时间"
,
disabled
:
"是否禁用"
,
redirect_uri
:
"RedirectURI"
,
agent_id
:
"AGENT_ID"
,
},
views
:
{
gridview
:
{
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/domain/SysOpenAccess.java
浏览文件 @
2d379cdb
...
...
@@ -122,6 +122,14 @@ public class SysOpenAccess extends EntityMP implements Serializable {
@JSONField
(
name
=
"redirect_uri"
)
@JsonProperty
(
"redirect_uri"
)
private
String
redirectUri
;
/**
* AGENT_ID
*/
@DEField
(
name
=
"agent_id"
)
@TableField
(
value
=
"agent_id"
)
@JSONField
(
name
=
"agent_id"
)
@JsonProperty
(
"agent_id"
)
private
Long
agentId
;
...
...
@@ -207,6 +215,14 @@ public class SysOpenAccess extends EntityMP implements Serializable {
this
.
modify
(
"redirect_uri"
,
redirectUri
);
}
/**
* 设置 [AGENT_ID]
*/
public
void
setAgentId
(
Long
agentId
){
this
.
agentId
=
agentId
;
this
.
modify
(
"agent_id"
,
agentId
);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
...
...
ibzuaa-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
2d379cdb
此差异已折叠。
点击以展开。
ibzuaa-core/src/main/resources/mapper/uaa/sysopenaccess/SysOpenAccessMapper.xml
浏览文件 @
2d379cdb
...
...
@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select
id=
"selectById"
resultMap=
"SysOpenAccessResultMap"
databaseId=
"mysql"
>
<![CDATA[select t1.* from (SELECT t1.`ACCESSID`, t1.`ACCESSNAME`, t1.`ACCESS_KEY`, t1.`ACCESS_TOKEN`, t1.`DISABLED`, t1.`EXPIRES_TIME`, t1.`OPEN_TYPE`, t1.`REDIRECT_URI`, t1.`REGION_ID`, t1.`SECRET_KEY` FROM `IBZOPENACCESS` t1 ) t1 where accessid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ACCESSID`, t1.`ACCESSNAME`, t1.`ACCESS_KEY`, t1.`ACCESS_TOKEN`, t1.`
AGENT_ID`, t1.`
DISABLED`, t1.`EXPIRES_TIME`, t1.`OPEN_TYPE`, t1.`REDIRECT_URI`, t1.`REGION_ID`, t1.`SECRET_KEY` FROM `IBZOPENACCESS` t1 ) t1 where accessid=#{id}]]>
</select>
<select
id=
"selectById"
resultMap=
"SysOpenAccessResultMap"
databaseId=
"oracle"
>
<![CDATA[select t1.* from (SELECT t1.ACCESSID, t1.ACCESSNAME, t1.ACCESS_KEY, t1.ACCESS_TOKEN, t1.DISABLED, t1.EXPIRES_TIME, t1.OPEN_TYPE, t1.REDIRECT_URI, t1.REGION_ID, t1.SECRET_KEY FROM IBZOPENACCESS t1 ) t1 where accessid=#{id}]]>
...
...
@@ -25,6 +25,7 @@
<result
property=
"accessToken"
column=
"access_token"
/>
<result
property=
"expiresTime"
column=
"expires_time"
/>
<result
property=
"redirectUri"
column=
"redirect_uri"
/>
<result
property=
"agentId"
column=
"agent_id"
/>
</resultMap>
...
...
@@ -41,7 +42,7 @@
<!--数据查询[Default]-->
<sql
id=
"Default"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`ACCESSID`, t1.`ACCESSNAME`, t1.`ACCESS_KEY`, t1.`ACCESS_TOKEN`, t1.`DISABLED`, t1.`EXPIRES_TIME`, t1.`OPEN_TYPE`, t1.`REDIRECT_URI`, t1.`REGION_ID`, t1.`SECRET_KEY` FROM `IBZOPENACCESS` t1
<![CDATA[ SELECT t1.`ACCESSID`, t1.`ACCESSNAME`, t1.`ACCESS_KEY`, t1.`ACCESS_TOKEN`, t1.`
AGENT_ID`, t1.`
DISABLED`, t1.`EXPIRES_TIME`, t1.`OPEN_TYPE`, t1.`REDIRECT_URI`, t1.`REGION_ID`, t1.`SECRET_KEY` FROM `IBZOPENACCESS` t1
]]>
</sql>
<!--数据查询[Default]-->
...
...
@@ -56,7 +57,7 @@
</sql>
<!--数据查询[View]-->
<sql
id=
"View"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`ACCESSID`, t1.`ACCESSNAME`, t1.`ACCESS_KEY`, t1.`ACCESS_TOKEN`, t1.`DISABLED`, t1.`EXPIRES_TIME`, t1.`OPEN_TYPE`, t1.`REDIRECT_URI`, t1.`REGION_ID`, t1.`SECRET_KEY` FROM `IBZOPENACCESS` t1
<![CDATA[ SELECT t1.`ACCESSID`, t1.`ACCESSNAME`, t1.`ACCESS_KEY`, t1.`ACCESS_TOKEN`, t1.`
AGENT_ID`, t1.`
DISABLED`, t1.`EXPIRES_TIME`, t1.`OPEN_TYPE`, t1.`REDIRECT_URI`, t1.`REGION_ID`, t1.`SECRET_KEY` FROM `IBZOPENACCESS` t1
]]>
</sql>
<!--数据查询[View]-->
...
...
ibzuaa-core/src/main/resources/sysmodel/ibzuaa.json
浏览文件 @
2d379cdb
...
...
@@ -415,6 +415,19 @@
"data_length"
:
500
,
"key_field"
:
0
,
"major_field"
:
0
},
{
"fieldname"
:
"AGENT_ID"
,
"codename"
:
"Agent_id"
,
"field_logic_name"
:
"AGENT_ID"
,
"entity_name"
:
"SysOpenAccess"
,
"field_type"
:
"BIGINT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"BIGINT"
,
"data_length"
:
20
,
"key_field"
:
0
,
"major_field"
:
0
}
],
"subEntitys"
:[
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/dto/SysOpenAccessDTO.java
浏览文件 @
2d379cdb
...
...
@@ -118,6 +118,15 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
@Size
(
min
=
0
,
max
=
500
,
message
=
"内容长度必须小于等于[500]"
)
private
String
redirectUri
;
/**
* 属性 [AGENT_ID]
*
*/
@JSONField
(
name
=
"agent_id"
)
@JsonProperty
(
"agent_id"
)
@JsonSerialize
(
using
=
ToStringSerializer
.
class
)
private
Long
agentId
;
/**
* 设置 [ACCESSNAME]
...
...
@@ -191,6 +200,14 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
this
.
modify
(
"redirect_uri"
,
redirectUri
);
}
/**
* 设置 [AGENT_ID]
*/
public
void
setAgentId
(
Long
agentId
){
this
.
agentId
=
agentId
;
this
.
modify
(
"agent_id"
,
agentId
);
}
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录