| | |
| | | /** |
| | | * 堆垛机库入库站点 |
| | | */ |
| | | public static final Map<Integer,Boolean> inSiteMap = new HashMap<Integer,Boolean>(){{ |
| | | inSiteMap.put(1040,true); |
| | | inSiteMap.put(2010,true);inSiteMap.put(2000,true); |
| | | inSiteMap.put(3010,true); |
| | | }}; |
| | | public static final Map<Integer,Boolean> inSiteMap = new HashMap<Integer,Boolean>(); |
| | | |
| | | static { |
| | | inSiteMap.put(1040, true); |
| | | inSiteMap.put(2010, true);inSiteMap.put(2000, true); |
| | | inSiteMap.put(3010, true); |
| | | } |
| | | |
| | | /** |
| | | * 堆垛机出库操作时拦截出库站点,判断出入库模式 |
| | |
| | | */ |
| | | public static void outStockIntercept(Integer site){ |
| | | // 只判断堆垛机库的入库站点 |
| | | if (inSiteMap.get(site)) { |
| | | if (inSiteMap.get(site) != null) { |
| | | BasDevpMapper basDevpMapper = SpringUtils.getBean(BasDevpMapper.class); |
| | | BasDevp basDevp = basDevpMapper.selectById(site); |
| | | String devMk = basDevp.getDevMk(); |