Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
3853504f
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1195
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看板
提交
3853504f
编写于
11月 12, 2018
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
小程序页面物理删除功能完成
上级
9c550f1c
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
73 addition
and
3 deletion
+73
-3
skyeye-dao/src/main/java/com/skyeye/smprogram/dao/SmProjectPageDao.java
.../main/java/com/skyeye/smprogram/dao/SmProjectPageDao.java
+4
-0
skyeye-service/src/main/java/com/skyeye/smprogram/service/SmProjectPageService.java
...va/com/skyeye/smprogram/service/SmProjectPageService.java
+2
-0
skyeye-service/src/main/java/com/skyeye/smprogram/service/impl/SmProjectPageServiceImpl.java
...yeye/smprogram/service/impl/SmProjectPageServiceImpl.java
+17
-0
skyeye-web/src/main/java/com/skyeye/smprogram/controller/SmProjectPageController.java
.../skyeye/smprogram/controller/SmProjectPageController.java
+18
-2
skyeye-web/src/main/resources/dbmapper/SmProjectPageMapper.xml
...e-web/src/main/resources/dbmapper/SmProjectPageMapper.xml
+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/rmmysmpropage/mysmpropagelist.js
...e-web/src/main/webapp/js/rmmysmpropage/mysmpropagelist.js
+13
-1
未找到文件。
skyeye-dao/src/main/java/com/skyeye/smprogram/dao/SmProjectPageDao.java
浏览文件 @
3853504f
...
...
@@ -27,4 +27,8 @@ public interface SmProjectPageDao {
public
int
editSmProjectPageMationById
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
int
deleteSmProjectPageMationById
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
public
int
deleteSmProjectPageModeMationById
(
Map
<
String
,
Object
>
map
)
throws
Exception
;
}
skyeye-service/src/main/java/com/skyeye/smprogram/service/SmProjectPageService.java
浏览文件 @
3853504f
...
...
@@ -17,4 +17,6 @@ public interface SmProjectPageService {
public
void
editSmProjectPageMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
public
void
deleteSmProjectPageMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
}
skyeye-service/src/main/java/com/skyeye/smprogram/service/impl/SmProjectPageServiceImpl.java
浏览文件 @
3853504f
...
...
@@ -185,6 +185,23 @@ public class SmProjectPageServiceImpl implements SmProjectPageService{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
smProjectPageDao
.
editSmProjectPageMationById
(
map
);
}
/**
*
* @Title: deleteSmProjectPageMationById
* @Description: 删除小程序页面信息
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public
void
deleteSmProjectPageMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
smProjectPageDao
.
deleteSmProjectPageMationById
(
map
);
//删除页面
smProjectPageDao
.
deleteSmProjectPageModeMationById
(
map
);
//删除页面绑定的小程序组件
}
...
...
skyeye-web/src/main/java/com/skyeye/smprogram/controller/SmProjectPageController.java
浏览文件 @
3853504f
...
...
@@ -81,7 +81,7 @@ public class SmProjectPageController {
/**
*
* @Title: query
DsFormLimitRequirement
MationToEditById
* @Title: query
SmProjectPage
MationToEditById
* @Description: 编辑小程序页面信息时进行回显
* @param @param inputObject
* @param @param outputObject
...
...
@@ -97,7 +97,7 @@ public class SmProjectPageController {
/**
*
* @Title: edit
DsFormLimitRequirement
MationById
* @Title: edit
SmProjectPage
MationById
* @Description: 编辑小程序页面信息
* @param @param inputObject
* @param @param outputObject
...
...
@@ -111,5 +111,21 @@ public class SmProjectPageController {
smProjectPageService
.
editSmProjectPageMationById
(
inputObject
,
outputObject
);
}
/**
*
* @Title: deleteSmProjectPageMationById
* @Description: 删除小程序页面信息
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/SmProjectPageController/deleteSmProjectPageMationById"
)
@ResponseBody
public
void
deleteSmProjectPageMationById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
smProjectPageService
.
deleteSmProjectPageMationById
(
inputObject
,
outputObject
);
}
}
skyeye-web/src/main/resources/dbmapper/SmProjectPageMapper.xml
浏览文件 @
3853504f
...
...
@@ -128,5 +128,21 @@
WHERE id = #{id}
</update>
<delete
id=
"deleteSmProjectPageMationById"
parameterType=
"java.util.Map"
>
DELETE
FROM
sm_project_page
WHERE
id = #{id}
</delete>
<delete
id=
"deleteSmProjectPageModeMationById"
parameterType=
"java.util.Map"
>
DELETE
FROM
sm_project_page_mode
WHERE
sm_project_page_id = #{id}
</delete>
</mapper>
\ No newline at end of file
skyeye-web/src/main/resources/mapping/reqmapping.xml
浏览文件 @
3853504f
...
...
@@ -316,6 +316,9 @@
<property
id=
"filePath"
name=
"filePath"
ref=
""
var=
"文件将来的导出路径"
/>
<property
id=
"fileName"
name=
"fileName"
ref=
""
var=
"文件将来的导出名"
/>
</url>
<url
id=
"rmxcx035"
path=
"/post/SmProjectPageController/deleteSmProjectPageMationById"
val=
"删除小程序页面信息"
allUse=
"1"
>
<property
id=
"rowId"
name=
"id"
ref=
"required"
var=
"页面id"
/>
</url>
<!-- 小程序系列结束 -->
...
...
skyeye-web/src/main/webapp/js/rmmysmpropage/mysmpropagelist.js
浏览文件 @
3853504f
...
...
@@ -72,7 +72,19 @@ layui.config({
},
'
click .delPage
'
:
function
(
index
,
row
){
//删除
var
msg
=
row
?
'
确认删除页面【
'
+
row
.
name
+
'
】吗?
'
:
'
确认删除选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
删除小程序页面
'
},
function
(
index
)
{
layer
.
close
(
index
);
//向服务端发送删除指令
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
rmxcx035
"
,
params
:{
rowId
:
row
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
top
.
winui
.
window
.
msg
(
"
删除成功
"
,
{
icon
:
1
,
time
:
2000
});
refreshGrid
(
"
pageList
"
,
{
params
:{
rowId
:
proId
}});
}
else
{
top
.
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
});
}
},
ajaxSendAfter
:
function
(
json
){
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录