Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
25f60200
Commit
25f60200
authored
Jun 14, 2019
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改相关
parent
372298dc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
7 deletions
+40
-7
OrderTourDetailBiz.java
.../java/com/xxfc/platform/order/biz/OrderTourDetailBiz.java
+9
-0
BaseOrderController.java
...ava/com/xxfc/platform/order/rest/BaseOrderController.java
+19
-2
VehicleModel.java
...n/java/com/xxfc/platform/vehicle/entity/VehicleModel.java
+12
-5
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/OrderTourDetailBiz.java
View file @
25f60200
...
...
@@ -6,6 +6,9 @@ import com.xxfc.platform.order.entity.OrderTourDetail;
import
com.xxfc.platform.order.mapper.OrderTourDetailMapper
;
import
com.github.wxiaoqi.security.common.biz.BaseBiz
;
import
java.util.List
;
import
java.util.Map
;
/**
* 旅游订单详情
*
...
...
@@ -15,4 +18,10 @@ import com.github.wxiaoqi.security.common.biz.BaseBiz;
*/
@Service
public
class
OrderTourDetailBiz
extends
BaseBiz
<
OrderTourDetailMapper
,
OrderTourDetail
>
{
private
static
Map
<
Integer
,
List
<
Integer
>>
ChargeOffAble
;
public
void
ChargeOff
()
{
}
}
\ No newline at end of file
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/rest/BaseOrderController.java
View file @
25f60200
...
...
@@ -73,8 +73,25 @@ public class BaseOrderController extends CommonBaseController {
return
new
ObjectRestResponse
<>().
data
(
PageDataVO
.
pageInfo
(
query
,
()
->
baseOrderBiz
.
pageByParm
(
query
.
getSuper
())));
}
@ApiOperation
(
"订单详情"
)
@RequestMapping
(
value
=
"/{no}"
,
method
=
RequestMethod
.
GET
)
// @ApiOperation("订单详情")
// @RequestMapping(value = "/{no}",method = RequestMethod.GET)
// @IgnoreClientToken
// @ResponseBody
// public ObjectRestResponse<OrderPageVO> get(@PathVariable String no){
// //查询列表数据
// if(StringUtils.isBlank(BaseContextHandler.getUserID())) {
// throw new BaseException(ResultCode.AJAX_WECHAT_NOTEXIST_CODE);
// }
// Query query = initQuery(no);
// PageDataVO<OrderPageVO> page = PageDataVO.pageInfo(query, () -> baseOrderBiz.pageByParm(query.getSuper()));
// if(page.getData().isEmpty()) {
// throw new BaseException(ResultCode.NOTEXIST_CODE);
// }
// return new ObjectRestResponse<>().data(page.getData().get(0));
// }
@ApiOperation
(
"根据订单详情处理信息"
)
@RequestMapping
(
value
=
"/handle/{no}"
,
method
=
RequestMethod
.
GET
)
@IgnoreClientToken
@ResponseBody
public
ObjectRestResponse
<
OrderPageVO
>
get
(
@PathVariable
String
no
){
...
...
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/entity/VehicleModel.java
View file @
25f60200
...
...
@@ -63,11 +63,6 @@ public class VehicleModel implements Serializable {
@ApiModelProperty
(
value
=
"价格"
)
private
BigDecimal
price
;
//会员价格
@Column
(
name
=
"vip_price"
)
@ApiModelProperty
(
value
=
"会员价格"
)
private
BigDecimal
vipPrice
;
//总押金
@Column
(
name
=
"deposit"
)
@ApiModelProperty
(
value
=
"总押金"
)
...
...
@@ -138,4 +133,16 @@ public class VehicleModel implements Serializable {
@ApiModelProperty
(
value
=
"车辆"
)
private
Vehicle
vehicle
;
@Column
(
name
=
"rent_discount_status"
)
@ApiModelProperty
(
value
=
"租车优惠状态 0--没有优惠;1--会员折扣;2--固定值"
)
private
Integer
rentDiscountStatus
;
@Column
(
name
=
"rent_discount_price"
)
@ApiModelProperty
(
value
=
"租车优惠价格"
)
private
BigDecimal
RentDiscountPrice
;
@Column
(
name
=
"buy_price"
)
@ApiModelProperty
(
value
=
"购买价格"
)
private
BigDecimal
buyPrice
;
}
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