Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
OSmall
/
linjiashop
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a5c02c2a
authored
Jan 02, 2021
by
tyfanchz
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
删除banner和分类表数据
1 parent
9f0df678
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
shop-core/src/main/java/com/glsx/shop/dao/shop/CategoryBannerRelRepository.java
shop-core/src/main/java/com/glsx/shop/service/shop/CategoryBannerRelService.java
shop-core/src/main/java/com/glsx/shop/dao/shop/CategoryBannerRelRepository.java
View file @
a5c02c2
...
@@ -6,6 +6,6 @@ import com.glsx.shop.dao.BaseRepository;
...
@@ -6,6 +6,6 @@ import com.glsx.shop.dao.BaseRepository;
public
interface
CategoryBannerRelRepository
extends
BaseRepository
<
CategoryBannerRel
,
Long
>
{
public
interface
CategoryBannerRelRepository
extends
BaseRepository
<
CategoryBannerRel
,
Long
>
{
void
deleteByIdBanner
(
Long
idBanner
);
}
}
shop-core/src/main/java/com/glsx/shop/service/shop/CategoryBannerRelService.java
View file @
a5c02c2
...
@@ -16,5 +16,8 @@ public class CategoryBannerRelService extends
...
@@ -16,5 +16,8 @@ public class CategoryBannerRelService extends
@Autowired
@Autowired
private
CategoryBannerRelRepository
categoryBannerRelRepository
;
private
CategoryBannerRelRepository
categoryBannerRelRepository
;
public
void
deleteByBannerId
(
Long
idBanner
)
{
categoryBannerRelRepository
.
deleteByIdBanner
(
idBanner
);
}
}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment