opt: 增加叉腿抬升和下降动作报错记录

This commit is contained in:
2023-12-18 16:21:07 +08:00
parent fe7ab6dfc9
commit fb79b62c0c
2 changed files with 4 additions and 4 deletions

View File

@@ -584,7 +584,7 @@ public class HomeServiceImpl implements HomeService {
taskjo.put("step", "0"); taskjo.put("step", "0");
updateTaskStatus(taskjo, null); updateTaskStatus(taskjo, null);
} else { } else {
String error = TaskSendBackStatusEnum.getName(resultflag); log.error("handleTaskStatus-叉抬升失败:{}",TaskSendBackStatusEnum.getName(resultflag));
} }
} }
qeryDebuggerInfoQuick(); qeryDebuggerInfoQuick();
@@ -599,11 +599,11 @@ public class HomeServiceImpl implements HomeService {
JSONObject resjo = JSONObject.parseObject(send.toString()); JSONObject resjo = JSONObject.parseObject(send.toString());
String resultflag = resjo.getString("result"); String resultflag = resjo.getString("result");
if (StrUtil.equals("0", resultflag)) { if (StrUtil.equals("0", resultflag)) {
//叉腿已抬升 //叉腿已下降
taskjo.put("step", "0"); taskjo.put("step", "0");
updateTaskStatus(taskjo, null); updateTaskStatus(taskjo, null);
} else { } else {
String error = TaskSendBackStatusEnum.getName(resultflag); log.error("handleTaskStatus-叉腿下降失败:{}",TaskSendBackStatusEnum.getName(resultflag));
} }
} }
qeryDebuggerInfoQuick(); qeryDebuggerInfoQuick();

View File

@@ -4,7 +4,7 @@ spring:
freemarker: freemarker:
check-template-location: false check-template-location: false
profiles: profiles:
active: prod active: dev
jackson: jackson:
time-zone: GMT+8 time-zone: GMT+8
data: data: