|
@ -819,4 +819,24 @@ public class AppBusSalesOrderService { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public ResultBean saveSaleOrderVin2(InputVinDto dto) { |
|
|
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
|
|
VinDto vinDto = new VinDto(); |
|
|
|
|
|
List<InputVinListDto> vinList = dto.getVinList(); |
|
|
|
|
|
List<InputVinListDto> newVinList = new ArrayList<>(); |
|
|
|
|
|
if (!vinList.isEmpty()) { |
|
|
|
|
|
for (InputVinListDto inputVinListDto : vinList) { |
|
|
|
|
|
if (null != inputVinListDto.getViewType()) { |
|
|
|
|
|
if (inputVinListDto.getViewType() != 1) { |
|
|
|
|
|
newVinList.add(inputVinListDto); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
dto.setVinList(newVinList); |
|
|
|
|
|
BeanUtil.copyProperties(dto, vinDto); |
|
|
|
|
|
ResultBean resultBean = busSalesOrderFeign.saveSaleOrderInputVin(vinDto); |
|
|
|
|
|
return resultBean; |
|
|
|
|
|
} |
|
|
} |
|
|
} |