Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
auth-master
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
吴超
auth-master
Commits
56654bbe
Commit
56654bbe
authored
Dec 25, 2025
by
周海峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
be9aff95
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
9 行增加
和
38 行删除
+9
-38
doc/sql/update.sql
+0
-4
src/main/java/com/metro/auth/platform/domain/auth/PlatformApplications.java
+0
-13
src/main/java/com/metro/auth/platform/mapper/PlatformApplicationsMapper.xml
+9
-21
没有找到文件。
doc/sql/update.sql
View file @
56654bbe
...
@@ -9,6 +9,3 @@ ALTER TABLE `platform_auth`.`platform_applications`
...
@@ -9,6 +9,3 @@ ALTER TABLE `platform_auth`.`platform_applications`
ALTER
TABLE
`platform_auth`
.
`platform_applications`
ALTER
TABLE
`platform_auth`
.
`platform_applications`
ADD
COLUMN
`wechat_url`
varchar
(
255
)
NULL
COMMENT
'企业微信入口'
AFTER
`group_code`
;
ADD
COLUMN
`wechat_url`
varchar
(
255
)
NULL
COMMENT
'企业微信入口'
AFTER
`group_code`
;
ALTER
TABLE
`platform_applications`
ADD
COLUMN
`app_enable`
varchar
(
20
)
NOT
NULL
DEFAULT
1
COMMENT
'应用启用/停用:1=启用,0=停用'
;
\ No newline at end of file
src/main/java/com/metro/auth/platform/domain/auth/PlatformApplications.java
View file @
56654bbe
...
@@ -118,19 +118,6 @@ public class PlatformApplications implements Serializable {
...
@@ -118,19 +118,6 @@ public class PlatformApplications implements Serializable {
this
.
num
=
num
;
this
.
num
=
num
;
}
}
/**
* 应用启用/停用:'1'=启用,'0'=停用
*/
private
String
appEnable
;
public
String
getAppEnable
()
{
return
appEnable
;
}
public
void
setAppEnable
(
String
appEnable
)
{
this
.
appEnable
=
appEnable
;
}
public
String
getWechatUrl
()
{
public
String
getWechatUrl
()
{
return
wechatUrl
;
return
wechatUrl
;
}
}
...
...
src/main/java/com/metro/auth/platform/mapper/PlatformApplicationsMapper.xml
View file @
56654bbe
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
<result
column=
"mailtype"
jdbcType=
"VARCHAR"
property=
"mailtype"
/>
<result
column=
"mailtype"
jdbcType=
"VARCHAR"
property=
"mailtype"
/>
<result
column=
"group_code"
jdbcType=
"VARCHAR"
property=
"groupCode"
/>
<result
column=
"group_code"
jdbcType=
"VARCHAR"
property=
"groupCode"
/>
<result
column=
"wechat_url"
jdbcType=
"VARCHAR"
property=
"wechatUrl"
/>
<result
column=
"wechat_url"
jdbcType=
"VARCHAR"
property=
"wechatUrl"
/>
<result
column=
"app_enable"
jdbcType=
"VARCHAR"
property=
"appEnable"
/>
</resultMap>
</resultMap>
...
@@ -99,7 +98,7 @@
...
@@ -99,7 +98,7 @@
</sql>
</sql>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
id, title, img, href, addtime, tishi, databasename, databasepassword, databasecon, qyflag, appid, secret,
id, title, img, href, addtime, tishi, databasename, databasepassword, databasecon, qyflag, appid, secret,
openmail, mailtype, group_code, wechat_url,
app_enable,
num
openmail, mailtype, group_code, wechat_url, num
</sql>
</sql>
<select
id=
"selectByExample"
parameterType=
"com.metro.auth.platform.domain.auth.PlatformApplicationsExample"
<select
id=
"selectByExample"
parameterType=
"com.metro.auth.platform.domain.auth.PlatformApplicationsExample"
resultMap=
"BaseResultMap"
>
resultMap=
"BaseResultMap"
>
...
@@ -149,14 +148,14 @@
...
@@ -149,14 +148,14 @@
insert into platform_applications (id, title, img,
insert into platform_applications (id, title, img,
href, addtime, tishi,databasename,databasepassword,
href, addtime, tishi,databasename,databasepassword,
databasecon,qyflag,appid,secret,openmail,mailtype,
databasecon,qyflag,appid,secret,openmail,mailtype,
group_code, wechat_url
, app_enable
group_code, wechat_url
)
)
values (#{id,jdbcType=INTEGER}, #{title,jdbcType=VARCHAR}, #{img,jdbcType=VARCHAR},
values (#{id,jdbcType=INTEGER}, #{title,jdbcType=VARCHAR}, #{img,jdbcType=VARCHAR},
#{href,jdbcType=VARCHAR}, #{addtime,jdbcType=VARCHAR}, #{tishi,jdbcType=INTEGER},
#{href,jdbcType=VARCHAR}, #{addtime,jdbcType=VARCHAR}, #{tishi,jdbcType=INTEGER},
#{databasename,jdbcType=VARCHAR}, #{databasepassword,jdbcType=VARCHAR}, #{databasecon,jdbcType=VARCHAR},
#{databasename,jdbcType=VARCHAR}, #{databasepassword,jdbcType=VARCHAR}, #{databasecon,jdbcType=VARCHAR},
#{qyflag,jdbcType=VARCHAR},
#{qyflag,jdbcType=VARCHAR},
#{appid,jdbcType=VARCHAR},#{secret,jdbcType=VARCHAR},#{openmail,jdbcType=INTEGER},
#{appid,jdbcType=VARCHAR},#{secret,jdbcType=VARCHAR},#{openmail,jdbcType=INTEGER},
#{mailtype,jdbcType=VARCHAR},#{groupCode,jdbcType=VARCHAR}, #{wechatUrl,jdbcType=VARCHAR}
, #{appEnable,jdbcType=VARCHAR}
#{mailtype,jdbcType=VARCHAR},#{groupCode,jdbcType=VARCHAR}, #{wechatUrl,jdbcType=VARCHAR}
)
)
</insert>
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.metro.auth.platform.domain.auth.PlatformApplications"
>
<insert
id=
"insertSelective"
parameterType=
"com.metro.auth.platform.domain.auth.PlatformApplications"
>
...
@@ -180,9 +179,7 @@
...
@@ -180,9 +179,7 @@
<if
test=
"tishi != null"
>
<if
test=
"tishi != null"
>
tishi,
tishi,
</if>
</if>
<if
test=
"appEnable != null"
>
app_enable,
</if>
</trim>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
<if
test=
"id != null"
>
...
@@ -203,9 +200,7 @@
...
@@ -203,9 +200,7 @@
<if
test=
"tishi != null"
>
<if
test=
"tishi != null"
>
#{tishi,jdbcType=INTEGER},
#{tishi,jdbcType=INTEGER},
</if>
</if>
<if
test=
"appEnable != null"
>
#{appEnable,jdbcType=VARCHAR},
</if>
</trim>
</trim>
</insert>
</insert>
<select
id=
"countByExample"
parameterType=
"com.metro.auth.platform.domain.auth.PlatformApplicationsExample"
<select
id=
"countByExample"
parameterType=
"com.metro.auth.platform.domain.auth.PlatformApplicationsExample"
...
@@ -250,9 +245,7 @@
...
@@ -250,9 +245,7 @@
<if
test=
"record.mailtype != null"
>
<if
test=
"record.mailtype != null"
>
mailtype = #{record.mailtype,jdbcType=VARCHAR},
mailtype = #{record.mailtype,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"record.appEnable != null"
>
app_enable = #{record.appEnable,jdbcType=VARCHAR},
</if>
</set>
</set>
<if
test=
"_parameter != null"
>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
<include
refid=
"Update_By_Example_Where_Clause"
/>
...
@@ -279,9 +272,7 @@
...
@@ -279,9 +272,7 @@
openmail = #{record.openmail,jdbcType=INTEGER},
openmail = #{record.openmail,jdbcType=INTEGER},
mailtype = #{record.mailtype,jdbcType=VARCHAR},
mailtype = #{record.mailtype,jdbcType=VARCHAR},
group_code = #{record.groupCode,jdbcType=VARCHAR},
group_code = #{record.groupCode,jdbcType=VARCHAR},
wechat_url = #{record.wechatUrl,jdbcType=VARCHAR},
wechat_url = #{record.wechatUrl,jdbcType=VARCHAR}
app_enable = #{record.appEnable,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</if>
...
@@ -311,9 +302,7 @@
...
@@ -311,9 +302,7 @@
<if
test=
"num != null"
>
<if
test=
"num != null"
>
num = #{num,jdbcType=VARCHAR},
num = #{num,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"appEnable != null"
>
app_enable = #{appEnable,jdbcType=VARCHAR},
</if>
</set>
</set>
where id = #{id,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
</update>
...
@@ -327,8 +316,7 @@
...
@@ -327,8 +316,7 @@
img = #{img,jdbcType=VARCHAR},
img = #{img,jdbcType=VARCHAR},
href = #{href,jdbcType=VARCHAR},
href = #{href,jdbcType=VARCHAR},
addtime = #{addtime,jdbcType=VARCHAR},
addtime = #{addtime,jdbcType=VARCHAR},
tishi = #{tishi,jdbcType=INTEGER},
tishi = #{tishi,jdbcType=INTEGER}
app_enable = #{appEnable,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
</update>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论