| | |
| | | .andNew().eq("io_type",108) |
| | | .andNew() |
| | | .eq("crn_no",2).or().eq("crn_no",3) |
| | | .orderBy("appe_time",true) |
| | | .orderBy("io_pri",false).orderBy("appe_time",true) |
| | | ); |
| | | if (agvWrkMastList.isEmpty()) { |
| | | return; |
| | |
| | | List<AgvWrkMast> agvWrkMastList = agvWrkMastService.selectList(new EntityWrapper<AgvWrkMast>() |
| | | .eq("wrk_sts", 22) |
| | | .andNew().eq("io_type",111) |
| | | .orderBy("io_pri",false) |
| | | .orderBy("appe_time",true) |
| | | ); |
| | | if (agvWrkMastList.isEmpty()) { |
| | |
| | | List<AgvWrkMast> agvWrkMastList = agvWrkMastService.selectList(new EntityWrapper<AgvWrkMast>() |
| | | .eq("wrk_sts", 214) |
| | | .eq("loc_no","") |
| | | .eq("io_type",113)); |
| | | .eq("io_type",113) |
| | | .orderBy("io_pri",false)); |
| | | if (agvWrkMastList.isEmpty()) { |
| | | return; |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | private boolean determineFloorConnection(Integer floor){ |
| | | try{ |
| | | List<AgvBasDevp> agvBasDevps = agvBasDevpService.selectList(new EntityWrapper<AgvBasDevp>().eq("floor", floor).like("dev_no", "DB_")); |
| | | if (!agvBasDevps.isEmpty()){ |
| | | for (AgvBasDevp agvBasDevp:agvBasDevps){ |
| | | if (agvBasDevp.getInEnable().equals("Y")){ |
| | | return false; |
| | | } |
| | | } |
| | | return true; |
| | | } |
| | | }catch (Exception e){ |
| | | log.error("判断当前楼层接驳位是否全部关闭,异常"+e.getMessage()); |
| | | } |
| | | return false; |
| | | } |
| | | |
| | | /** |
| | | * 站点是否自动 |
| | | * 自动: 生成 109 自动回流 |