| | |
| | | LocTypeDto locTypeDto = new LocTypeDto(sourceStaNo); |
| | | |
| | | StartupDto dto = null; |
| | | try{ |
| | | switch (param.getIoType()) { |
| | | case 1://满托盘入库 |
| | | assert waitPakins != null; |
| | |
| | | default: |
| | | break; |
| | | } |
| | | } catch (Exception e){ |
| | | String message = e.getMessage(); |
| | | if (message.contains("--")){ |
| | | String[] split = message.split("--"); |
| | | if (!Cools.isEmpty(split) && split.length>=2){ |
| | | if (split[1].equals("1000")){ |
| | | return R.parse(CodeRes.NONE_DETL_1000); |
| | | } |
| | | } |
| | | } |
| | | return R.error().add(e.getMessage()); |
| | | } |
| | | if (!Cools.isEmpty(dto) && param.getIoType()<11 && dto.getCrnNo().equals(0) && dto.getWorkNo().equals(9999) && dto.getStaNo().equals(1000)){ |
| | | return R.parse(CodeRes.NONE_DETL_1000); |
| | | } |