Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
d02fb08b
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1431
Star
162
Fork
130
代码
文件
提交
分支
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看板
提交
d02fb08b
编写于
11月 21, 2021
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
编辑器模板新增logo属性
上级
122502f0
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
11 addition
and
5 deletion
+11
-5
skyeye-common/src/main/java/com/skyeye/common/constans/Constants.java
...n/src/main/java/com/skyeye/common/constans/Constants.java
+2
-1
skyeye-common/src/main/resources/mapper/common/SysEveModelMapper.xml
...on/src/main/resources/mapper/common/SysEveModelMapper.xml
+6
-2
skyeye-common/src/main/resources/reqmapping/mapping/common.xml
...e-common/src/main/resources/reqmapping/mapping/common.xml
+3
-1
skyeye-userauth/src/main/java/com/skyeye/eve/service/impl/CommonServiceImpl.java
...n/java/com/skyeye/eve/service/impl/CommonServiceImpl.java
+0
-1
未找到文件。
skyeye-common/src/main/java/com/skyeye/common/constans/Constants.java
浏览文件 @
d02fb08b
...
@@ -274,7 +274,8 @@ public class Constants {
...
@@ -274,7 +274,8 @@ public class Constants {
SCHOOLBANK
(
new
int
[]{
16
},
"/schoolBank"
,
"/schoolBank/"
,
"考试题库文件"
),
SCHOOLBANK
(
new
int
[]{
16
},
"/schoolBank"
,
"/schoolBank/"
,
"考试题库文件"
),
ACT_MODEL
(
new
int
[]{
17
},
"/actmodel"
,
"/actmodel/"
,
"流程配置图片"
),
ACT_MODEL
(
new
int
[]{
17
},
"/actmodel"
,
"/actmodel/"
,
"流程配置图片"
),
REPORT_BG_IMAGE
(
new
int
[]{
18
},
"/reportBgImage"
,
"/reportBgImage/"
,
"报表基础设置背景图"
),
REPORT_BG_IMAGE
(
new
int
[]{
18
},
"/reportBgImage"
,
"/reportBgImage/"
,
"报表基础设置背景图"
),
REPORT_WORD_MODEL_IMAGE
(
new
int
[]{
19
},
"/reportWordModel"
,
"/reportWordModel/"
,
"报表文字模型logo"
);
REPORT_WORD_MODEL_IMAGE
(
new
int
[]{
19
},
"/reportWordModel"
,
"/reportWordModel/"
,
"报表文字模型logo"
),
SYS_MODEL
(
new
int
[]{
20
},
"/sysmodel"
,
"/sysmodel/"
,
"编辑器素材logo图片"
),;
private
int
[]
type
;
private
int
[]
type
;
// 保存地址
// 保存地址
...
...
skyeye-common/src/main/resources/mapper/common/SysEveModelMapper.xml
浏览文件 @
d02fb08b
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
a.id,
a.id,
a.title title,
a.title title,
CASE a.type WHEN '1' THEN '系统模板' WHEN '2' THEN '个人模板' ELSE a.type END type,
CASE a.type WHEN '1' THEN '系统模板' WHEN '2' THEN '个人模板' ELSE a.type END type,
a.logo,
a.content content,
a.content content,
b.type_name firstTypeName,
b.type_name firstTypeName,
c.type_name secondTypeName
c.type_name secondTypeName
...
@@ -51,8 +52,8 @@
...
@@ -51,8 +52,8 @@
<insert
id=
"insertSysEveModelMation"
parameterType=
"java.util.Map"
>
<insert
id=
"insertSysEveModelMation"
parameterType=
"java.util.Map"
>
INSERT INTO sys_eve_model
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)
(id, title, content, type, create_id, create_time, first_type_id, second_type_id, last_update_id, last_update_time
, logo
)
VALUES(#{id}, #{title}, #{content}, #{type}, #{userId}, #{createTime}, #{firstTypeId}, #{secondTypeId}, #{userId}, #{createTime})
VALUES(#{id}, #{title}, #{content}, #{type}, #{userId}, #{createTime}, #{firstTypeId}, #{secondTypeId}, #{userId}, #{createTime}
, #{logo}
)
</insert>
</insert>
<delete
id=
"deleteSysEveModelById"
parameterType=
"java.util.Map"
>
<delete
id=
"deleteSysEveModelById"
parameterType=
"java.util.Map"
>
...
@@ -69,6 +70,7 @@
...
@@ -69,6 +70,7 @@
a.title title,
a.title title,
a.content content,
a.content content,
a.type type,
a.type type,
a.logo,
a.first_type_id firstTypeId,
a.first_type_id firstTypeId,
a.second_type_id secondTypeId
a.second_type_id secondTypeId
FROM
FROM
...
@@ -82,6 +84,7 @@
...
@@ -82,6 +84,7 @@
a.id,
a.id,
a.title title,
a.title title,
a.content content,
a.content content,
a.logo,
CASE a.type WHEN '1' THEN '系统模板' WHEN '2' THEN '个人模板' ELSE a.type END type,
CASE a.type WHEN '1' THEN '系统模板' WHEN '2' THEN '个人模板' ELSE a.type END type,
b.type_name firstTypeName,
b.type_name firstTypeName,
c.type_name secondTypeName
c.type_name secondTypeName
...
@@ -98,6 +101,7 @@
...
@@ -98,6 +101,7 @@
<set>
<set>
title = #{title},
title = #{title},
content = #{content},
content = #{content},
logo = #{logo},
type = #{type},
type = #{type},
first_type_id = #{firstTypeId},
first_type_id = #{firstTypeId},
second_type_id = #{secondTypeId},
second_type_id = #{secondTypeId},
...
...
skyeye-common/src/main/resources/reqmapping/mapping/common.xml
浏览文件 @
d02fb08b
...
@@ -105,6 +105,7 @@
...
@@ -105,6 +105,7 @@
<url
id=
"sysevemodel002"
path=
"/post/SysEveModelController/insertSysEveModelMation"
val=
"新增系统编辑器模板"
method=
"POST"
allUse=
"1"
groupName=
"系统编辑器模板"
>
<url
id=
"sysevemodel002"
path=
"/post/SysEveModelController/insertSysEveModelMation"
val=
"新增系统编辑器模板"
method=
"POST"
allUse=
"1"
groupName=
"系统编辑器模板"
>
<property
id=
"title"
name=
"title"
ref=
"required"
var=
"标题"
/>
<property
id=
"title"
name=
"title"
ref=
"required"
var=
"标题"
/>
<property
id=
"content"
name=
"content"
ref=
"required"
var=
"模板内容"
/>
<property
id=
"content"
name=
"content"
ref=
"required"
var=
"模板内容"
/>
<property
id=
"logo"
name=
"logo"
ref=
"required"
var=
"logo路径"
/>
<property
id=
"type"
name=
"type"
ref=
"required,num"
var=
"模板类型"
/>
<property
id=
"type"
name=
"type"
ref=
"required,num"
var=
"模板类型"
/>
<property
id=
"firstTypeId"
name=
"firstTypeId"
ref=
"required"
var=
"所属一级分类"
/>
<property
id=
"firstTypeId"
name=
"firstTypeId"
ref=
"required"
var=
"所属一级分类"
/>
<property
id=
"secondTypeId"
name=
"secondTypeId"
ref=
"required"
var=
"所属二级分类"
/>
<property
id=
"secondTypeId"
name=
"secondTypeId"
ref=
"required"
var=
"所属二级分类"
/>
...
@@ -119,11 +120,12 @@
...
@@ -119,11 +120,12 @@
<property
id=
"id"
name=
"id"
ref=
"required"
var=
"模板id"
/>
<property
id=
"id"
name=
"id"
ref=
"required"
var=
"模板id"
/>
<property
id=
"title"
name=
"title"
ref=
"required"
var=
"标题"
/>
<property
id=
"title"
name=
"title"
ref=
"required"
var=
"标题"
/>
<property
id=
"content"
name=
"content"
ref=
"required"
var=
"模板内容"
/>
<property
id=
"content"
name=
"content"
ref=
"required"
var=
"模板内容"
/>
<property
id=
"logo"
name=
"logo"
ref=
"required"
var=
"logo路径"
/>
<property
id=
"type"
name=
"type"
ref=
"required,num"
var=
"模板类型"
/>
<property
id=
"type"
name=
"type"
ref=
"required,num"
var=
"模板类型"
/>
<property
id=
"firstTypeId"
name=
"firstTypeId"
ref=
"required"
var=
"所属一级分类"
/>
<property
id=
"firstTypeId"
name=
"firstTypeId"
ref=
"required"
var=
"所属一级分类"
/>
<property
id=
"secondTypeId"
name=
"secondTypeId"
ref=
"required"
var=
"所属二级分类"
/>
<property
id=
"secondTypeId"
name=
"secondTypeId"
ref=
"required"
var=
"所属二级分类"
/>
</url>
</url>
<url
id=
"sysevemodel006"
path=
"/post/SysEveModelController/selectSysEveModelMationById"
val=
"通过id查找对应的系统编辑器模板详情"
method=
"GET"
allUse=
"
1
"
groupName=
"系统编辑器模板"
>
<url
id=
"sysevemodel006"
path=
"/post/SysEveModelController/selectSysEveModelMationById"
val=
"通过id查找对应的系统编辑器模板详情"
method=
"GET"
allUse=
"
2
"
groupName=
"系统编辑器模板"
>
<property
id=
"id"
name=
"id"
ref=
"required"
var=
"模板id"
/>
<property
id=
"id"
name=
"id"
ref=
"required"
var=
"模板id"
/>
</url>
</url>
<!-- 系统编辑器模板结束 -->
<!-- 系统编辑器模板结束 -->
...
...
skyeye-userauth/src/main/java/com/skyeye/eve/service/impl/CommonServiceImpl.java
浏览文件 @
d02fb08b
...
@@ -271,7 +271,6 @@ public class CommonServiceImpl implements CommonService{
...
@@ -271,7 +271,6 @@ public class CommonServiceImpl implements CommonService{
* @return void 返回类型
* @return void 返回类型
* @throws
* @throws
*/
*/
@SuppressWarnings
(
"unchecked"
)
@Override
@Override
public
void
querySysWinMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
public
void
querySysWinMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录