1、设置一键集合的库位位置,在位置信息表中插入一键集合的库位类型字段business_type=16;
2、判断小车是否为空闲状态,判断位置上是否为空(只排除有小车的情况,笼车不用排除);
3、将空闲小车与对应空闲库位对应组合为map,将map放入list中,然后遍历,依次调用小车。
--可以集合的小车(排除掉非空闲的小车和在集合位置的小车)
select agv_no from base_agv_info where status = 1 and idle_flag=0 AND location_no NOT IN(
select location_no from delivery_location_sort where business_type=16);
--修改表中数据,解锁
select t.*,t.rowid from base_agv_info t;
--查找集合位置中空闲的库位编号
select location_no from delivery_location_sort where business_type=16 and location_no not in
(select location_no from base_agv_info where location_no is not null) order by sort_no;
1、新建一个交易的步骤
2、从右侧组件选择窗口选择一个公共组件进行修改,首先降级为交易组件,数据源选