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

View File

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