Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
85942030
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看板
提交
85942030
编写于
11月 14, 2021
作者:
doc_wei
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'company_server' of
https://gitee.com/doc_wei01/skyeye
into company_server
上级
b54d28cb
b44557b8
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
485 addition
and
6 deletion
+485
-6
skyeye-common/src/main/java/com/skyeye/eve/controller/SysEveModelController.java
...java/com/skyeye/eve/controller/SysEveModelController.java
+117
-0
skyeye-common/src/main/java/com/skyeye/eve/dao/SysEveModelDao.java
...mmon/src/main/java/com/skyeye/eve/dao/SysEveModelDao.java
+36
-0
skyeye-common/src/main/java/com/skyeye/eve/service/SysEveModelService.java
.../main/java/com/skyeye/eve/service/SysEveModelService.java
+23
-0
skyeye-common/src/main/java/com/skyeye/eve/service/impl/SysEveModelServiceImpl.java
...a/com/skyeye/eve/service/impl/SysEveModelServiceImpl.java
+165
-0
skyeye-common/src/main/resources/mapper/common/SysEveModelMapper.xml
...on/src/main/resources/mapper/common/SysEveModelMapper.xml
+103
-0
skyeye-common/src/main/resources/reqmapping/mapping/common.xml
...e-common/src/main/resources/reqmapping/mapping/common.xml
+41
-6
未找到文件。
skyeye-common/src/main/java/com/skyeye/eve/controller/SysEveModelController.java
0 → 100644
浏览文件 @
85942030
/*******************************************************************************
* Copyright 卫志强 QQ:598748873@qq.com Inc. All rights reserved. 开源地址:https://gitee.com/doc_wei01/skyeye
******************************************************************************/
package
com.skyeye.eve.controller
;
import
com.skyeye.common.object.InputObject
;
import
com.skyeye.common.object.OutputObject
;
import
com.skyeye.eve.service.SysEveModelService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.ResponseBody
;
@Controller
public
class
SysEveModelController
{
@Autowired
private
SysEveModelService
sysEveModelService
;
/**
*
* @Title: querySysEveModelList
* @Description: 获取系统编辑器模板表
* @param inputObject
* @param outputObject
* @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/SysEveModelController/querySysEveModelList"
)
@ResponseBody
public
void
querySysEveModelList
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
sysEveModelService
.
querySysEveModelList
(
inputObject
,
outputObject
);
}
/**
*
* @Title: insertSysEveModelMation
* @Description: 新增系统编辑器模板
* @param inputObject
* @param outputObject
* @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/SysEveModelController/insertSysEveModelMation"
)
@ResponseBody
public
void
insertSysEveModelMation
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
sysEveModelService
.
insertSysEveModelMation
(
inputObject
,
outputObject
);
}
/**
*
* @Title: deleteSysEveModelById
* @Description: 删除系统编辑器模板
* @param inputObject
* @param outputObject
* @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/SysEveModelController/deleteSysEveModelById"
)
@ResponseBody
public
void
deleteSysEveModelById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
sysEveModelService
.
deleteSysEveModelById
(
inputObject
,
outputObject
);
}
/**
*
* @Title: selectSysEveModelById
* @Description: 通过id查找对应的系统编辑器模板
* @param inputObject
* @param outputObject
* @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/SysEveModelController/selectSysEveModelById"
)
@ResponseBody
public
void
selectSysEveModelById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
sysEveModelService
.
selectSysEveModelById
(
inputObject
,
outputObject
);
}
/**
*
* @Title: editSysEveModelMationById
* @Description: 通过id编辑对应的系统编辑器模板
* @param inputObject
* @param outputObject
* @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/SysEveModelController/editSysEveModelMationById"
)
@ResponseBody
public
void
editSysEveModelMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
sysEveModelService
.
editSysEveModelMationById
(
inputObject
,
outputObject
);
}
/**
*
* @Title: selectSysEveModelMationById
* @Description: 通过id查找对应的系统编辑器模板详情
* @param inputObject
* @param outputObject
* @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/SysEveModelController/selectSysEveModelMationById"
)
@ResponseBody
public
void
selectSysEveModelMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
sysEveModelService
.
selectSysEveModelMationById
(
inputObject
,
outputObject
);
}
}
skyeye-common/src/main/java/com/skyeye/eve/dao/SysEveModelDao.java
0 → 100644
浏览文件 @
85942030
/*******************************************************************************
* Copyright 卫志强 QQ:598748873@qq.com Inc. All rights reserved. 开源地址:https://gitee.com/doc_wei01/skyeye
******************************************************************************/
package
com.skyeye.eve.dao
;
import
java.util.List
;
import
java.util.Map
;
/**
*
* @ClassName: SysEveModelDao
* @Description: 系统编辑器模板数据层
* @author: skyeye云系列
* @date: 2021/11/14 9:03
*
* @Copyright: 2021 https://gitee.com/doc_wei01/skyeye Inc. All rights reserved.
* 注意:本内容仅限购买后使用.禁止私自外泄以及用于其他的商业目的
*/
public
interface
SysEveModelDao
{
public
List
<
Map
<
String
,
Object
>>
querySysEveModelList
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
Map
<
String
,
Object
>
querySysEveModelMationByName
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
int
insertSysEveModelMation
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
int
deleteSysEveModelById
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
Map
<
String
,
Object
>
selectSysEveModelById
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
Map
<
String
,
Object
>
selectSysEveModelMationById
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
int
editSysEveModelMationById
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
}
skyeye-common/src/main/java/com/skyeye/eve/service/SysEveModelService.java
0 → 100644
浏览文件 @
85942030
/*******************************************************************************
* Copyright 卫志强 QQ:598748873@qq.com Inc. All rights reserved. 开源地址:https://gitee.com/doc_wei01/skyeye
******************************************************************************/
package
com.skyeye.eve.service
;
import
com.skyeye.common.object.InputObject
;
import
com.skyeye.common.object.OutputObject
;
public
interface
SysEveModelService
{
public
void
querySysEveModelList
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
public
void
insertSysEveModelMation
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
public
void
deleteSysEveModelById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
public
void
selectSysEveModelById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
public
void
selectSysEveModelMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
public
void
editSysEveModelMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
}
skyeye-common/src/main/java/com/skyeye/eve/service/impl/SysEveModelServiceImpl.java
0 → 100644
浏览文件 @
85942030
/*******************************************************************************
* Copyright 卫志强 QQ:598748873@qq.com Inc. All rights reserved. 开源地址:https://gitee.com/doc_wei01/skyeye
******************************************************************************/
package
com.skyeye.eve.service.impl
;
import
com.github.pagehelper.Page
;
import
com.github.pagehelper.PageHelper
;
import
com.skyeye.common.object.InputObject
;
import
com.skyeye.common.object.OutputObject
;
import
com.skyeye.common.util.DateUtil
;
import
com.skyeye.common.util.ToolUtil
;
import
com.skyeye.eve.dao.SysEveModelDao
;
import
com.skyeye.eve.service.SysEveModelService
;
import
com.skyeye.jedis.JedisClientService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.Map
;
/**
*
* @ClassName: SysEveModelServiceImpl
* @Description: 系统编辑器模板服务类
* @author: skyeye云系列
* @date: 2021/11/14 9:10
*
* @Copyright: 2021 https://gitee.com/doc_wei01/skyeye Inc. All rights reserved.
* 注意:本内容仅限购买后使用.禁止私自外泄以及用于其他的商业目的
*/
@Service
public
class
SysEveModelServiceImpl
implements
SysEveModelService
{
@Autowired
private
SysEveModelDao
sysEveModelDao
;
@Autowired
public
JedisClientService
jedisClient
;
/**
*
* @Title: querySysEveModelList
* @Description: 获取系统编辑器模板表
* @param inputObject
* @param outputObject
* @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public
void
querySysEveModelList
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
Page
pages
=
PageHelper
.
startPage
(
Integer
.
parseInt
(
map
.
get
(
"page"
).
toString
()),
Integer
.
parseInt
(
map
.
get
(
"limit"
).
toString
()));
List
<
Map
<
String
,
Object
>>
beans
=
sysEveModelDao
.
querySysEveModelList
(
map
);
outputObject
.
setBeans
(
beans
);
outputObject
.
settotal
(
pages
.
getTotal
());
}
/**
*
* @Title: insertSysEveModelMation
* @Description: 新增系统编辑器模板
* @param inputObject
* @param outputObject
* @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
@Transactional
(
value
=
"transactionManager"
)
public
void
insertSysEveModelMation
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
Map
<
String
,
Object
>
bean
=
sysEveModelDao
.
querySysEveModelMationByName
(
map
);
if
(
bean
!=
null
&&
!
bean
.
isEmpty
()){
outputObject
.
setreturnMessage
(
"该系统编辑器模板已存在,请更换"
);
}
else
{
Map
<
String
,
Object
>
user
=
inputObject
.
getLogParams
();
map
.
put
(
"id"
,
ToolUtil
.
getSurFaceId
());
map
.
put
(
"pageNum"
,
ToolUtil
.
getUniqueKey
().
substring
(
10
,
20
));
map
.
put
(
"createId"
,
user
.
get
(
"id"
));
map
.
put
(
"createTime"
,
DateUtil
.
getTimeAndToString
());
sysEveModelDao
.
insertSysEveModelMation
(
map
);
}
}
/**
*
* @Title: deleteSysEveModelById
* @Description: 删除编辑器模板
* @param inputObject
* @param outputObject
* @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
@Transactional
(
value
=
"transactionManager"
)
public
void
deleteSysEveModelById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
sysEveModelDao
.
deleteSysEveModelById
(
map
);
}
/**
*
* @Title: selectSysEveModelById
* @Description: 通过id查找对应的编辑器模板
* @param inputObject
* @param outputObject
* @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public
void
selectSysEveModelById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
Map
<
String
,
Object
>
bean
=
sysEveModelDao
.
selectSysEveModelById
(
map
);
outputObject
.
setBean
(
bean
);
outputObject
.
settotal
(
1
);
}
/**
*
* @Title: editSysEveModelMationById
* @Description: 通过id编辑对应的编辑器模板
* @param inputObject
* @param outputObject
* @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
@Transactional
(
value
=
"transactionManager"
)
public
void
editSysEveModelMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
Map
<
String
,
Object
>
b
=
sysEveModelDao
.
querySysEveModelMationByName
(
map
);
if
(
b
!=
null
&&
!
b
.
isEmpty
()){
outputObject
.
setreturnMessage
(
"该编辑器模板已存在,请更换"
);
}
else
{
map
.
put
(
"lastUpdateTime"
,
DateUtil
.
getTimeAndToString
());
map
.
put
(
"userId"
,
inputObject
.
getLogParams
().
get
(
"id"
));
sysEveModelDao
.
editSysEveModelMationById
(
map
);
}
}
/**
*
* @Title: selectSysEveModelMationById
* @Description: 通过id查找对应的编辑器模板详情
* @param inputObject
* @param outputObject
* @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public
void
selectSysEveModelMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
Map
<
String
,
Object
>
bean
=
sysEveModelDao
.
selectSysEveModelMationById
(
map
);
outputObject
.
setBean
(
bean
);
outputObject
.
settotal
(
1
);
}
}
skyeye-common/src/main/resources/mapper/common/SysEveModelMapper.xml
0 → 100644
浏览文件 @
85942030
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper
namespace=
"com.skyeye.eve.dao.SysEveModelDao"
>
<select
id=
"querySysEveModelList"
parameterType=
"java.util.Map"
resultType=
"java.util.Map"
>
SELECT
a.id,
a.title title,
CASE a.type WHEN '1' THEN '系统模板' WHEN '2' THEN '个人模板' ELSE a.type END type,
a.content content,
b.type_name firstTypeName,
c.type_name secondTypeName
FROM
sys_eve_model a
LEFT JOIN sys_eve_model_type b ON a.first_type_id = b.id
LEFT JOIN sys_eve_model_type c ON a.second_type_id = c.id
WHERE 1 = 1
<if
test=
"title != '' and title != null"
>
AND a.title LIKE '%${title}%'
</if>
<if
test=
"type != '' and type != null"
>
AND a.type = #{type}
</if>
<if
test=
"firstTypeId != '' and firstTypeId != null"
>
AND a.first_type_id = #{firstTypeId}
</if>
<if
test=
"secondTypeId != '' and secondTypeId != null"
>
AND a.second_type_id = #{secondTypeId}
</if>
ORDER BY a.create_time DESC
</select>
<select
id=
"querySysEveModelMationByName"
parameterType=
"java.util.Map"
resultType=
"java.util.Map"
>
SELECT
a.id
FROM
sys_eve_model a
WHERE
a.title = #{title}
<if
test=
"id != '' and id != null"
>
AND a.id != #{id}
</if>
</select>
<insert
id=
"insertSysEveModelMation"
parameterType=
"java.util.Map"
>
INSERT INTO sys_eve_model
(id, title, content, type, create_id, create_time, first_type_id, second_type_id, last_update_id, last_update_time)
VALUES(#{id}, #{title}, #{content}, #{type}, #{createId}, #{createTime}, #{firstTypeId}, #{secondTypeId}, #{createId}, #{createTime})
</insert>
<delete
id=
"deleteSysEveModelById"
parameterType=
"java.util.Map"
>
DELETE
FROM
sys_eve_model
WHERE
id = #{id}
</delete>
<select
id=
"selectSysEveModelById"
parameterType=
"java.util.Map"
resultType=
"java.util.Map"
>
SELECT
a.id,
a.title title,
a.content content,
a.type type,
a.first_type_id firstTypeId,
a.second_type_id secondTypeId
FROM
sys_eve_model a
WHERE
a.id = #{id}
</select>
<select
id=
"selectSysEveModelMationById"
parameterType=
"java.util.Map"
resultType=
"java.util.Map"
>
SELECT
a.id,
a.title title,
a.content content,
CASE a.type WHEN '1' THEN '系统模板' WHEN '2' THEN '个人模板' ELSE a.type END type,
b.type_name firstTypeName,
c.type_name secondTypeName
FROM
sys_eve_model a
LEFT JOIN sys_eve_model_type b ON a.first_type_id = b.id
LEFT JOIN sys_eve_model_type c ON a.second_type_id = c.id
WHERE
a.id = #{id}
</select>
<update
id=
"editSysEveModelMationById"
parameterType=
"java.util.Map"
>
UPDATE sys_eve_model
<set>
title = #{title},
content = #{content},
type = #{type},
first_type_id = #{firstTypeId},
second_type_id = #{secondTypeId},
last_update_id = #{userId},
last_update_time = #{lastUpdateTime}
</set>
WHERE id = #{id}
</update>
</mapper>
\ No newline at end of file
skyeye-common/src/main/resources/reqmapping/mapping/common.xml
浏览文件 @
85942030
...
@@ -70,27 +70,62 @@
...
@@ -70,27 +70,62 @@
<!-- 系统基础设置结束 -->
<!-- 系统基础设置结束 -->
<!-- 系统模板分类开始 -->
<!-- 系统模板分类开始 -->
<url
id=
"sysevemodeltype001"
path=
"/post/SysEveModelTypeController/querySysEveModelTypeList"
method=
"POST"
val=
"获取系统模板分类列表"
allUse=
"1"
>
<url
id=
"sysevemodeltype001"
path=
"/post/SysEveModelTypeController/querySysEveModelTypeList"
method=
"POST"
val=
"获取系统模板分类列表"
allUse=
"1"
groupName=
"系统模板分类"
>
<property
id=
"typeName"
name=
"typeName"
ref=
""
var=
"分类名称"
/>
<property
id=
"typeName"
name=
"typeName"
ref=
""
var=
"分类名称"
/>
</url>
</url>
<url
id=
"sysevemodeltype002"
path=
"/post/SysEveModelTypeController/insertSysEveModelType"
method=
"POST"
val=
"新增系统模板分类"
allUse=
"1"
>
<url
id=
"sysevemodeltype002"
path=
"/post/SysEveModelTypeController/insertSysEveModelType"
method=
"POST"
val=
"新增系统模板分类"
allUse=
"1"
groupName=
"系统模板分类"
>
<property
id=
"typeName"
name=
"typeName"
ref=
"required"
var=
"分类名称"
/>
<property
id=
"typeName"
name=
"typeName"
ref=
"required"
var=
"分类名称"
/>
<property
id=
"parentId"
name=
"parentId"
ref=
"required"
var=
"父id"
/>
<property
id=
"parentId"
name=
"parentId"
ref=
"required"
var=
"父id"
/>
</url>
</url>
<url
id=
"sysevemodeltype003"
path=
"/post/SysEveModelTypeController/delSysEveModelTypeById"
method=
"DELETE"
val=
"删除系统模板分类"
allUse=
"1"
>
<url
id=
"sysevemodeltype003"
path=
"/post/SysEveModelTypeController/delSysEveModelTypeById"
method=
"DELETE"
val=
"删除系统模板分类"
allUse=
"1"
groupName=
"系统模板分类"
>
<property
id=
"id"
name=
"id"
ref=
"required"
var=
"系统模板分类id"
/>
<property
id=
"id"
name=
"id"
ref=
"required"
var=
"系统模板分类id"
/>
</url>
</url>
<url
id=
"sysevemodeltype004"
path=
"/post/SysEveModelTypeController/querySysEveModelTypeById"
method=
"GET"
val=
"根据id查询系统模板分类详情"
allUse=
"2"
>
<url
id=
"sysevemodeltype004"
path=
"/post/SysEveModelTypeController/querySysEveModelTypeById"
method=
"GET"
val=
"根据id查询系统模板分类详情"
allUse=
"2"
groupName=
"系统模板分类"
>
<property
id=
"id"
name=
"id"
ref=
"required"
var=
"系统模板分类id"
/>
<property
id=
"id"
name=
"id"
ref=
"required"
var=
"系统模板分类id"
/>
</url>
</url>
<url
id=
"sysevemodeltype005"
path=
"/post/SysEveModelTypeController/updateSysEveModelTypeById"
method=
"PUT"
val=
"通过id编辑对应的系统模板分类信息"
allUse=
"1"
>
<url
id=
"sysevemodeltype005"
path=
"/post/SysEveModelTypeController/updateSysEveModelTypeById"
method=
"PUT"
val=
"通过id编辑对应的系统模板分类信息"
allUse=
"1"
groupName=
"系统模板分类"
>
<property
id=
"id"
name=
"id"
ref=
"required"
var=
"系统模板分类id"
/>
<property
id=
"id"
name=
"id"
ref=
"required"
var=
"系统模板分类id"
/>
<property
id=
"typeName"
name=
"typeName"
ref=
"required"
var=
"分类名称"
/>
<property
id=
"typeName"
name=
"typeName"
ref=
"required"
var=
"分类名称"
/>
<property
id=
"parentId"
name=
"parentId"
ref=
"required"
var=
"父id"
/>
<property
id=
"parentId"
name=
"parentId"
ref=
"required"
var=
"父id"
/>
</url>
</url>
<url
id=
"sysevemodeltype006"
path=
"/post/SysEveModelTypeController/querySysEveModelTypeByParentId"
method=
"GET"
val=
"通过parentId查找对应的系统模板分类列表"
allUse=
"2"
>
<url
id=
"sysevemodeltype006"
path=
"/post/SysEveModelTypeController/querySysEveModelTypeByParentId"
method=
"GET"
val=
"通过parentId查找对应的系统模板分类列表"
allUse=
"2"
groupName=
"系统模板分类"
>
<property
id=
"parentId"
name=
"parentId"
ref=
"required"
var=
"父id"
/>
<property
id=
"parentId"
name=
"parentId"
ref=
"required"
var=
"父id"
/>
</url>
</url>
<!-- 系统模板分类结束 -->
<!-- 系统模板分类结束 -->
<!-- 系统编辑器模板开始 -->
<url
id=
"sysevemodel001"
path=
"/post/SysEveModelController/querySysEveModelList"
val=
"获取系统编辑器模板列表"
method=
"POST"
allUse=
"1"
groupName=
"系统编辑器模板"
>
<property
id=
"limit"
name=
"limit"
ref=
"required,num"
var=
"分页参数,每页多少条数据"
/>
<property
id=
"page"
name=
"page"
ref=
"required,num"
var=
"分页参数,第几页"
/>
<property
id=
"title"
name=
"title"
ref=
""
var=
"标题"
/>
<property
id=
"type"
name=
"type"
ref=
""
var=
"模板类型"
/>
<property
id=
"firstTypeId"
name=
"firstTypeId"
ref=
""
var=
"所属一级分类"
/>
<property
id=
"secondTypeId"
name=
"secondTypeId"
ref=
""
var=
"所属二级分类"
/>
</url>
<url
id=
"sysevemodel002"
path=
"/post/SysEveModelController/insertSysEveModelMation"
val=
"新增系统编辑器模板"
method=
"POST"
allUse=
"1"
groupName=
"系统编辑器模板"
>
<property
id=
"title"
name=
"title"
ref=
"required"
var=
"标题"
/>
<property
id=
"content"
name=
"content"
ref=
""
var=
"模板内容"
/>
<property
id=
"type"
name=
"type"
ref=
"required,num"
var=
"模板类型"
/>
<property
id=
"firstTypeId"
name=
"firstTypeId"
ref=
"required"
var=
"所属一级分类"
/>
<property
id=
"secondTypeId"
name=
"secondTypeId"
ref=
"required"
var=
"所属二级分类"
/>
</url>
<url
id=
"sysevemodel003"
path=
"/post/SysEveModelController/deleteSysEveModelById"
val=
"删除系统编辑器模板"
method=
"DELETE"
allUse=
"1"
groupName=
"系统编辑器模板"
>
<property
id=
"id"
name=
"id"
ref=
"required"
var=
"模板id"
/>
</url>
<url
id=
"sysevemodel004"
path=
"/post/SysEveModelController/selectSysEveModelById"
val=
"通过id查找对应的系统编辑器模板"
method=
"GET"
allUse=
"2"
groupName=
"系统编辑器模板"
>
<property
id=
"id"
name=
"id"
ref=
"required"
var=
"模板id"
/>
</url>
<url
id=
"sysevemodel005"
path=
"/post/SysEveModelController/editSysEveModelMationById"
val=
"通过id编辑对应的系统编辑器模板"
method=
"PUT"
allUse=
"1"
groupName=
"系统编辑器模板"
>
<property
id=
"id"
name=
"id"
ref=
"required"
var=
"模板id"
/>
<property
id=
"title"
name=
"title"
ref=
""
var=
"标题"
/>
<property
id=
"content"
name=
"content"
ref=
""
var=
"模板内容"
/>
<property
id=
"type"
name=
"type"
ref=
"required,num"
var=
"模板类型"
/>
<property
id=
"firstTypeId"
name=
"firstTypeId"
ref=
"required"
var=
"所属一级分类"
/>
<property
id=
"secondTypeId"
name=
"secondTypeId"
ref=
"required"
var=
"所属二级分类"
/>
</url>
<url
id=
"sysevemodel006"
path=
"/post/SysEveModelController/selectSysEveModelMationById"
val=
"通过id查找对应的系统编辑器模板详情"
method=
"GET"
allUse=
"1"
groupName=
"系统编辑器模板"
>
<property
id=
"id"
name=
"id"
ref=
"required"
var=
"模板id"
/>
</url>
<!-- 系统编辑器模板结束 -->
</controller>
</controller>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录