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
a9321853
Commit
a9321853
authored
Apr 01, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改房间订单结束时间显示
parent
3a7d7979
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
+1
-3
SRoomServiceImpl.java
...main/java/share/system/service/impl/SRoomServiceImpl.java
+1
-3
No files found.
share-system/src/main/java/share/system/service/impl/SRoomServiceImpl.java
View file @
a9321853
package
share
.
system
.
service
.
impl
;
package
share
.
system
.
service
.
impl
;
import
cn.hutool.core.date.DateUnit
;
import
cn.hutool.core.date.DateUtil
;
import
cn.hutool.core.util.StrUtil
;
import
cn.hutool.core.util.StrUtil
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
...
@@ -23,7 +21,6 @@ import share.system.mapper.SStoreConsumerMapper;
...
@@ -23,7 +21,6 @@ import share.system.mapper.SStoreConsumerMapper;
import
share.system.service.*
;
import
share.system.service.*
;
import
java.util.*
;
import
java.util.*
;
import
java.util.function.Function
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
/**
/**
...
@@ -135,6 +132,7 @@ public class SRoomServiceImpl extends ServiceImpl<SRoomMapper, SRoom> implements
...
@@ -135,6 +132,7 @@ public class SRoomServiceImpl extends ServiceImpl<SRoomMapper, SRoom> implements
wrapper
.
eq
(
SOrder:
:
getStoreId
,
store
.
getId
());
wrapper
.
eq
(
SOrder:
:
getStoreId
,
store
.
getId
());
wrapper
.
in
(
SOrder:
:
getRoomId
,
roomIds
);
wrapper
.
in
(
SOrder:
:
getRoomId
,
roomIds
);
wrapper
.
eq
(
SOrder:
:
getStatus
,
OrderStatusEnum
.
INUSE
.
getCode
());
wrapper
.
eq
(
SOrder:
:
getStatus
,
OrderStatusEnum
.
INUSE
.
getCode
());
wrapper
.
orderByAsc
(
SOrder:
:
getEndDate
);
List
<
SOrder
>
list
=
orderService
.
list
(
wrapper
);
List
<
SOrder
>
list
=
orderService
.
list
(
wrapper
);
// 查询每一个房间最后一条预定订单下单时间
// 查询每一个房间最后一条预定订单下单时间
// Date now = DateUtil.date();
// Date now = DateUtil.date();
...
...
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