| | |
| | | return false; |
| | | } |
| | | List<BasJarMast> basJarMastList1 = basJarMastService.getJarMastByJarIdAndStatusList(jarSlave.getJarOtherId(), new ArrayList<Integer>() {{ |
| | | add(0);add(1);add(2);add(3);add(8);add(9);add(10);add(11);add(12); |
| | | add(0);add(1);add(2);add(3); |
| | | }}); |
| | | if (!basJarMastList1.isEmpty()){ |
| | | return false; |
| | | } |
| | | BasJar basJarOther11 = basJarMapper.selectById(jarSlave.getJarOtherId()); |
| | | if (!Cools.isEmpty(basJarOther11)){ |
| | | List<BasJarMast> basJarMastList2 = basJarMastService.getJarMastByJarIdAndStatusList(jarSlave.getJarOtherId(), new ArrayList<Integer>() {{ |
| | | add(8);add(9);add(10);add(11);add(12); |
| | | }}); |
| | | if (!basJarMastList2.isEmpty() && basJarMastList2.size()!=basJarOther11.getJarCount()){ |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | List<BasJarMast> basJarMastList = basJarMastService.getJarMastByJarIdAndStatusList(jarSlave.getId(), new ArrayList<Integer>() {{ |
| | | add(8); |
| | | }}); |