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
65bee741
Commit
65bee741
authored
Dec 06, 2023
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
房间详情过滤首次下单
parent
b85cc8c0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
SRoomServiceImpl.java
...main/java/share/system/service/impl/SRoomServiceImpl.java
+5
-1
No files found.
share-system/src/main/java/share/system/service/impl/SRoomServiceImpl.java
View file @
65bee741
...
@@ -11,6 +11,7 @@ import org.springframework.beans.BeanUtils;
...
@@ -11,6 +11,7 @@ import org.springframework.beans.BeanUtils;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
share.common.enums.DeviceType
;
import
share.common.enums.DeviceType
;
import
share.common.enums.RoleTypeEnum
;
import
share.common.enums.RoleTypeEnum
;
import
share.common.enums.YesNoEnum
;
import
share.common.exception.base.BaseException
;
import
share.common.exception.base.BaseException
;
import
share.common.utils.DateUtils
;
import
share.common.utils.DateUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -303,7 +304,10 @@ public class SRoomServiceImpl extends ServiceImpl<SRoomMapper, SRoom> implements
...
@@ -303,7 +304,10 @@ public class SRoomServiceImpl extends ServiceImpl<SRoomMapper, SRoom> implements
SRoom
room
=
sRoomMapper
.
selectById
(
id
);
SRoom
room
=
sRoomMapper
.
selectById
(
id
);
SStore
sStore
=
sStoreService
.
selectSStoreById
(
room
.
getStoreId
());
SStore
sStore
=
sStoreService
.
selectSStoreById
(
room
.
getStoreId
());
room
.
setOpenShopUuid
(
sStore
.
getOpenShopUuid
());
room
.
setOpenShopUuid
(
sStore
.
getOpenShopUuid
());
room
.
setPackList
(
getPackByRoomId
(
room
.
getId
()));
List
<
Long
>
packIds
=
roomPackService
.
selectPackListByRoomId
(
id
);
//过滤首次下单套餐
List
<
SPack
>
packs
=
packService
.
selectPackListByIds
(
packIds
);
room
.
setPackList
(
packs
);
SRoomVo
vo
=
null
;
SRoomVo
vo
=
null
;
if
(
Objects
.
nonNull
(
room
))
{
if
(
Objects
.
nonNull
(
room
))
{
vo
=
new
SRoomVo
();
vo
=
new
SRoomVo
();
...
...
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