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:
heyu 2025-12-12 14:26:41 +08:00
commit fd3634f58c

View File

@ -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);
}
}