Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
Overview
Overview
Details
Activity
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
pseer
gxpt_ht
Commits
442446eb
Commit
442446eb
authored
Jan 29, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除用户删除门店关联
parent
9dde976e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
SConsumerServiceImpl.java
.../java/share/system/service/impl/SConsumerServiceImpl.java
+7
-4
No files found.
share-system/src/main/java/share/system/service/impl/SConsumerServiceImpl.java
View file @
442446eb
...
...
@@ -25,17 +25,15 @@ import share.common.enums.RoleTypeEnum;
import
share.common.exception.base.BaseException
;
import
share.common.utils.BaseUtil
;
import
share.common.utils.DateUtil
;
import
share.system.domain.SConsumerCoupon
;
import
share.system.domain.SRoomPack
;
import
share.system.domain.SStoreConsumer
;
import
share.system.domain.*
;
import
share.system.domain.vo.FrontTokenComponent
;
import
share.system.domain.vo.SConsumerVo
;
import
share.system.mapper.SConsumerMapper
;
import
share.system.domain.SConsumer
;
import
share.system.mapper.SStoreConsumerMapper
;
import
share.system.request.RegisterThirdSConsumerRequest
;
import
share.system.service.ISConsumerCouponService
;
import
share.system.service.SConsumerService
;
import
share.system.service.SConsumerTokenService
;
/**
* 会员用户Service业务层处理
...
...
@@ -53,6 +51,8 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
private
ISConsumerCouponService
sConsumerCouponService
;
@Autowired
private
SStoreConsumerMapper
storeConsumerMapper
;
@Autowired
private
SConsumerTokenService
sConsumerTokenService
;
/**
* 查询会员用户
...
...
@@ -118,6 +118,9 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
@Override
public
int
deleteSConsumerByIds
(
Long
[]
ids
)
{
List
<
Long
>
idList
=
ListUtil
.
toList
(
ids
);
storeConsumerMapper
.
delete
(
new
LambdaQueryWrapper
<
SStoreConsumer
>().
in
(
SStoreConsumer:
:
getConsumerId
,
idList
));
sConsumerTokenService
.
remove
(
new
LambdaQueryWrapper
<
SConsumerToken
>().
in
(
SConsumerToken:
:
getUid
,
idList
));
return
baseMapper
.
deleteSConsumerByIds
(
ids
);
}
...
...
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