Browse Source

网格员巡查功能接口

master
zhaoqifeng 4 years ago
parent
commit
330e6cd4d0
  1. 2
      epmet-module/data-aggregator/data-aggregator-server/src/main/java/com/epmet/dataaggre/service/epmetuser/impl/EpmetUserServiceImpl.java

2
epmet-module/data-aggregator/data-aggregator-server/src/main/java/com/epmet/dataaggre/service/epmetuser/impl/EpmetUserServiceImpl.java

@ -129,7 +129,7 @@ public class EpmetUserServiceImpl implements EpmetUserService {
Integer minutes;
if (("patrolling").equals(record.getStatus())) {
minutes = DateUtils.calculateMin(record.getPatrolStartTime(), new Date());
String latestChangeDesc = "后端返回:巡查员最近地址变动是" + minutes + "分钟前";
String latestChangeDesc = "巡查员最近地址变动是" + minutes + "分钟前";
dto.setLatestChangeDesc(latestChangeDesc);
} else {
minutes = record.getTotalTime() / 60;

Loading…
Cancel
Save