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
08c85999
Commit
08c85999
authored
Mar 18, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改当前门店可更换房间列表
parent
04d634bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
SOrderController.java
...in/java/share/web/controller/system/SOrderController.java
+4
-3
No files found.
share-admin/src/main/java/share/web/controller/system/SOrderController.java
View file @
08c85999
...
@@ -8,6 +8,7 @@ import org.springframework.web.bind.annotation.*;
...
@@ -8,6 +8,7 @@ import org.springframework.web.bind.annotation.*;
import
share.common.annotation.Log
;
import
share.common.annotation.Log
;
import
share.common.core.controller.BaseController
;
import
share.common.core.controller.BaseController
;
import
share.common.core.domain.AjaxResult
;
import
share.common.core.domain.AjaxResult
;
import
share.common.core.domain.R
;
import
share.common.core.page.TableDataInfo
;
import
share.common.core.page.TableDataInfo
;
import
share.common.enums.BusinessType
;
import
share.common.enums.BusinessType
;
import
share.common.utils.poi.ExcelUtil
;
import
share.common.utils.poi.ExcelUtil
;
...
@@ -138,12 +139,12 @@ public class SOrderController extends BaseController
...
@@ -138,12 +139,12 @@ public class SOrderController extends BaseController
//查询当前门店可更换房间列表
//查询当前门店可更换房间列表
@GetMapping
(
"/changeRoomList"
)
@GetMapping
(
"/changeRoomList"
)
public
AjaxResult
changeRoomList
(
Long
id
)
{
public
R
changeRoomList
(
Long
id
)
{
List
<
SRoomVo
>
sRoomVos
=
sOrderService
.
changeRoomList
(
id
);
List
<
SRoomVo
>
sRoomVos
=
sOrderService
.
changeRoomList
(
id
);
if
(
CollectionUtils
.
isNotEmpty
(
sRoomVos
))
{
if
(
CollectionUtils
.
isNotEmpty
(
sRoomVos
))
{
return
success
(
sRoomVos
);
return
R
.
ok
(
sRoomVos
);
}
else
{
}
else
{
return
error
(
"当前门店没有空闲
房间"
);
return
R
.
ok
(
null
,
"当前门店无可更换
房间"
);
}
}
}
}
...
...
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