Browse Source

Merge branch 'dev_grid_patrol' into develop

master
zhaoqifeng 4 years ago
parent
commit
0dcb27f755
  1. 2
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/user/impl/UserServiceImpl.java
  2. 4
      epmet-user/epmet-user-client/src/main/java/com/epmet/dto/result/StaffPatrolInitResultDTO.java
  3. 1
      epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/StaffPatrolRecordServiceImpl.java

2
epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/user/impl/UserServiceImpl.java

@ -773,12 +773,10 @@ public class UserServiceImpl implements UserService {
userDTO = topicUserMap.get(project.getLinkName());
}
if (userDTO != null) {
logger.info("fillScreenProjectData every user data:{}", JSON.toJSONString(userDTO));
project.setLinkName(userDTO.getLinkName());
project.setLinkMobile(userDTO.getLinkMobile());
}
}
logger.info("fillScreenProjectData result list:{}", JSON.toJSONString(list));
}
/**

4
epmet-user/epmet-user-client/src/main/java/com/epmet/dto/result/StaffPatrolInitResultDTO.java

@ -27,4 +27,8 @@ public class StaffPatrolInitResultDTO implements Serializable {
* patrolling返回最大的序号status=end时此列返回-1
*/
private Integer latestSerialNum;
/**
* 最小时间间隔单位s默认30后面可以做成客户可配置参数
*/
private Integer carmDown;
}

1
epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/StaffPatrolRecordServiceImpl.java

@ -87,6 +87,7 @@ public class StaffPatrolRecordServiceImpl extends BaseServiceImpl<StaffPatrolRec
result.setStaffPatrolRecId(entity.getId());
result.setStatus(entity.getStatus());
result.setLatestSerialNum(PatrolConstant.END.equals(entity.getStatus()) ? NumConstant.ONE_NEG : detail.getSerialNum());
result.setCarmDown(NumConstant.THIRTY);
return result;
}

Loading…
Cancel
Save