Merge pull request 'demand: 分批逻辑修复' (#266) from develop into master
Reviewed-on: http://git.xdadan.loc/tanex/emis-service/pulls/266
This commit is contained in:
commit
fd3634f58c
@ -269,7 +269,7 @@ public class EmisTmsSiteBatchDtlServiceImpl implements IEmisTmsSiteBatchDtlServi
|
||||
.filter(batch -> supplierCodeList.contains(batch.getSupplierCode()))
|
||||
.collect(Collectors.toList());
|
||||
|
||||
if (!matchedBatches.isEmpty()) {
|
||||
if (!matchedBatches.isEmpty()&&!supplierCode.equals(matchedBatches.get(0).getSupplierCode())) {
|
||||
matchedBatchGroups.add(matchedBatches);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user