|
|
|
@ -360,7 +360,8 @@ public class SapWorkCenterServiceImpl implements SapWorkCenterService {
|
|
|
|
|
|
|
|
|
|
List<SapCustom> updates = new ArrayList<>();
|
|
|
|
|
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)){
|
|
|
|
|
int m = sapBomMapper.updateCustomBatchs(updates);
|
|
|
|
|