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
2a9f6aa9
Commit
2a9f6aa9
authored
Aug 28, 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
18b5d767
882172b0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
0 deletions
+28
-0
pom.xml
xx-uccn/xx-uccn-server/pom.xml
+1
-0
RandomListController.java
...ava/com/xxfc/platform/uccn/rest/RandomListController.java
+25
-0
VehicleActiveService.java
...a/com/xxfc/platform/vehicle/biz/VehicleActiveService.java
+2
-0
No files found.
xx-uccn/xx-uccn-server/pom.xml
View file @
2a9f6aa9
...
...
@@ -47,6 +47,7 @@
</dependency>
</dependencies>
<build>
<finalName>
xx-uccn
</finalName>
<plugins>
<!-- 此插件用来生成通用mapper的代码 -->
<plugin>
...
...
xx-uccn/xx-uccn-server/src/main/java/com/xxfc/platform/uccn/rest/RandomListController.java
0 → 100644
View file @
2a9f6aa9
package
com
.
xxfc
.
platform
.
uccn
.
rest
;
import
com.github.wxiaoqi.security.common.msg.ObjectRestResponse
;
import
com.xxfc.platform.uccn.biz.RandomListBiz
;
import
com.xxfc.platform.uccn.dto.RandomListDto
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
@RestController
@RequestMapping
(
"/random/list"
)
public
class
RandomListController
{
@Autowired
RandomListBiz
randomListBiz
;
@GetMapping
(
"/app/unauth/get"
)
public
ObjectRestResponse
getRandomList
(
RandomListDto
randomListDto
)
{
if
(
randomListDto
==
null
)
{
return
ObjectRestResponse
.
paramIsEmpty
();
}
return
randomListBiz
.
getRandomList
(
randomListDto
.
getType
(),
randomListDto
.
getNumber
(),
randomListDto
.
getLocation
());
}
}
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehicleActiveService.java
View file @
2a9f6aa9
...
...
@@ -9,6 +9,7 @@ import com.xxfc.platform.vehicle.constant.ResCode.ResCode;
import
com.xxfc.platform.vehicle.entity.*
;
import
com.xxfc.platform.vehicle.mapper.*
;
import
com.xxfc.platform.vehicle.pojo.*
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.StringUtils
;
import
org.joda.time.DateTime
;
import
org.joda.time.format.DateTimeFormat
;
...
...
@@ -23,6 +24,7 @@ import org.springframework.transaction.interceptor.TransactionAspectSupport;
import
java.util.*
;
@Service
@Slf4j
public
class
VehicleActiveService
{
@Autowired
...
...
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