|
|
|
@ -17,6 +17,7 @@
|
|
|
|
|
package com.logpm.distribution.controller; |
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
|
import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; |
|
|
|
|
import com.baomidou.mybatisplus.core.toolkit.StringUtils; |
|
|
|
|
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
|
|
|
|
import com.logpm.basicdata.entity.BasicdataWarehouseEntity; |
|
|
|
@ -487,14 +488,18 @@ public class DistributionDeliveryListController extends BladeController {
|
|
|
|
|
List<String> packageCodes = (List<String>) r.getData(); |
|
|
|
|
log.info("#############signforPC:"+time+" 处理下架的包件 packageCodes={}",packageCodes); |
|
|
|
|
String orderPackageCodes = null; |
|
|
|
|
for (String packageCode : packageCodes) { |
|
|
|
|
if(StringUtils.isBlank(orderPackageCodes)){ |
|
|
|
|
orderPackageCodes = packageCode; |
|
|
|
|
}else{ |
|
|
|
|
orderPackageCodes = orderPackageCodes + "," + packageCode; |
|
|
|
|
|
|
|
|
|
if(ObjectUtils.isNotNull(packageCodes)){ |
|
|
|
|
for (String packageCode : packageCodes) { |
|
|
|
|
if(StringUtils.isBlank(orderPackageCodes)){ |
|
|
|
|
orderPackageCodes = packageCode; |
|
|
|
|
}else{ |
|
|
|
|
orderPackageCodes = orderPackageCodes + "," + packageCode; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
warehouseUpdownTypeClient.downPackageOrDelTray(orderPackageCodes,myCurrentWarehouse.getId()); |
|
|
|
|
} |
|
|
|
|
warehouseUpdownTypeClient.downPackageOrDelTray(orderPackageCodes,myCurrentWarehouse.getId()); |
|
|
|
|
|
|
|
|
|
}catch (Exception e){ |
|
|
|
|
log.error("#############signforPC:"+time+" 下架失败",e); |
|
|
|
|
} |
|
|
|
|