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
d5d00529
Commit
d5d00529
authored
Nov 22, 2023
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单详情添加房间图片
parent
b094b99a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
SOrder.java
share-system/src/main/java/share/system/domain/SOrder.java
+6
-0
SOrderVo.java
...system/src/main/java/share/system/domain/vo/SOrderVo.java
+4
-0
SOrderServiceImpl.java
...ain/java/share/system/service/impl/SOrderServiceImpl.java
+2
-0
No files found.
share-system/src/main/java/share/system/domain/SOrder.java
View file @
d5d00529
...
@@ -154,6 +154,12 @@ public class SOrder extends BaseEntity
...
@@ -154,6 +154,12 @@ public class SOrder extends BaseEntity
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
String
roomName
;
private
String
roomName
;
//房间图片
@TableField
(
exist
=
false
)
private
String
roomImages
;
//是否可以申请退款
//是否可以申请退款
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
Boolean
isRefund
;
private
Boolean
isRefund
;
...
...
share-system/src/main/java/share/system/domain/vo/SOrderVo.java
View file @
d5d00529
...
@@ -158,6 +158,10 @@ public class SOrderVo
...
@@ -158,6 +158,10 @@ public class SOrderVo
@ApiModelProperty
(
value
=
"房间名称"
)
@ApiModelProperty
(
value
=
"房间名称"
)
private
String
roomName
;
private
String
roomName
;
//房间图片
@ApiModelProperty
(
value
=
"房间图片"
)
private
String
roomImages
;
/** 门店地址 */
/** 门店地址 */
@ApiModelProperty
(
value
=
"门店地址"
)
@ApiModelProperty
(
value
=
"门店地址"
)
private
String
address
;
private
String
address
;
...
...
share-system/src/main/java/share/system/service/impl/SOrderServiceImpl.java
View file @
d5d00529
...
@@ -543,6 +543,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
...
@@ -543,6 +543,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
}
}
if
(
ObjectUtil
.
isNotEmpty
(
one
.
getRoomId
()))
{
if
(
ObjectUtil
.
isNotEmpty
(
one
.
getRoomId
()))
{
SRoom
sRoom
=
roomService
.
getById
(
one
.
getRoomId
());
SRoom
sRoom
=
roomService
.
getById
(
one
.
getRoomId
());
one
.
setRoomImages
(
sRoom
.
getImages
());
one
.
setRoomName
(
sRoom
.
getName
());
one
.
setRoomName
(
sRoom
.
getName
());
}
}
return
one
;
return
one
;
...
@@ -557,6 +558,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
...
@@ -557,6 +558,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
SRoom
room
=
roomService
.
getById
(
vo
.
getRoomId
());
SRoom
room
=
roomService
.
getById
(
vo
.
getRoomId
());
vo
.
setStoreName
(
store
.
getName
());
vo
.
setStoreName
(
store
.
getName
());
vo
.
setAddress
(
store
.
getAddress
());
vo
.
setAddress
(
store
.
getAddress
());
vo
.
setRoomImages
(
room
.
getImages
());
vo
.
setRoomName
(
room
.
getName
());
vo
.
setRoomName
(
room
.
getName
());
vo
.
setLongitude
(
store
.
getLongitude
());
vo
.
setLongitude
(
store
.
getLongitude
());
vo
.
setLatitude
(
store
.
getLatitude
());
vo
.
setLatitude
(
store
.
getLatitude
());
...
...
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