Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
aa7f2548
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1173
Star
154
Fork
127
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
aa7f2548
编写于
10月 22, 2018
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
公共获取小程序分类列表
上级
5f6c5e90
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
56 addition
and
0 deletion
+56
-0
skyeye-dao/src/main/java/com/skyeye/smprogram/dao/RmTypeDao.java
...dao/src/main/java/com/skyeye/smprogram/dao/RmTypeDao.java
+2
-0
skyeye-service/src/main/java/com/skyeye/smprogram/service/RmTypeService.java
...main/java/com/skyeye/smprogram/service/RmTypeService.java
+2
-0
skyeye-service/src/main/java/com/skyeye/smprogram/service/impl/RmTypeServiceImpl.java
.../com/skyeye/smprogram/service/impl/RmTypeServiceImpl.java
+20
-0
skyeye-web/src/main/java/com/skyeye/smprogram/controller/RmTypeController.java
...ava/com/skyeye/smprogram/controller/RmTypeController.java
+16
-0
skyeye-web/src/main/resources/dbmapper/RmTypeMapper.xml
skyeye-web/src/main/resources/dbmapper/RmTypeMapper.xml
+9
-0
skyeye-web/src/main/resources/mapping/reqmapping.xml
skyeye-web/src/main/resources/mapping/reqmapping.xml
+7
-0
未找到文件。
skyeye-dao/src/main/java/com/skyeye/smprogram/dao/RmTypeDao.java
浏览文件 @
aa7f2548
...
...
@@ -31,4 +31,6 @@ public interface RmTypeDao {
public
Map
<
String
,
Object
>
queryRmTypeISLowerByThisId
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
List
<
Map
<
String
,
Object
>>
queryRmTypeAllList
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
}
skyeye-service/src/main/java/com/skyeye/smprogram/service/RmTypeService.java
浏览文件 @
aa7f2548
...
...
@@ -19,4 +19,6 @@ public interface RmTypeService {
public
void
editRmTypeSortLowerById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
public
void
queryRmTypeAllList
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
}
skyeye-service/src/main/java/com/skyeye/smprogram/service/impl/RmTypeServiceImpl.java
浏览文件 @
aa7f2548
...
...
@@ -181,6 +181,26 @@ public class RmTypeServiceImpl implements RmTypeService{
rmTypeDao
.
editRmTypeSortTopById
(
topBean
);
}
}
/**
*
* @Title: queryRmTypeAllList
* @Description: 获取所有小程序分类
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public
void
queryRmTypeAllList
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
List
<
Map
<
String
,
Object
>>
beans
=
rmTypeDao
.
queryRmTypeAllList
(
map
);
if
(
beans
!=
null
&&
!
beans
.
isEmpty
()){
outputObject
.
setBeans
(
beans
);
outputObject
.
settotal
(
beans
.
size
());
}
}
...
...
skyeye-web/src/main/java/com/skyeye/smprogram/controller/RmTypeController.java
浏览文件 @
aa7f2548
...
...
@@ -127,4 +127,20 @@ public class RmTypeController {
rmTypeService
.
editRmTypeSortLowerById
(
inputObject
,
outputObject
);
}
/**
*
* @Title: queryRmTypeAllList
* @Description: 获取所有小程序分类
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/RmTypeController/queryRmTypeAllList"
)
@ResponseBody
public
void
queryRmTypeAllList
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
rmTypeService
.
queryRmTypeAllList
(
inputObject
,
outputObject
);
}
}
skyeye-web/src/main/resources/dbmapper/RmTypeMapper.xml
浏览文件 @
aa7f2548
...
...
@@ -127,4 +127,13 @@
ORDER BY a.sort DESC LIMIT 1
</select>
<select
id=
"queryRmTypeAllList"
parameterType=
"java.util.Map"
resultType=
"java.util.Map"
>
SELECT
a.id,
a.name
FROM
rm_type a
ORDER BY a.sort DESC, a.create_time DESC
</select>
</mapper>
\ No newline at end of file
skyeye-web/src/main/resources/mapping/reqmapping.xml
浏览文件 @
aa7f2548
...
...
@@ -3,6 +3,7 @@
<!--
- allUse 是否需要登录才能使用 1是 0否 默认为否
-->
<!-- 登录开始 -->
<url
id=
"login001"
path=
"/post/SysEveUserController/queryUserToLogin"
val=
"登录"
allUse=
"0"
>
<property
id=
"userCode"
name=
"userCode"
ref=
""
var=
"账号"
/>
<property
id=
"password"
name=
"password"
ref=
""
var=
"密码"
/>
...
...
@@ -15,6 +16,12 @@
</url>
<url
id=
"login005"
path=
"/post/SysEveUserController/queryAllMenuBySession"
val=
"获取全部菜单列表"
allUse=
"1"
>
</url>
<!-- 登录结束 -->
<!-- 公共请求开始 -->
<url
id=
"common001"
path=
"/post/RmTypeController/queryRmTypeAllList"
val=
"获取所有小程序分类"
allUse=
"1"
>
</url>
<!-- 公共请求结束 -->
<!-- 系统角色用户管理开始 -->
<url
id=
"sys001"
path=
"/post/SysEveUserController/querySysUserList"
val=
"获取用户列表"
allUse=
"1"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录