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
7c06aae1
Commit
7c06aae1
authored
Nov 28, 2019
by
libin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
84a39605
b4d3a650
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
5 deletions
+11
-5
ThirdFeign.java
...in/java/com/xxfc/platform/universal/feign/ThirdFeign.java
+4
-2
DictionaryBiz.java
...n/java/com/xxfc/platform/universal/biz/DictionaryBiz.java
+2
-2
DepartureLogVo.java
...n/java/com/xxfc/platform/vehicle/pojo/DepartureLogVo.java
+4
-0
VehicleDepartureController.java
...xfc/platform/vehicle/rest/VehicleDepartureController.java
+1
-1
No files found.
xx-universal/xx-universal-api/src/main/java/com/xxfc/platform/universal/feign/ThirdFeign.java
View file @
7c06aae1
...
...
@@ -69,8 +69,10 @@ public interface ThirdFeign {
@RequestMapping
(
value
=
"/dictionary/getAll4Map"
,
method
=
RequestMethod
.
GET
)
public
ObjectRestResponse
<
Map
<
String
,
Dictionary
>>
dictionaryGetAll4Map
();
@RequestMapping
(
value
=
"/dictionary/getAll4Map"
,
method
=
RequestMethod
.
GET
)
public
ObjectRestResponse
<
Map
<
String
,
Dictionary
>>
getDictionaryUseType
();
/* @RequestMapping(value = "/dictionary/getAll4Map", method = RequestMethod.GET)
public ObjectRestResponse<Map<String, Dictionary>> getDictionaryUseType();*/
@PostMapping
(
"/dictionary/type_code"
)
public
Dictionary
findDictionaryByTypeAndCode
(
@RequestParam
(
value
=
"type"
)
String
type
,
@RequestParam
(
value
=
"code"
)
String
code
);
...
...
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/biz/DictionaryBiz.java
View file @
7c06aae1
...
...
@@ -114,12 +114,12 @@ public class DictionaryBiz extends BaseBiz<DictionaryMapper, Dictionary> {
return
dictionaryMap
;
}
public
Map
<
String
,
Dictionary
>
getDictionaryUseType
()
{
/*
public Map<String, Dictionary> getDictionaryUseType() {
List<Dictionary> dictionaries = selectListAll();
Map<String, Dictionary> dictionaryMap = dictionaries.parallelStream().collect(Collectors.toMap(dic -> dic.getType() + "_" + dic.getCode()
, Function.identity(), (oldValue, newValue) -> newValue));
return dictionaryMap;
}
}
*/
@CacheClear
(
pre
=
CACHE_DICTIONARY_PREFIX
)
...
...
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/pojo/DepartureLogVo.java
View file @
7c06aae1
...
...
@@ -27,5 +27,9 @@ public class DepartureLogVo extends VehicleDepartureLog {
*/
private
Date
actualEndDate
;
/**
* 车牌号码
*/
private
String
numberPlate
;
}
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/rest/VehicleDepartureController.java
View file @
7c06aae1
...
...
@@ -166,7 +166,7 @@ public class VehicleDepartureController {
*/
@GetMapping
(
"findReserveType"
)
public
ObjectRestResponse
<
OrderPageVO
>
getOrderDetail
()
{
Map
<
String
,
Dictionary
>
dictionaryMap
=
thirdFeign
.
getDictionaryUseType
().
getData
();
Map
<
String
,
Dictionary
>
dictionaryMap
=
thirdFeign
.
dictionaryGetAll4Map
().
getData
();
String
reserveType
=
dictionaryMap
.
get
(
VEHICE_ORDER
+
"_"
+
RESERVE
).
getName
();
return
ObjectRestResponse
.
succ
(
reserveType
);
}
...
...
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