5 Commits

Author SHA1 Message Date
4619bf8d35 fix: 防止禁用点位空指针 2026-08-10 09:35:26 +08:00
103cbd99ce fix: 优化 2026-08-06 22:04:22 +08:00
c2ae9394f7 fix: 无需多余判断 2026-08-06 17:10:31 +08:00
25be1d09df fix: 轴校验 2026-08-06 16:50:51 +08:00
309a4a83bc fix: 桁架取货顺序 2026-08-06 16:22:27 +08:00
4 changed files with 5 additions and 10 deletions

View File

@@ -36,8 +36,8 @@
AND point.region_id= #{region_id} AND point.region_id= #{region_id}
</if> </if>
<if test="box_type != null and box_type != ''"> <if test="sale_order_name != null and sale_order_name != ''">
AND sub.box_type= #{box_type} AND sub.sale_order_name= #{sale_order_name}
</if> </if>
GROUP BY point.row_num GROUP BY point.row_num

View File

@@ -99,7 +99,7 @@ public class TwoSendOutTask extends AbstractAcsTask {
.vehicle_code(json.getString("vehicle_code")) .vehicle_code(json.getString("vehicle_code"))
.priority(json.getString("priority")) .priority(json.getString("priority"))
.class_type(json.getString("task_type")) .class_type(json.getString("task_type"))
.agv_system_type(PackageInfoIvtEnum.AGV_SYSTEM_TYPE.code("2楼1区域AGV系统")) .agv_system_type("3")
.agv_action_type(PackageInfoIvtEnum.AGV_ACTION_TYPE.code("放货二次分配")) .agv_action_type(PackageInfoIvtEnum.AGV_ACTION_TYPE.code("放货二次分配"))
.dtl_type(String.valueOf(dtl_type)) .dtl_type(String.valueOf(dtl_type))
.route_plan_code(getRoutePlanCode(json.getString("point_code1"))) .route_plan_code(getRoutePlanCode(json.getString("point_code1")))
@@ -199,7 +199,6 @@ public class TwoSendOutTask extends AbstractAcsTask {
json.put("point_code2", form.getString("point_code2")); json.put("point_code2", form.getString("point_code2"));
json.put("point_code4", form.getString("point_code4")); json.put("point_code4", form.getString("point_code4"));
json.put("vehicle_code", form.getString("vehicle_code")); json.put("vehicle_code", form.getString("vehicle_code"));
json.put("acs_task_type", "3");
json.put("handle_class", THIS_CLASS); json.put("handle_class", THIS_CLASS);
json.put("create_id", SecurityUtils.getCurrentUserId()); json.put("create_id", SecurityUtils.getCurrentUserId());
json.put("create_name", SecurityUtils.getCurrentUsername()); json.put("create_name", SecurityUtils.getCurrentUsername());

View File

@@ -938,7 +938,7 @@ public class AutoCallAirShaftTask extends Prun {
.eq(BstIvtShafttubeivt::getPoint_location, empty.getPoint_location()) .eq(BstIvtShafttubeivt::getPoint_location, empty.getPoint_location())
.eq(BstIvtShafttubeivt::getPoint_type, empty.getPoint_type()) .eq(BstIvtShafttubeivt::getPoint_type, empty.getPoint_type())
.eq(BstIvtShafttubeivt::getIs_used, "1")); .eq(BstIvtShafttubeivt::getIs_used, "1"));
if (ObjectUtil.isNotEmpty(one.getPlan()) && "2".equals(one.getPlan())) { if (ObjectUtil.isNotEmpty(one) && ObjectUtil.isNotEmpty(one.getPlan()) && "2".equals(one.getPlan())) {
if (qzzSize.equals(one.getQzz_size()) && "6".equals(qzzSize)) { if (qzzSize.equals(one.getQzz_size()) && "6".equals(qzzSize)) {
judgment2 = (qzzCache.size() - 1) > 0; judgment2 = (qzzCache.size() - 1) > 0;
} }

View File

@@ -47,11 +47,7 @@ public class AcsUtil {
product_area = "LK"; product_area = "LK";
} }
if (jo.containsKey("class_type") && jo.getString("class_type").contains("0107")) { if (jo.containsKey("class_type") && jo.getString("class_type").contains("0107")) {
if (jo.getString("class_type").equals("010708")){ product_area = "BLK";
product_area = "B1";
}else {
product_area = "BLK";
}
} }
if (StrUtil.isEmpty(product_area)) { if (StrUtil.isEmpty(product_area)) {
log.warn("区域不能为空!下发信息:" + jo.toString()); log.warn("区域不能为空!下发信息:" + jo.toString());