记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
280b081a
Commit
280b081a
authored
Jun 09, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
banner delete
parent
632a8bb4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
ry-ui.js
...ent-admin-web/src/main/resources/static/ruoyi/js/ry-ui.js
+1
-2
banners.html
...n/resources/templates/zhengzai/kylin/banners/banners.html
+2
-2
KylinBannersRelationsMapper.java
...net/service/kylin/mapper/KylinBannersRelationsMapper.java
+2
-1
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/static/ruoyi/js/ry-ui.js
View file @
280b081a
...
@@ -1013,8 +1013,7 @@ var table = {
...
@@ -1013,8 +1013,7 @@ var table = {
message
=
message
??
"确定删除该条"
+
table
.
options
.
modalName
+
"信息吗?"
;
message
=
message
??
"确定删除该条"
+
table
.
options
.
modalName
+
"信息吗?"
;
$
.
modal
.
confirm
(
message
,
function
()
{
$
.
modal
.
confirm
(
message
,
function
()
{
if
(
!
url
)
{
if
(
!
url
)
{
url
=
table
.
options
.
removeUrl
;
url
=
$
.
common
.
isEmpty
(
id
)
?
table
.
options
.
removeUrl
:
table
.
options
.
removeUrl
.
replace
(
"{id}"
,
id
);
// url = $.common.isEmpty(id) ? table.options.urls : table.options.urls.replace("{id}", id);
}
}
if
(
table
.
options
.
type
==
table_type
.
bootstrapTreeTable
)
{
if
(
table
.
options
.
type
==
table_type
.
bootstrapTreeTable
)
{
$
.
operate
.
get
(
url
);
$
.
operate
.
get
(
url
);
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/banners/banners.html
View file @
280b081a
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
$
(
function
()
{
$
(
function
()
{
var
options
=
{
var
options
=
{
url
:
prefix
+
"/list"
,
url
:
prefix
+
"/list"
,
updateUrl
:
prefix
+
"/update"
,
updateUrl
:
prefix
+
"/update
/{id}
"
,
createUrl
:
prefix
+
"/create"
,
createUrl
:
prefix
+
"/create"
,
removeUrl
:
prefix
+
"/delete"
,
removeUrl
:
prefix
+
"/delete"
,
modalName
:
"Banner"
,
modalName
:
"Banner"
,
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
align
:
'center'
,
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
formatter
:
function
(
value
,
row
,
index
)
{
var
actions
=
[];
var
actions
=
[];
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
updateFlag
+
'" href="javascript:void(0)" onclick="
review
(
\'
'
+
row
.
bannersId
+
'
\'
)"></i>编辑</a> '
);
actions
.
push
(
'<a class="btn btn-success btn-xs '
+
updateFlag
+
'" href="javascript:void(0)" onclick="
$.operate.edit
(
\'
'
+
row
.
bannersId
+
'
\'
)"></i>编辑</a> '
);
actions
.
push
(
'<a class="btn btn-danger btn-xs '
+
removeFlag
+
'" href="javascript:void(0)" onclick="$.operate.remove(
\'
'
+
row
.
bannersId
+
'
\'
)"></i>删除</a> '
);
actions
.
push
(
'<a class="btn btn-danger btn-xs '
+
removeFlag
+
'" href="javascript:void(0)" onclick="$.operate.remove(
\'
'
+
row
.
bannersId
+
'
\'
)"></i>删除</a> '
);
return
actions
.
join
(
''
);
return
actions
.
join
(
''
);
}
}
...
...
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/java/com/liquidnet/service/kylin/mapper/KylinBannersRelationsMapper.java
View file @
280b081a
...
@@ -2,6 +2,7 @@ package com.liquidnet.service.kylin.mapper;
...
@@ -2,6 +2,7 @@ package com.liquidnet.service.kylin.mapper;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.liquidnet.service.kylin.entity.KylinBannersRelations
;
import
com.liquidnet.service.kylin.entity.KylinBannersRelations
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
import
java.util.List
;
...
@@ -15,5 +16,5 @@ import java.util.List;
...
@@ -15,5 +16,5 @@ import java.util.List;
*/
*/
public
interface
KylinBannersRelationsMapper
extends
BaseMapper
<
KylinBannersRelations
>
{
public
interface
KylinBannersRelationsMapper
extends
BaseMapper
<
KylinBannersRelations
>
{
//列表
//列表
List
<
String
>
getBannersRelationsField
(
String
field
,
String
bannersId
,
int
fieldIdType
);
List
<
String
>
getBannersRelationsField
(
@Param
(
"field"
)
String
field
,
@Param
(
"bannersId"
)
String
bannersId
,
@Param
(
"fieldIdType"
)
int
fieldIdType
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment