|
|
|
@ -216,7 +216,16 @@ public class InvCountOrderServiceImpl implements InvCountOrderService {
|
|
|
|
|
invProductDetailRequest.setProductIdFk(productId);
|
|
|
|
|
invProductDetailRequest.setInvStorageCode(invCountOrder.getInvStorageCode());
|
|
|
|
|
invProductDetailRequest.setInvWarehouseCode(invCountOrder.getInvWarehouseCode());
|
|
|
|
|
|
|
|
|
|
if (invCountOrder.getCountType() == 1) {
|
|
|
|
|
//按照货位盘点,查询库存详情添加货位条件
|
|
|
|
|
invProductDetailRequest.setInvSpaceCode(invCountOrder.getInvSpaceCode());
|
|
|
|
|
} else if (invCountOrder.getCountType() == 2) {
|
|
|
|
|
//部分盘点,查询库存的产品信息
|
|
|
|
|
invProductDetailRequest.setProductIdList(countProductIds);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<InvProductDetailEntity> invProductDetailEntities = invProductDetailDao.filterInvProductDetail(invProductDetailRequest);
|
|
|
|
|
if (CollUtil.isEmpty(invProductDetailEntities)) {
|
|
|
|
|
log.info("产品:" + productId + " 非当前仓库产品,添加到盘点入库单条码中");
|
|
|
|
|