Commit fad22711 authored by zhengjiangtao's avatar zhengjiangtao

修改巡检弹窗bug

parent 66a54c63
...@@ -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;
}
} }
...@@ -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());
......
...@@ -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_id"/> <result property="userId" column="userId"/>
<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}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment