This commit is contained in:
2023-01-04 13:23:25 +08:00
parent 67eebd4a06
commit 6733004128

View File

@@ -158,6 +158,8 @@ public class TimingSendMaterialTask extends AbstractAcsTask {
Long material_id = form.getLong("material_id"); Long material_id = form.getLong("material_id");
String create_mode = form.getString("create_mode"); String create_mode = form.getString("create_mode");
String is_auto_issue = form.getString("is_auto_issue"); String is_auto_issue = form.getString("is_auto_issue");
String vehicle_type = form.getString("vehicle_type");
String vehicle_code = form.getString("vehicle_code");
/* /*
* 1.先生成确定终点的任务 * 1.先生成确定终点的任务
@@ -185,6 +187,8 @@ public class TimingSendMaterialTask extends AbstractAcsTask {
.task_status(TaskStatusEnum.START_AND_POINT.getCode()) .task_status(TaskStatusEnum.START_AND_POINT.getCode())
.point_code1(point_code1) .point_code1(point_code1)
.point_code2(point_code2) .point_code2(point_code2)
.vehicle_type(vehicle_type)
.vehicle_code(vehicle_code)
.priority("1") .priority("1")
.handle_class(THIS_CLASS) .handle_class(THIS_CLASS)
.is_auto_issue(is_auto_issue) .is_auto_issue(is_auto_issue)
@@ -342,6 +346,8 @@ public class TimingSendMaterialTask extends AbstractAcsTask {
JSONObject map = new JSONObject(); JSONObject map = new JSONObject();
map.put("point_code1", jsonObject1.getString("point_code")); map.put("point_code1", jsonObject1.getString("point_code"));
map.put("point_code2", jsonObject2.getString("point_code")); map.put("point_code2", jsonObject2.getString("point_code"));
map.put("vehicle_code", jsonObject.getString("point_code"));
map.put("vehicle_type", jsonObject.getString("point_code"));
map.put("material_id", material_id); map.put("material_id", material_id);
map.put("create_mode", "1"); map.put("create_mode", "1");
map.put("is_auto_issue", "1"); map.put("is_auto_issue", "1");