Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
713ccf66
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1175
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看板
提交
713ccf66
编写于
11月 19, 2018
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
图片删除修改
上级
935c0a60
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
44 addition
and
1 deletion
+44
-1
skyeye-service/src/main/java/com/skyeye/authority/service/SysEveWinBgPicService.java
...a/com/skyeye/authority/service/SysEveWinBgPicService.java
+2
-0
skyeye-service/src/main/java/com/skyeye/authority/service/impl/SysEveWinBgPicServiceImpl.java
...eye/authority/service/impl/SysEveWinBgPicServiceImpl.java
+22
-0
skyeye-web/src/main/java/com/skyeye/authority/controller/SysEveWinBgPicController.java
...skyeye/authority/controller/SysEveWinBgPicController.java
+16
-0
skyeye-web/src/main/resources/mapping/reqmapping.xml
skyeye-web/src/main/resources/mapping/reqmapping.xml
+3
-0
skyeye-web/src/main/webapp/js/systheme/systheme.js
skyeye-web/src/main/webapp/js/systheme/systheme.js
+1
-1
未找到文件。
skyeye-service/src/main/java/com/skyeye/authority/service/SysEveWinBgPicService.java
浏览文件 @
713ccf66
...
...
@@ -17,4 +17,6 @@ public interface SysEveWinBgPicService {
public
void
querySysEveWinBgPicCustomList
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
public
void
deleteSysEveWinBgPicMationCustomById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
}
skyeye-service/src/main/java/com/skyeye/authority/service/impl/SysEveWinBgPicServiceImpl.java
浏览文件 @
713ccf66
...
...
@@ -8,6 +8,7 @@ import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import
com.github.miemiedev.mybatis.paginator.domain.PageList
;
import
com.skyeye.authority.dao.SysEveWinBgPicDao
;
import
com.skyeye.authority.service.SysEveWinBgPicService
;
import
com.skyeye.common.constans.Constants
;
import
com.skyeye.common.object.InputObject
;
import
com.skyeye.common.object.OutputObject
;
import
com.skyeye.common.util.ToolUtil
;
...
...
@@ -142,4 +143,25 @@ public class SysEveWinBgPicServiceImpl implements SysEveWinBgPicService{
}
}
/**
*
* @Title: deleteSysEveWinBgPicMationById
* @Description: 删除win系统桌面图片信息用户自定义
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@SuppressWarnings
(
"static-access"
)
@Override
public
void
deleteSysEveWinBgPicMationCustomById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
Map
<
String
,
Object
>
bean
=
sysEveWinBgPicDao
.
querySysEveMationById
(
map
);
String
tPath
=
inputObject
.
getRequest
().
getSession
().
getServletContext
().
getRealPath
(
"/"
);
String
basePath
=
tPath
.
substring
(
0
,
inputObject
.
getRequest
().
getSession
().
getServletContext
().
getRealPath
(
"/"
).
indexOf
(
Constants
.
PROJECT_WEB
))
+
bean
.
get
(
"picUrl"
).
toString
();
ToolUtil
.
deleteFile
(
basePath
);
sysEveWinBgPicDao
.
deleteSysEveWinBgPicMationById
(
map
);
}
}
skyeye-web/src/main/java/com/skyeye/authority/controller/SysEveWinBgPicController.java
浏览文件 @
713ccf66
...
...
@@ -110,4 +110,20 @@ public class SysEveWinBgPicController {
sysEveWinBgPicService
.
querySysEveWinBgPicCustomList
(
inputObject
,
outputObject
);
}
/**
*
* @Title: deleteSysEveWinBgPicMationById
* @Description: 删除win系统桌面图片信息用户自定义
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/SysEveWinBgPicController/deleteSysEveWinBgPicMationCustomById"
)
@ResponseBody
public
void
deleteSysEveWinBgPicMationCustomById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
sysEveWinBgPicService
.
deleteSysEveWinBgPicMationCustomById
(
inputObject
,
outputObject
);
}
}
skyeye-web/src/main/resources/mapping/reqmapping.xml
浏览文件 @
713ccf66
...
...
@@ -182,6 +182,9 @@
</url>
<url
id=
"sysevewinbgpic006"
path=
"/post/SysEveWinBgPicController/querySysEveWinBgPicCustomList"
val=
"获取win系统桌面图片列表用户自定义"
allUse=
"1"
>
</url>
<url
id=
"sysevewinbgpic007"
path=
"/post/SysEveWinBgPicController/deleteSysEveWinBgPicMationCustomById"
val=
"删除win系统桌面图片信息用户自定义"
allUse=
"1"
>
<property
id=
"rowId"
name=
"id"
ref=
"required"
var=
"win系统桌面图片id"
/>
</url>
<url
id=
"sysevewinlockbgpic001"
path=
"/post/SysEveWinLockBgPicController/querySysEveWinLockBgPicList"
val=
"获取win系统锁屏桌面图片列表"
allUse=
"1"
>
<property
id=
"limit"
name=
"limit"
ref=
"required,num"
var=
"分页参数,每页多少条数据"
/>
...
...
skyeye-web/src/main/webapp/js/systheme/systheme.js
浏览文件 @
713ccf66
...
...
@@ -77,7 +77,7 @@ layui.config({
options
:
{
'
click .del
'
:
function
(
index
,
row
){
layer
.
confirm
(
'
确认删除选中数据吗?
'
,
{
icon
:
3
,
title
:
'
删除win系统桌面图片
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
sysevewinbgpic00
3
"
,
params
:{
rowId
:
row
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
sysevewinbgpic00
7
"
,
params
:{
rowId
:
row
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
top
.
winui
.
window
.
msg
(
"
删除成功
"
,
{
icon
:
1
,
time
:
2000
});
refreshGrid
(
"
cus-background-choose
"
,
{
params
:{}});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录