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
2fb6f866
Commit
2fb6f866
authored
Jun 14, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'base-modify' of
http://113.105.137.151:22280/youjj/cloud-platform
into base-modify
parents
8b77f3d7
25f60200
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
13 deletions
+40
-13
OrderTourDetailBiz.java
.../java/com/xxfc/platform/order/biz/OrderTourDetailBiz.java
+9
-0
BaseOrderController.java
...ava/com/xxfc/platform/order/rest/BaseOrderController.java
+19
-2
TourTagAdminController.java
...xxfc/platform/tour/rest/admin/TourTagAdminController.java
+0
-6
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 @
2fb6f866
...
@@ -6,6 +6,9 @@ import com.xxfc.platform.order.entity.OrderTourDetail;
...
@@ -6,6 +6,9 @@ import com.xxfc.platform.order.entity.OrderTourDetail;
import
com.xxfc.platform.order.mapper.OrderTourDetailMapper
;
import
com.xxfc.platform.order.mapper.OrderTourDetailMapper
;
import
com.github.wxiaoqi.security.common.biz.BaseBiz
;
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;
...
@@ -15,4 +18,10 @@ import com.github.wxiaoqi.security.common.biz.BaseBiz;
*/
*/
@Service
@Service
public
class
OrderTourDetailBiz
extends
BaseBiz
<
OrderTourDetailMapper
,
OrderTourDetail
>
{
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 @
2fb6f866
...
@@ -73,8 +73,25 @@ public class BaseOrderController extends CommonBaseController {
...
@@ -73,8 +73,25 @@ public class BaseOrderController extends CommonBaseController {
return
new
ObjectRestResponse
<>().
data
(
PageDataVO
.
pageInfo
(
query
,
()
->
baseOrderBiz
.
pageByParm
(
query
.
getSuper
())));
return
new
ObjectRestResponse
<>().
data
(
PageDataVO
.
pageInfo
(
query
,
()
->
baseOrderBiz
.
pageByParm
(
query
.
getSuper
())));
}
}
@ApiOperation
(
"订单详情"
)
// @ApiOperation("订单详情")
@RequestMapping
(
value
=
"/{no}"
,
method
=
RequestMethod
.
GET
)
// @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
@IgnoreClientToken
@ResponseBody
@ResponseBody
public
ObjectRestResponse
<
OrderPageVO
>
get
(
@PathVariable
String
no
){
public
ObjectRestResponse
<
OrderPageVO
>
get
(
@PathVariable
String
no
){
...
...
xx-tour/xx-tour-server/src/main/java/com/xxfc/platform/tour/rest/admin/TourTagAdminController.java
View file @
2fb6f866
...
@@ -140,10 +140,4 @@ public class TourTagAdminController extends TourBaseController<TourTagBiz> {
...
@@ -140,10 +140,4 @@ public class TourTagAdminController extends TourBaseController<TourTagBiz> {
List
<
TourTag
>
tourTags
=
getBaseBiz
().
findTourTagNameAndIdsByStatus
(
0
);
List
<
TourTag
>
tourTags
=
getBaseBiz
().
findTourTagNameAndIdsByStatus
(
0
);
return
ObjectRestResponse
.
succ
(
tourTags
);
return
ObjectRestResponse
.
succ
(
tourTags
);
}
}
@GetMapping
public
void
AssertException
(){
Assert
.
isNull
(
TourTag
.
builder
().
build
(),
"Assert测试成功了"
);
}
}
}
\ No newline at end of file
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/entity/VehicleModel.java
View file @
2fb6f866
...
@@ -63,11 +63,6 @@ public class VehicleModel implements Serializable {
...
@@ -63,11 +63,6 @@ public class VehicleModel implements Serializable {
@ApiModelProperty
(
value
=
"价格"
)
@ApiModelProperty
(
value
=
"价格"
)
private
BigDecimal
price
;
private
BigDecimal
price
;
//会员价格
@Column
(
name
=
"vip_price"
)
@ApiModelProperty
(
value
=
"会员价格"
)
private
BigDecimal
vipPrice
;
//总押金
//总押金
@Column
(
name
=
"deposit"
)
@Column
(
name
=
"deposit"
)
@ApiModelProperty
(
value
=
"总押金"
)
@ApiModelProperty
(
value
=
"总押金"
)
...
@@ -138,4 +133,16 @@ public class VehicleModel implements Serializable {
...
@@ -138,4 +133,16 @@ public class VehicleModel implements Serializable {
@ApiModelProperty
(
value
=
"车辆"
)
@ApiModelProperty
(
value
=
"车辆"
)
private
Vehicle
vehicle
;
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