Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-cloud-account
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
1
合并请求
1
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.account
pica-cloud-account
提交
c1d2e00c
提交
c1d2e00c
编写于
3月 09, 2022
作者:
minghao.wu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: sql字段错误
上级
3cca9fcc
流水线
#43212
已失败 于阶段
变更
1
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
23 行增加
和
23 行删除
+23
-23
SaaSMenuMapper.xml
server/src/main/resources/mybatis/SaaSMenuMapper.xml
+23
-23
未找到文件。
server/src/main/resources/mybatis/SaaSMenuMapper.xml
浏览文件 @
c1d2e00c
...
...
@@ -11,17 +11,17 @@
<result
column=
"system_type"
property=
"systemType"
jdbcType=
"INTEGER"
/>
<result
column=
"seq"
property=
"seq"
jdbcType=
"INTEGER"
/>
<result
column=
"delete_flag"
property=
"deleteFlag"
jdbcType=
"INTEGER"
/>
<result
column=
"creat
_id"
property=
"creatId"
jdbcType=
"INTEGER"
/>
<result
column=
"creat
_time"
property=
"creatTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"modif
y_id"
property=
"modifyId"
jdbcType=
"INTEGER"
/>
<result
column=
"modif
y_time"
property=
"modifyTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"creat
ed_id"
property=
"creatId"
jdbcType=
"INTEGER"
/>
<result
column=
"creat
ed_time"
property=
"creatTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"modif
ied_id"
property=
"modifyId"
jdbcType=
"INTEGER"
/>
<result
column=
"modif
ied_time"
property=
"modifyTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"icon"
property=
"icon"
jdbcType=
"VARCHAR"
/>
<result
column=
"menu_type"
property=
"menuType"
jdbcType=
"INTEGER"
/>
<result
column=
"second_menu_id"
property=
"secondMenuId"
jdbcType=
"INTEGER"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id, hospital_id, permission_role_id, name, url, parent_id, system_type, seq, delete_flag,
creat
_id, creat_time, modify_id, modify
_time, icon, menu_type, second_menu_id
creat
ed_id, created_time, modified_id, modified
_time, icon, menu_type, second_menu_id
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.Integer"
>
select
...
...
@@ -45,8 +45,8 @@
<update
id=
"deleteByRoleId"
parameterType=
"java.util.Map"
>
update p_saas_menu
set delete_flag = 2,
modif
y
_id = #{modifiedId,jdbcType=BIGINT},
modif
y
_time = #{modifiedTime,jdbcType=TIMESTAMP}
modif
ied
_id = #{modifiedId,jdbcType=BIGINT},
modif
ied
_time = #{modifiedTime,jdbcType=TIMESTAMP}
where permission_role_id = #{id,jdbcType=VARCHAR}
and delete_flag = 1
</update>
...
...
@@ -54,8 +54,8 @@
insert into p_saas_menu (id, hospital_id, permission_role_id,
name, url, parent_id,
system_type, seq, delete_flag,
creat
_id, creat_time, modify
_id,
modif
y
_time, icon, menu_type,
creat
ed_id, created_time, modified
_id,
modif
ied
_time, icon, menu_type,
second_menu_id)
values (#{id,jdbcType=INTEGER}, #{hospitalId,jdbcType=BIGINT}, #{permissionRoleId,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{parentId,jdbcType=INTEGER},
...
...
@@ -70,8 +70,8 @@
insert into p_saas_menu (hospital_id, permission_role_id,
name, url, parent_id,
system_type, seq, delete_flag,
creat
_id, creat_time, modify
_id,
modif
y
_time, icon, menu_type,
creat
ed_id, created_time, modified
_id,
modif
ied
_time, icon, menu_type,
second_menu_id)
values
<foreach
collection=
"list"
item=
"item"
separator=
","
>
...
...
@@ -114,16 +114,16 @@
delete_flag,
</if>
<if
test=
"creatId != null"
>
creat_id,
creat
ed
_id,
</if>
<if
test=
"creatTime != null"
>
creat_time,
creat
ed
_time,
</if>
<if
test=
"modifyId != null"
>
modif
y
_id,
modif
ied
_id,
</if>
<if
test=
"modifyTime != null"
>
modif
y
_time,
modif
ied
_time,
</if>
<if
test=
"icon != null"
>
icon,
...
...
@@ -214,16 +214,16 @@
delete_flag = #{deleteFlag,jdbcType=INTEGER},
</if>
<if
test=
"creatId != null"
>
creat_id = #{creatId,jdbcType=INTEGER},
creat
ed
_id = #{creatId,jdbcType=INTEGER},
</if>
<if
test=
"creatTime != null"
>
creat_time = #{creatTime,jdbcType=TIMESTAMP},
creat
ed
_time = #{creatTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"modifyId != null"
>
modif
y
_id = #{modifyId,jdbcType=INTEGER},
modif
ied
_id = #{modifyId,jdbcType=INTEGER},
</if>
<if
test=
"modifyTime != null"
>
modif
y
_time = #{modifyTime,jdbcType=TIMESTAMP},
modif
ied
_time = #{modifyTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"icon != null"
>
icon = #{icon,jdbcType=VARCHAR},
...
...
@@ -247,10 +247,10 @@
system_type = #{systemType,jdbcType=INTEGER},
seq = #{seq,jdbcType=INTEGER},
delete_flag = #{deleteFlag,jdbcType=INTEGER},
creat_id = #{creatId,jdbcType=INTEGER},
creat_time = #{creatTime,jdbcType=TIMESTAMP},
modif
y
_id = #{modifyId,jdbcType=INTEGER},
modif
y
_time = #{modifyTime,jdbcType=TIMESTAMP},
creat
ed
_id = #{creatId,jdbcType=INTEGER},
creat
ed
_time = #{creatTime,jdbcType=TIMESTAMP},
modif
ied
_id = #{modifyId,jdbcType=INTEGER},
modif
ied
_time = #{modifyTime,jdbcType=TIMESTAMP},
icon = #{icon,jdbcType=VARCHAR},
menu_type = #{menuType,jdbcType=INTEGER},
second_menu_id = #{secondMenuId,jdbcType=INTEGER}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录