Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhongtong-avi-service
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
中通客车项目
zhongtong-avi-service
Commits
3714a719
Commit
3714a719
authored
Sep 18, 2019
by
喻训浩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:searchCode定义
parent
f57df73e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
5 deletions
+18
-5
EquipmentController.java
...ongtong/avi/equipment/controller/EquipmentController.java
+4
-3
ShowFieldController.java
...ngtong/avi/global/web/controller/ShowFieldController.java
+1
-1
application-dev-yxh.properties
src/main/resources/config/application-dev-yxh.properties
+12
-0
application-quartz.properties
src/main/resources/config/application-quartz.properties
+1
-1
No files found.
src/main/java/net/vtstar/zhongtong/avi/equipment/controller/EquipmentController.java
View file @
3714a719
...
...
@@ -4,13 +4,14 @@ import com.github.pagehelper.PageInfo;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
net.vtstar.user.search.controller.vo.SearchVo
;
import
net.vtstar.utils.domain.Return
;
import
net.vtstar.zhongtong.avi.equipment.service.EquipmentService
;
import
net.vtstar.zhongtong.avi.stamping.domain.LaserCuttingMachine
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.ArrayList
;
...
...
@@ -24,9 +25,9 @@ public class EquipmentController {
@Autowired
private
EquipmentService
equipmentService
;
@ApiOperation
(
value
=
"获取设备实时监控数据"
)
@ApiOperation
(
value
=
"获取设备实时监控数据
(分页)
"
)
@GetMapping
(
value
=
"/realTime/data"
)
private
Return
getRealTimeData
(
@Request
Param
(
"ShopCode"
)
String
ShopCode
,
@RequestParam
(
"equipType"
)
String
equipType
){
private
Return
getRealTimeData
(
@Request
Body
SearchVo
pageFilter
){
Object
realTimeData
=
equipmentService
.
findRealTimeData
();
ArrayList
<
LaserCuttingMachine
>
data
=
(
ArrayList
<
LaserCuttingMachine
>)
realTimeData
;
return
Return
.
success
(
new
PageInfo
<>(
data
));
...
...
src/main/java/net/vtstar/zhongtong/avi/global/web/controller/ShowFieldController.java
View file @
3714a719
...
...
@@ -32,7 +32,7 @@ public class ShowFieldController {
"四轮定位:WHEEL_ALIGNMENT\r\n铆接设备: RIVETING_EQUIPMENT\r\n集中加注冷媒:FOCUS_ADDING_REFRIGERANT\r\n"
+
"润滑油集中加注:CENTRALIZED_FILLING_CLUTCH\r\n集中加注助力油: FOCUS_BOOSTER_OIL\r\n"
+
"地板革热熔胶涂布设备: FLOOR_LEATHER_HOT\r\n新能源在线检测点: NEW_ENERGY\r\n检测线: CHECK_LINE\r\n"
+
"充电桩: CHARGING_PILE\r\n动静态测试: DYNAMIC_STATIC_TEST\r\n加氢站: HYDROGEN_STATION"
+
"充电桩: CHARGING_PILE\r\n动静态测试: DYNAMIC_STATIC_TEST\r\n加氢站: HYDROGEN_STATION
\r\n
"
+
"Voc处理平台:VOC_PROCESSING_PLATFORM"
)
@GetMapping
(
"/showField"
)
private
Return
findShowFieldBySearchCode
(
@RequestParam
(
"searchCode"
)
String
searchCode
)
{
...
...
src/main/resources/config/application-dev-yxh.properties
0 → 100644
View file @
3714a719
spring.profiles.include
=
mybatis,quartz,swagger,security
# Mysql
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.url
=
jdbc:mysql://localhost:3306/zhongtong_dev?useSSL=false&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
spring.datasource.username
=
root
spring.datasource.password
=
123456
# redis
spring.redis.host
=
10.100.172.102
spring.redis.port
=
6379
spring.redis.password
=
\ No newline at end of file
src/main/resources/config/application-quartz.properties
View file @
3714a719
...
...
@@ -24,4 +24,4 @@ quartz.job.taskInfos[0].jobName=net.vtstar.zhongtong.avi.stamping.job.LaserCutti
quartz.job.taskInfos[0]
.jobGroup
=
LaserCuttingMachineJob
quartz.job.taskInfos[0]
.jobDescription
=
\u
5C01
\u
88C5
\u
7EBF
\u9884\u
710A
\u
673A
\u6570\u
636E
\u
91C7
\u
96C6job
quartz.job.taskInfos[0]
.cronExpression
=
0/10 * * * * ?
quartz.job.taskInfos[0]
.start
=
true
\ No newline at end of file
quartz.job.taskInfos[0]
.start
=
false
\ No newline at end of file
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