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
cac91794
Commit
cac91794
authored
Jun 14, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加核销模块
parent
cea2377d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
13 deletions
+8
-13
OrderTourVerificationBiz.java
...com/xxfc/platform/order/biz/OrderTourVerificationBiz.java
+5
-4
OrderTourVerificationController.java
.../platform/order/rest/OrderTourVerificationController.java
+3
-9
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/OrderTourVerificationBiz.java
View file @
cac91794
...
@@ -8,6 +8,7 @@ import com.xxfc.platform.order.entity.BaseOrder;
...
@@ -8,6 +8,7 @@ import com.xxfc.platform.order.entity.BaseOrder;
import
com.xxfc.platform.order.mapper.OrderTourVerificationMapper
;
import
com.xxfc.platform.order.mapper.OrderTourVerificationMapper
;
import
com.xxfc.platform.order.pojo.order.OrderTourVerificationVO
;
import
com.xxfc.platform.order.pojo.order.OrderTourVerificationVO
;
import
com.xxfc.platform.tour.feign.TourFeign
;
import
com.xxfc.platform.tour.feign.TourFeign
;
import
com.xxfc.platform.tour.vo.TourGoodOrderFindVo
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -59,13 +60,13 @@ public class OrderTourVerificationBiz{
...
@@ -59,13 +60,13 @@ public class OrderTourVerificationBiz{
//确定上车
//确定上车
public
ObjectRestResponse
finishByOrder
(
Integer
verificationId
){
public
ObjectRestResponse
finishByOrder
(
Integer
verificationId
){
return
ObjectRestResponse
.
succ
();
return
ObjectRestResponse
.
succ
(
tourFeign
.
updateTourGoodVerificationStatus
(
verificationId
)
);
}
}
//
确定上车
//
核销列表
public
ObjectRestResponse
finishByOrders
(
Integer
verificationId
){
public
ObjectRestResponse
getVerifications
(
TourGoodOrderFindVo
tourGoodOrderFindVo
){
return
ObjectRestResponse
.
succ
();
return
ObjectRestResponse
.
succ
(
tourFeign
.
findTourGoodOrders
(
tourGoodOrderFindVo
)
);
}
}
...
...
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/rest/OrderTourVerificationController.java
View file @
cac91794
...
@@ -18,6 +18,7 @@ import com.xxfc.platform.order.pojo.order.TourBO;
...
@@ -18,6 +18,7 @@ import com.xxfc.platform.order.pojo.order.TourBO;
import
com.xxfc.platform.order.pojo.price.TourPriceVO
;
import
com.xxfc.platform.order.pojo.price.TourPriceVO
;
import
com.xxfc.platform.order.service.OrderTourService
;
import
com.xxfc.platform.order.service.OrderTourService
;
import
com.xxfc.platform.tour.feign.TourFeign
;
import
com.xxfc.platform.tour.feign.TourFeign
;
import
com.xxfc.platform.tour.vo.TourGoodOrderFindVo
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
...
@@ -35,9 +36,6 @@ public class OrderTourVerificationController extends CommonBaseController {
...
@@ -35,9 +36,6 @@ public class OrderTourVerificationController extends CommonBaseController {
@Autowired
@Autowired
OrderTourVerificationBiz
verificationBiz
;
OrderTourVerificationBiz
verificationBiz
;
@Autowired
TourFeign
tourFeign
;
@Autowired
@Autowired
protected
UserAuthConfig
userAuthConfig
;
protected
UserAuthConfig
userAuthConfig
;
...
@@ -75,12 +73,8 @@ public class OrderTourVerificationController extends CommonBaseController {
...
@@ -75,12 +73,8 @@ public class OrderTourVerificationController extends CommonBaseController {
@RequestMapping
(
value
=
"/verification/list"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/verification/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
value
=
"旅游核销订单列表"
)
@ApiOperation
(
value
=
"旅游核销订单列表"
)
public
ObjectRestResponse
list
(
public
ObjectRestResponse
list
(
TourGoodOrderFindVo
tourGoodOrderFindVo
){
@RequestParam
(
value
=
"page"
,
defaultValue
=
"1"
)
Integer
page
,
return
verificationBiz
.
getVerifications
(
tourGoodOrderFindVo
);
@RequestParam
(
value
=
"limit"
,
defaultValue
=
"10"
)
Integer
limit
,
@RequestParam
(
value
=
"verificationId"
,
defaultValue
=
"0"
)
Integer
verificationId
){
return
ObjectRestResponse
.
succ
(
verificationBiz
.
getVerificationList
(
page
,
limit
,
verificationId
));
}
}
...
...
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