sap包测试版本用1.0.0

highway
zhaoxiaolin 1 year ago
parent de1e664328
commit 968c577902

@ -360,7 +360,8 @@ public class SapWorkCenterServiceImpl implements SapWorkCenterService {
List<SapCustom> updates = new ArrayList<>(); List<SapCustom> updates = new ArrayList<>();
for(String exsitCode:exsitCodes){ for(String exsitCode:exsitCodes){
updates = dtos.stream().filter(dto -> dto.getKunnr().equals(exsitCode)).collect(Collectors.toList()); List<SapCustom> updates0 = dtos.stream().filter(dto -> dto.getKunnr().equals(exsitCode)).collect(Collectors.toList());
updates.addAll(updates0);
} }
if(!CollectionUtils.isEmpty(updates)){ if(!CollectionUtils.isEmpty(updates)){
int m = sapBomMapper.updateCustomBatchs(updates); int m = sapBomMapper.updateCustomBatchs(updates);

Loading…
Cancel
Save