|
|
@ -229,12 +229,14 @@ public class AftersalesWarehouseOutServiceImpl implements IAftersalesWarehouseOu |
|
|
|
* 展示售后第一次维护设备料号已选择添加出货设备的相关出货设备信息 |
|
|
|
* */ |
|
|
|
@Override |
|
|
|
public List<SelectShippingDeviceVO> showAftersalesShippingDeviceList(String materialNo) { |
|
|
|
public List<SelectShippingDeviceVO> showAftersalesShippingDeviceList(String materialNo,String salesOrderCode,String makeNo) { |
|
|
|
|
|
|
|
List<SelectShippingDeviceVO> selectShippingDeviceVOs = new ArrayList<>(); |
|
|
|
AfterSalesShippingDevice afterSalesShippingDevice = new AfterSalesShippingDevice(); |
|
|
|
afterSalesShippingDevice.setMaterialNo(materialNo); |
|
|
|
List<AfterSalesShippingDevice> afterSalesShippingDevices = shippingDeviceMapper.selectShippingDeviceListByMaterialNo(afterSalesShippingDevice); |
|
|
|
afterSalesShippingDevice.setSalesOrderCode(salesOrderCode); |
|
|
|
afterSalesShippingDevice.setMakeNo(makeNo); |
|
|
|
List<AfterSalesShippingDevice> afterSalesShippingDevices = shippingDeviceMapper.selectAfterSalesShippingDeviceByNoAndCode(afterSalesShippingDevice); |
|
|
|
List<AfterSalesShippingDevice> filterAfterSalesShippingDevices = afterSalesShippingDevices.stream().filter(shippingDevice -> "0".equals(shippingDevice.getAddShippingDeviceFlag())).collect(Collectors.toList()); |
|
|
|
if (!StringUtils.isNotEmpty(filterAfterSalesShippingDevices)) { |
|
|
|
// 记录日志
|
|
|
|