opt:优化界面操作

This commit is contained in:
2025-03-18 09:59:35 +08:00
parent 2d4468d050
commit c32e957d9a
6 changed files with 75 additions and 39 deletions

View File

@@ -43,8 +43,8 @@ public class InStorageTask extends AbstractTask {
@Override
public JSONObject createTask(JSONObject from) {
String vehicle_code = "Z00004035";
String struct_code = "L01-22-33";
String vehicle_code = from.getString("vehicle_code");
String struct_code = from.getJSONObject("form_data").getString("end_struct_code");
String start_point = from.getString("start_point");
String task_type = from.getString("task_type");
if (StringUtils.isEmpty(vehicle_code) ||StringUtils.isEmpty(start_point)||StringUtils.isEmpty(struct_code)){