Commit 86a4d7d2 authored by AfirSraftGarrier's avatar AfirSraftGarrier

上报错误方法改变

parent 6b49317b
......@@ -22,8 +22,8 @@ public class ForwardMessageResponseEventHandler {
ForwardManager forwardManager;
@Autowired
EventPublisher eventPublisher;
@Resource
private PmsUseService pmsUseService;
//@Resource
//private PmsUseService pmsUseService;
public ForwardMessageResponseEventHandler() {
}
......@@ -45,10 +45,9 @@ public class ForwardMessageResponseEventHandler {
} else {
log.info("forward client response undo ..." + sn);
}
// 说明已经成功
if (protocol.getCmd() == 0xF2) {
pmsUseService.success(deviceSessionContext.getUseLogId());
}
//if (protocol.getCmd() == 0xF2) {
// pmsUseService.success(deviceSessionContext.getUseLogId());
//}
}
}
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