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
0257a878
Commit
0257a878
authored
Nov 15, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/base-modify' into base-modify
parents
abeaf5e9
ef759fc0
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
200 additions
and
152 deletions
+200
-152
BackStageOrderController.java
...om/xxfc/platform/order/rest/BackStageOrderController.java
+11
-4
BaseOrderController.java
...ava/com/xxfc/platform/order/rest/BaseOrderController.java
+6
-0
BaseOrderMapper.xml
...rder-server/src/main/resources/mapper/BaseOrderMapper.xml
+3
-0
TourGoodBiz.java
...src/main/java/com/xxfc/platform/tour/biz/TourGoodBiz.java
+176
-144
TourGoodMapper.java
...in/java/com/xxfc/platform/tour/mapper/TourGoodMapper.java
+1
-1
OfficialWebsiteTourController.java
...r/rest/officialWebsite/OfficialWebsiteTourController.java
+3
-3
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/rest/BackStageOrderController.java
View file @
0257a878
...
...
@@ -108,10 +108,17 @@ public class BackStageOrderController extends CommonBaseController implements Us
@IgnoreClientToken
@CrossOrigin
public
ObjectRestResponse
<
PageDataVO
<
OrderListVo
>>
selectByUser
(
BaseOrderController
.
QueryOrderList
dto
)
{
UserDTO
userDTO
=
getAdminUserInfo
();
if
(
userDTO
==
null
)
{
return
ObjectRestResponse
.
succ
(
new
PageDataVO
<>());
}
UserDTO
userDTO
=
getAdminUserInfo
();
if
(
userDTO
==
null
)
{
return
ObjectRestResponse
.
succ
(
new
PageDataVO
<>());
}
//车辆排班表查询订单详情
if
(
dto
.
getOneNo
()!=
null
)
{
dto
.
setPage
(
1
);
dto
.
setLimit
(
1
);
dto
.
setType
(
1
);
}
if
(
StringUtils
.
isNotBlank
(
dto
.
getPhone
())
||
StringUtils
.
isNotBlank
(
dto
.
getRealName
()))
{
List
<
AppUserLogin
>
appUserLoins
=
userFeign
.
getOne
(
dto
.
getPhone
(),
dto
.
getRealName
());
...
...
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/rest/BaseOrderController.java
View file @
0257a878
...
...
@@ -359,6 +359,12 @@ public class BaseOrderController extends CommonBaseController implements UserRes
private
List
<
String
>
vehicleIds
;
/**
* 获取一条车辆详情,需要传的订单号
*/
private
String
oneNo
;
//订单用户ID列表
private
List
<
Integer
>
userIds
;
//订单用户大区id列表
...
...
xx-order/xx-order-server/src/main/resources/mapper/BaseOrderMapper.xml
View file @
0257a878
...
...
@@ -151,6 +151,9 @@
<if
test=
"no != null and no != '' "
>
and no like CONCAT ("%", #{no}, "%")
</if>
<if
test=
"oneNo != null and oneNo != '' "
>
and no =#{oneNo}
</if>
<if
test=
"name != null"
>
and b.name like CONCAT ("%", #{name}, "%")
</if>
...
...
xx-tour/xx-tour-server/src/main/java/com/xxfc/platform/tour/biz/TourGoodBiz.java
View file @
0257a878
This diff is collapsed.
Click to expand it.
xx-tour/xx-tour-server/src/main/java/com/xxfc/platform/tour/mapper/TourGoodMapper.java
View file @
0257a878
...
...
@@ -38,7 +38,7 @@ public interface TourGoodMapper extends Mapper<TourGood> {
*/
List
<
GoodDataVO
>
findAllByHome
(
@Param
(
"start"
)
Integer
start
,
@Param
(
"size"
)
Integer
size
);
List
<
TourGood
>
getList
(
WebsiteQuery
query
);
List
<
GoodDataVO
>
getList
(
WebsiteQuery
query
);
List
newTour
(
Integer
limit
);
}
xx-tour/xx-tour-server/src/main/java/com/xxfc/platform/tour/rest/officialWebsite/OfficialWebsiteTourController.java
View file @
0257a878
...
...
@@ -14,19 +14,19 @@ import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping
(
"
website
"
)
@RequestMapping
(
"
/website/app/unauth
"
)
@IgnoreClientToken
@IgnoreUserToken
@Api
(
tags
=
{
"官网"
})
public
class
OfficialWebsiteTourController
extends
BaseController
<
TourGoodBiz
,
TourGood
>
{
@PostMapping
(
"/
app/unauth/
tour"
)
@PostMapping
(
"/tour"
)
public
ObjectRestResponse
homePageTour
(
@RequestBody
WebsiteQuery
query
)
throws
Exception
{
return
ObjectRestResponse
.
succ
(
baseBiz
.
homePageTour
(
query
));
}
@GetMapping
(
"/
app/unauth/
tour/new"
)
@GetMapping
(
"/tour/new"
)
public
ObjectRestResponse
newTour
(
@RequestParam
(
value
=
"limit"
,
defaultValue
=
"6"
)
Integer
limit
)
{
return
ObjectRestResponse
.
succ
(
baseBiz
.
newTour
(
limit
));
}
...
...
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