|
|
|
@ -16,6 +16,7 @@
|
|
|
|
|
*/ |
|
|
|
|
package com.logpm.distribution.feign; |
|
|
|
|
|
|
|
|
|
import cn.hutool.core.collection.CollUtil; |
|
|
|
|
import cn.hutool.json.JSONUtil; |
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
@ -437,11 +438,19 @@ public class DistributionParcelListClient implements IDistributionParcelListClie
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public List<DistributionParcelListEntity> findListByOrderPackageCodeList(FindParamterDTO findParamterDTO) { |
|
|
|
|
List<String> orderPackageCodeList = findParamterDTO.getOrderPackageCodeList(); |
|
|
|
|
if(CollUtil.isNotEmpty(orderPackageCodeList)){ |
|
|
|
|
QueryWrapper<DistributionParcelListEntity> queryWrapper = new QueryWrapper<>(); |
|
|
|
|
queryWrapper.in("order_package_code", findParamterDTO.getOrderPackageCodeList()) |
|
|
|
|
.eq("warehouse_id", findParamterDTO.getWarehouseId()); |
|
|
|
|
|
|
|
|
|
return distributionParcelListService.list(queryWrapper); |
|
|
|
|
}else{ |
|
|
|
|
log.info("############findListByOrderPackageCodeList: 当前包件信息为空 orderPackageCodeList={}",orderPackageCodeList); |
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|