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
e0f4be20
Commit
e0f4be20
authored
Nov 23, 2023
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
order bug fix ;
order code opt;
parent
fb0c4c41
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
31 deletions
+17
-31
SOrderController.java
...in/java/share/web/controller/system/SOrderController.java
+0
-2
SOrderController.java
...in/java/share/web/controller/system/SOrderController.java
+1
-1
SOrder.java
share-system/src/main/java/share/system/domain/SOrder.java
+0
-28
SOrderVo.java
...system/src/main/java/share/system/domain/vo/SOrderVo.java
+8
-0
ISOrderService.java
...em/src/main/java/share/system/service/ISOrderService.java
+8
-0
SOrderServiceImpl.java
...ain/java/share/system/service/impl/SOrderServiceImpl.java
+0
-0
No files found.
share-admin/src/main/java/share/web/controller/system/SOrderController.java
View file @
e0f4be20
...
...
@@ -5,8 +5,6 @@ import javax.servlet.http.HttpServletResponse;
import
io.swagger.annotations.ApiOperation
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.validation.annotation.Validated
;
...
...
share-front/src/main/java/share/web/controller/system/SOrderController.java
View file @
e0f4be20
...
...
@@ -58,7 +58,7 @@ public class SOrderController extends BaseController
startPage
();
SConsumer
user
=
FrontTokenComponent
.
getWxSConsumerEntry
();
sOrder
.
setConsumerId
(
user
.
getId
());
List
<
SOrder
>
list
=
sOrderService
.
selectSOrder
List
(
sOrder
);
List
<
SOrder
Vo
>
list
=
sOrderService
.
selectSOrderVo
List
(
sOrder
);
return
getDataTable
(
list
);
}
...
...
share-system/src/main/java/share/system/domain/SOrder.java
View file @
e0f4be20
...
...
@@ -137,34 +137,6 @@ public class SOrder extends BaseEntity
@TableField
(
select
=
false
)
private
Integer
isDelete
;
@TableField
(
exist
=
false
)
private
Integer
buyType
;
//优惠卷名称
@TableField
(
exist
=
false
)
private
String
couponName
;
//套餐名称
@TableField
(
exist
=
false
)
private
String
packName
;
//门店名称
@TableField
(
exist
=
false
)
private
String
storeName
;
//房间名称
@TableField
(
exist
=
false
)
private
String
roomName
;
//房间图片
@TableField
(
exist
=
false
)
private
String
roomImages
;
//是否可以申请退款
@TableField
(
exist
=
false
)
private
Boolean
isRefund
;
}
share-system/src/main/java/share/system/domain/vo/SOrderVo.java
View file @
e0f4be20
...
...
@@ -197,4 +197,12 @@ public class SOrderVo
@ApiModelProperty
(
name
=
"是否可以申请退款"
)
private
Boolean
isRefund
;
//优惠卷名称
@ApiModelProperty
(
name
=
"优惠卷名称"
)
private
String
couponName
;
//套餐名称
@ApiModelProperty
(
name
=
"套餐名称"
)
private
String
packName
;
}
share-system/src/main/java/share/system/service/ISOrderService.java
View file @
e0f4be20
...
...
@@ -37,6 +37,14 @@ public interface ISOrderService extends IService<SOrder>
public
List
<
SOrder
>
selectSOrderList
(
SOrder
sOrder
);
/**
* 查询订单列表
*
* @param sOrder 订单
* @return 订单集合
*/
public
List
<
SOrderVo
>
selectSOrderVoList
(
SOrder
sOrder
);
/**
* 新增订单
*
* @param sOrder 订单
...
...
share-system/src/main/java/share/system/service/impl/SOrderServiceImpl.java
View file @
e0f4be20
This diff is collapsed.
Click to expand it.
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