| | |
| | | if (!Cools.eq(next.getLocDetl().getBatch(), locDetl.getBatch())) { |
| | | continue; |
| | | } |
| | | if(!Cools.eq(next.getLocDetl().getSuppCode(),locDetl.getSuppCode())){ |
| | | continue; |
| | | } |
| | | if(!Cools.eq(next.getLocDetl().getThreeCode(),locDetl.getThreeCode())){ |
| | | continue; |
| | | } |
| | | if(!Cools.eq(next.getLocDetl().getDeadTime(),locDetl.getDeadTime())){ |
| | | continue; |
| | | } |
| | | if (next.getCount() > locDetl.getAnfme()) { |
| | | throw new CoolException("服务器内部错误"); |
| | | throw new CoolException("数量超过库存数量"); |
| | | } |
| | | if (next.getCount().equals(locDetl.getAnfme())) { |
| | | sameNumber++; |