Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
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
项目统一框架
amos-boot-biz
Commits
30a5e13d
Commit
30a5e13d
authored
Feb 28, 2023
by
litengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
438fe4ee
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
11 deletions
+6
-11
MqttReceiveServiceImpl.java
...join/equipmanage/service/impl/MqttReceiveServiceImpl.java
+3
-3
HomeController.java
...ejoin/amos/patrol/business/controller/HomeController.java
+1
-3
SafetyController.java
...oin/amos/patrol/business/controller/SafetyController.java
+1
-3
RouteServiceImpl.java
...n/amos/patrol/business/service/impl/RouteServiceImpl.java
+1
-2
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/MqttReceiveServiceImpl.java
View file @
30a5e13d
...
@@ -1520,7 +1520,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
...
@@ -1520,7 +1520,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
EquipmentSpecificIndex
data
=
getPressurePumpDateByType
(
indexKey
,
valueEnum
,
topicEntity
,
equipmentSpeIndexList
,
pressurePumpEnum
);
EquipmentSpecificIndex
data
=
getPressurePumpDateByType
(
indexKey
,
valueEnum
,
topicEntity
,
equipmentSpeIndexList
,
pressurePumpEnum
);
Date
newDate
=
new
Date
();
Date
newDate
=
new
Date
();
// 2. 校验
// 2. 校验
if
(!
ObjectUtils
.
isEmpty
(
data
))
{
if
(!
ObjectUtils
.
isEmpty
(
data
.
getUpdateDate
()
))
{
checkValueByDate
(
data
,
newDate
,
pressurePumpEnum
);
checkValueByDate
(
data
,
newDate
,
pressurePumpEnum
);
}
}
});
});
...
@@ -1530,7 +1530,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
...
@@ -1530,7 +1530,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
private
EquipmentSpecificIndex
getPressurePumpDateByType
(
String
indexKey
,
PressurePumpValueEnum
valueEnum
,
TopicEntityVo
topicEntity
,
List
<
EquipmentSpecificIndex
>
equipmentSpeIndexList
,
PressurePumpEnum
pressurePumpEnum
)
{
private
EquipmentSpecificIndex
getPressurePumpDateByType
(
String
indexKey
,
PressurePumpValueEnum
valueEnum
,
TopicEntityVo
topicEntity
,
List
<
EquipmentSpecificIndex
>
equipmentSpeIndexList
,
PressurePumpEnum
pressurePumpEnum
)
{
String
iotCode
=
topicEntity
.
getIotCode
();
String
iotCode
=
topicEntity
.
getIotCode
();
EquipmentSpecificIndex
equipmentSpecificIndex
=
n
ull
;
EquipmentSpecificIndex
equipmentSpecificIndex
=
n
ew
EquipmentSpecificIndex
()
;
String
prefix
=
null
;
String
prefix
=
null
;
String
suffix
=
null
;
String
suffix
=
null
;
if
(
iotCode
.
length
()
>
8
)
{
if
(
iotCode
.
length
()
>
8
)
{
...
@@ -1600,7 +1600,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
...
@@ -1600,7 +1600,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
String
startTime
=
collect
.
get
(
0
).
get
(
"time"
).
substring
(
0
,
19
).
replace
(
"T"
,
" "
);
String
startTime
=
collect
.
get
(
0
).
get
(
"time"
).
substring
(
0
,
19
).
replace
(
"T"
,
" "
);
Date
startDate
=
DateUtils
.
dateAddHours
(
DateUtils
.
longStr2Date
(
startTime
),
+
8
);
Date
startDate
=
DateUtils
.
dateAddHours
(
DateUtils
.
longStr2Date
(
startTime
),
+
8
);
listData
.
get
(
0
).
setUpdateDate
(
startDate
);
listData
.
get
(
0
).
setUpdateDate
(
startDate
);
equipmentSpecificIndex
=
listData
.
get
(
0
);
BeanUtils
.
copyProperties
(
listData
.
get
(
0
),
equipmentSpecificIndex
);
}
}
}
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/controller/HomeController.java
View file @
30a5e13d
...
@@ -43,9 +43,7 @@ public class HomeController extends AbstractBaseController{
...
@@ -43,9 +43,7 @@ public class HomeController extends AbstractBaseController{
private
IPlanTaskService
planTaskService
;
private
IPlanTaskService
planTaskService
;
/*@Autowired
/*@Autowired
private IUserService userService;*/
private IUserService userService;*/
@Autowired
private
RemoteSecurityService
remoteSecurityService
;
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"首页数据"
,
notes
=
"首页数据"
)
@ApiOperation
(
value
=
"首页数据"
,
notes
=
"首页数据"
)
@GetMapping
(
value
=
"/overviewData"
)
@GetMapping
(
value
=
"/overviewData"
)
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/controller/SafetyController.java
View file @
30a5e13d
...
@@ -51,9 +51,7 @@ public class SafetyController extends AbstractBaseController{
...
@@ -51,9 +51,7 @@ public class SafetyController extends AbstractBaseController{
/*@Autowired
/*@Autowired
private AmosBankFeign pointService;*/
private AmosBankFeign pointService;*/
@Autowired
private
RemoteSecurityService
remoteSecurityService
;
/**
/**
* 保存登陆用户选择公司信息
* 保存登陆用户选择公司信息
*/
*/
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/impl/RouteServiceImpl.java
View file @
30a5e13d
...
@@ -110,8 +110,7 @@ public class RouteServiceImpl extends ServiceImpl<RouteMapper, Route> implement
...
@@ -110,8 +110,7 @@ public class RouteServiceImpl extends ServiceImpl<RouteMapper, Route> implement
@Autowired
@Autowired
private
IRoutePointItemDao
iRoutePointItemDao
;
private
IRoutePointItemDao
iRoutePointItemDao
;
@Autowired
private
RemoteSecurityService
remoteSecurityService
;
@Override
@Override
@Transactional
@Transactional
...
...
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