浏览代码

Merge branch 'dev' of liubing/wlyy2.0 into dev

liubing 3 年之前
父节点
当前提交
386976bb1a
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      svr/svr-cloud-device/src/main/java/com/yihu/jw/care/util/DeviceDataPushLogUtil.java

+ 6 - 0
svr/svr-cloud-device/src/main/java/com/yihu/jw/care/util/DeviceDataPushLogUtil.java

@ -58,6 +58,12 @@ public class DeviceDataPushLogUtil {
        }
        }
    }
    }
    /**
     * 更新在线状态 及次数
     * @param sn
     * @param status
     * @param flag 状态 true 异常 false 正常 null其他
     */
    public void updContactStatus(String sn,Integer status,Boolean flag){
    public void updContactStatus(String sn,Integer status,Boolean flag){
        DeviceDetail deviceDetail = deviceDetailDao.findBySn(sn);
        DeviceDetail deviceDetail = deviceDetailDao.findBySn(sn);
        if(deviceDetail!=null){
        if(deviceDetail!=null){