Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AmosBankPatrolRoot
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
1
Merge Requests
1
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
bank
AmosBankPatrolRoot
Commits
fad22711
Commit
fad22711
authored
Jun 17, 2020
by
zhengjiangtao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改巡检弹窗bug
parent
66a54c63
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
5 deletions
+15
-5
PointCheckInfoBusinessRespone.java
...l/common/core/response/PointCheckInfoBusinessRespone.java
+11
-2
Safety3DDataSendServiceImpl.java
...ce/business/service/impl/Safety3DDataSendServiceImpl.java
+3
-2
dbTemplate_check.xml
...olStart/src/main/resources/db/mapper/dbTemplate_check.xml
+1
-1
No files found.
AmosBankPatrolCommon/src/main/java/com/yeejoin/amos/patrol/common/core/response/PointCheckInfoBusinessRespone.java
View file @
fad22711
...
@@ -26,6 +26,9 @@ public class PointCheckInfoBusinessRespone {
...
@@ -26,6 +26,9 @@ public class PointCheckInfoBusinessRespone {
private
String
userName
;
private
String
userName
;
private
String
checkUser
;
/**
/**
* 检查项
* 检查项
*/
*/
...
@@ -101,7 +104,13 @@ public class PointCheckInfoBusinessRespone {
...
@@ -101,7 +104,13 @@ public class PointCheckInfoBusinessRespone {
public
void
setUserName
(
String
userName
)
{
public
void
setUserName
(
String
userName
)
{
this
.
userName
=
userName
;
this
.
userName
=
userName
;
}
}
public
String
getCheckUser
()
{
return
checkUser
;
}
public
void
setCheckUser
(
String
checkUser
)
{
this
.
checkUser
=
checkUser
;
}
}
}
AmosBankPatrolService/src/main/java/com/yeejoin/amos/patrol/service/business/service/impl/Safety3DDataSendServiceImpl.java
View file @
fad22711
...
@@ -216,8 +216,9 @@ public class Safety3DDataSendServiceImpl implements ISafety3DDataSendService {
...
@@ -216,8 +216,9 @@ public class Safety3DDataSendServiceImpl implements ISafety3DDataSendService {
PointCheckInfoBusinessRespone
pb
=
checkMapper
.
getCheckInfoBusinessById
(
checkId
);
PointCheckInfoBusinessRespone
pb
=
checkMapper
.
getCheckInfoBusinessById
(
checkId
);
AgencyUserModel
userById
=
remoteSecurityService
.
getUserById
(
toke
,
product
,
appKey
,
pb
.
getUserId
());
AgencyUserModel
userById
=
remoteSecurityService
.
getUserById
(
toke
,
product
,
appKey
,
pb
.
getUserId
());
if
(!
StringUtils
.
isEmpty
(
userById
.
getUserName
()))
{
if
(
null
!=
userById
&&
!
StringUtils
.
isEmpty
(
userById
.
getUserName
()))
{
pb
.
setUserName
(
userById
.
getUserName
());
pb
.
setUserName
(
userById
.
getRealName
());
pb
.
setCheckUser
(
userById
.
getRealName
());
}
}
// //获取到推送点的状态
// //获取到推送点的状态
// Point point = iPointDao.findOne(pb.getId());
// Point point = iPointDao.findOne(pb.getId());
...
...
AmosBankPatrolStart/src/main/resources/db/mapper/dbTemplate_check.xml
View file @
fad22711
...
@@ -1823,7 +1823,7 @@
...
@@ -1823,7 +1823,7 @@
<result
property=
"id"
column=
"pointId"
/>
<result
property=
"id"
column=
"pointId"
/>
<result
property=
"name"
column=
"pointName"
/>
<result
property=
"name"
column=
"pointName"
/>
<result
property=
"nodeState"
column=
"status"
/>
<result
property=
"nodeState"
column=
"status"
/>
<result
property=
"userId"
column=
"user
_i
d"
/>
<result
property=
"userId"
column=
"user
I
d"
/>
<collection
property=
"pointInputitems"
<collection
property=
"pointInputitems"
ofType=
"com.yeejoin.amos.patrol.common.core.response.CheckInputBusinessResponse"
ofType=
"com.yeejoin.amos.patrol.common.core.response.CheckInputBusinessResponse"
select=
"queryPointInputBu"
column=
"{checkId=checkId}"
>
select=
"queryPointInputBu"
column=
"{checkId=checkId}"
>
...
...
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