Commit aa361efc authored by liuzeheng's avatar liuzeheng

Merge branch 'master' into dev

parents 8dcfef09 4a10d8c0
...@@ -4,6 +4,7 @@ import cn.iocoder.yudao.framework.common.pojo.CommonResult; ...@@ -4,6 +4,7 @@ import cn.iocoder.yudao.framework.common.pojo.CommonResult;
import cn.iocoder.yudao.framework.common.pojo.PageResult; import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.framework.mybatis.core.service.IService; import cn.iocoder.yudao.framework.mybatis.core.service.IService;
import cn.iocoder.yudao.framework.mybatis.core.vo.PageVO; import cn.iocoder.yudao.framework.mybatis.core.vo.PageVO;
import cn.iocoder.yudao.module.order.dal.dataobject.order.OrderDO;
import cn.iocoder.yudao.module.shipment.dal.dataobject.boxOrderCheckInfo.BoxOrderCheckInfoDO; import cn.iocoder.yudao.module.shipment.dal.dataobject.boxOrderCheckInfo.BoxOrderCheckInfoDO;
import cn.iocoder.yudao.module.shipment.dto.OrderCheckInfoDto; import cn.iocoder.yudao.module.shipment.dto.OrderCheckInfoDto;
import cn.iocoder.yudao.module.shipment.vo.box.BoxOrderSearchVO; import cn.iocoder.yudao.module.shipment.vo.box.BoxOrderSearchVO;
...@@ -83,4 +84,6 @@ public interface BoxOrderCheckInfoService extends IService<BoxOrderCheckInfoDO> ...@@ -83,4 +84,6 @@ public interface BoxOrderCheckInfoService extends IService<BoxOrderCheckInfoDO>
void batchRemove(BoxOrderCheckInfoRemoveReqVO removeReqVO); void batchRemove(BoxOrderCheckInfoRemoveReqVO removeReqVO);
void orderTally(Collection<Long> orderIdList, Long shipmentId); void orderTally(Collection<Long> orderIdList, Long shipmentId);
List<String> getOrderTagList(OrderDO orderDO) ;
} }
...@@ -182,7 +182,7 @@ public class BoxOrderCheckInfoServiceImpl extends AbstractService<BoxOrderCheckI ...@@ -182,7 +182,7 @@ public class BoxOrderCheckInfoServiceImpl extends AbstractService<BoxOrderCheckI
List<BoxPkgOrderDO> boxPkgOrderDOS = boxPkgOrderService.selectList(BoxPkgOrderDO::getPkgId, createReqVO.getPkgId()); List<BoxPkgOrderDO> boxPkgOrderDOS = boxPkgOrderService.selectList(BoxPkgOrderDO::getPkgId, createReqVO.getPkgId());
orderIdList = boxPkgOrderDOS.stream().map(BoxPkgOrderDO::getOrderId).collect(Collectors.toSet()); orderIdList = boxPkgOrderDOS.stream().map(BoxPkgOrderDO::getOrderId).collect(Collectors.toSet());
if(orderIdList.isEmpty() || CollectionUtil.isEmpty(orderIdList)){ if(orderIdList.isEmpty() || CollectionUtil.isEmpty(orderIdList)){
throw exception(ErrorCodeConstants.ORDER_IS_NOT_PRE_INSTALLED); throw exception(ORDER_CASE_NUM_NOT_EXIST);
} }
orderDOList = orderQueryService.getOrderList(orderIdList); orderDOList = orderQueryService.getOrderList(orderIdList);
boolean isParentOrder = false; boolean isParentOrder = false;
...@@ -686,7 +686,7 @@ public class BoxOrderCheckInfoServiceImpl extends AbstractService<BoxOrderCheckI ...@@ -686,7 +686,7 @@ public class BoxOrderCheckInfoServiceImpl extends AbstractService<BoxOrderCheckI
return orderList.get(0); return orderList.get(0);
} }
private List<String> getOrderTagList(OrderDO orderDO) { public List<String> getOrderTagList(OrderDO orderDO) {
//从OrderLabel里面查找订单的箱号 //从OrderLabel里面查找订单的箱号
Long orderId = orderDO.getOrderId(); Long orderId = orderDO.getOrderId();
OrderLabelQueryVO queryVO = new OrderLabelQueryVO(); OrderLabelQueryVO queryVO = new OrderLabelQueryVO();
......
...@@ -19,4 +19,10 @@ public class BoxPkgOrderScanCodeVO { ...@@ -19,4 +19,10 @@ public class BoxPkgOrderScanCodeVO {
@ApiModelProperty("合宝箱编号") @ApiModelProperty("合宝箱编号")
private String pkgNum ; private String pkgNum ;
/**
* 出货id
*/
@ApiModelProperty("出货id")
private Long shipmentId;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment