rev:修改二次分配请求

This commit is contained in:
2024-12-26 23:06:24 +08:00
parent eaca1e8a12
commit d74d8b7f3f
2 changed files with 19 additions and 10 deletions

View File

@@ -1003,7 +1003,9 @@ public class CockpitServiceImpl implements CockpitService {
//todo 待补充信号逻辑
for (Object object : agv) {
JSONObject jsonObject = (JSONObject) object;
if (StringUtils.isBlank(jsonObject.getString("move"))) {
if (StringUtils.isNotBlank(jsonObject.getString("task_id"))) {
jsonObject.put("move", "1");
} else {
jsonObject.put("move", "0");
}
if (StringUtils.isBlank(jsonObject.getString("full"))) {