Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
前端资源
RuoYi-Vue
提交
51fa66f6
R
RuoYi-Vue
项目概览
前端资源
/
RuoYi-Vue
11 个月 前同步成功
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
RuoYi-Vue
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
51fa66f6
编写于
8月 05, 2020
作者:
R
RuoYi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
唯一限制条件只返回单条数据
上级
3b61ed56
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
12 addition
and
12 deletion
+12
-12
ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
...stem/src/main/resources/mapper/system/SysConfigMapper.xml
+1
-1
ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
...system/src/main/resources/mapper/system/SysDeptMapper.xml
+1
-1
ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
...em/src/main/resources/mapper/system/SysDictTypeMapper.xml
+1
-1
ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml
...system/src/main/resources/mapper/system/SysMenuMapper.xml
+1
-1
ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml
...system/src/main/resources/mapper/system/SysPostMapper.xml
+2
-2
ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml
...system/src/main/resources/mapper/system/SysRoleMapper.xml
+2
-2
ruoyi-system/src/main/resources/mapper/system/SysRoleMenuMapper.xml
...em/src/main/resources/mapper/system/SysRoleMenuMapper.xml
+1
-1
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
...system/src/main/resources/mapper/system/SysUserMapper.xml
+3
-3
未找到文件。
ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
浏览文件 @
51fa66f6
...
...
@@ -61,7 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"checkConfigKeyUnique"
parameterType=
"String"
resultMap=
"SysConfigResult"
>
<include
refid=
"selectConfigVo"
/>
where config_key = #{configKey}
where config_key = #{configKey}
limit 1
</select>
<insert
id=
"insertConfig"
parameterType=
"SysConfig"
>
...
...
ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
浏览文件 @
51fa66f6
...
...
@@ -64,7 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"hasChildByDeptId"
parameterType=
"Long"
resultType=
"int"
>
select count(1) from sys_dept
where del_flag = '0' and parent_id = #{deptId}
where del_flag = '0' and parent_id = #{deptId}
limit 1
</select>
<select
id=
"selectChildrenDeptById"
parameterType=
"Long"
resultMap=
"SysDeptResult"
>
...
...
ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
浏览文件 @
51fa66f6
...
...
@@ -57,7 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"checkDictTypeUnique"
parameterType=
"String"
resultMap=
"SysDictTypeResult"
>
<include
refid=
"selectDictTypeVo"
/>
where dict_type = #{dictType}
where dict_type = #{dictType}
limit 1
</select>
<delete
id=
"deleteDictTypeById"
parameterType=
"Long"
>
...
...
ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml
浏览文件 @
51fa66f6
...
...
@@ -118,7 +118,7 @@
<select
id=
"checkMenuNameUnique"
parameterType=
"SysMenu"
resultMap=
"SysMenuResult"
>
<include
refid=
"selectMenuVo"
/>
where menu_name=#{menuName} and parent_id = #{parentId}
where menu_name=#{menuName} and parent_id = #{parentId}
limit 1
</select>
<update
id=
"updateMenu"
parameterType=
"SysMenu"
>
...
...
ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml
浏览文件 @
51fa66f6
...
...
@@ -64,12 +64,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"checkPostNameUnique"
parameterType=
"String"
resultMap=
"SysPostResult"
>
<include
refid=
"selectPostVo"
/>
where post_name=#{postName}
where post_name=#{postName}
limit 1
</select>
<select
id=
"checkPostCodeUnique"
parameterType=
"String"
resultMap=
"SysPostResult"
>
<include
refid=
"selectPostVo"
/>
where post_code=#{postCode}
where post_code=#{postCode}
limit 1
</select>
<update
id=
"updatePost"
parameterType=
"SysPost"
>
...
...
ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml
浏览文件 @
51fa66f6
...
...
@@ -80,12 +80,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"checkRoleNameUnique"
parameterType=
"String"
resultMap=
"SysRoleResult"
>
<include
refid=
"selectRoleVo"
/>
where r.role_name=#{roleName}
where r.role_name=#{roleName}
limit 1
</select>
<select
id=
"checkRoleKeyUnique"
parameterType=
"String"
resultMap=
"SysRoleResult"
>
<include
refid=
"selectRoleVo"
/>
where r.role_key=#{roleKey}
where r.role_key=#{roleKey}
limit 1
</select>
<insert
id=
"insertRole"
parameterType=
"SysRole"
useGeneratedKeys=
"true"
keyProperty=
"roleId"
>
...
...
ruoyi-system/src/main/resources/mapper/system/SysRoleMenuMapper.xml
浏览文件 @
51fa66f6
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
浏览文件 @
51fa66f6
...
...
@@ -92,15 +92,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select
id=
"checkUserNameUnique"
parameterType=
"String"
resultType=
"int"
>
select count(1) from sys_user where user_name = #{userName}
select count(1) from sys_user where user_name = #{userName}
limit 1
</select>
<select
id=
"checkPhoneUnique"
parameterType=
"String"
resultMap=
"SysUserResult"
>
select user_id, phonenumber from sys_user where phonenumber = #{phonenumber}
select user_id, phonenumber from sys_user where phonenumber = #{phonenumber}
limit 1
</select>
<select
id=
"checkEmailUnique"
parameterType=
"String"
resultMap=
"SysUserResult"
>
select user_id, email from sys_user where email = #{email}
select user_id, email from sys_user where email = #{email}
limit 1
</select>
<insert
id=
"insertUser"
parameterType=
"SysUser"
useGeneratedKeys=
"true"
keyProperty=
"userId"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录