opt:优化界面操作
This commit is contained in:
@@ -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)){
|
||||
|
||||
Reference in New Issue
Block a user