|
@@ -1,11 +1,15 @@
|
|
|
package com.ruoyi.ams.order.service.impl;
|
|
|
|
|
|
+import com.alibaba.fastjson.JSON;
|
|
|
import com.ruoyi.ams.erp.domain.ErpOrderList;
|
|
|
+import com.ruoyi.ams.inv.domain.InvLotLocId;
|
|
|
import com.ruoyi.ams.inv.domain.form.InvLocIdSearchFrom;
|
|
|
import com.ruoyi.ams.inv.domain.vo.InvLotLocIdLotattVO;
|
|
|
+import com.ruoyi.ams.inv.service.IInvLotAttService;
|
|
|
import com.ruoyi.ams.inv.service.IInvLotLocIdService;
|
|
|
import com.ruoyi.ams.order.domain.WmsDocOrderDetails;
|
|
|
import com.ruoyi.ams.order.domain.WmsDocOrderHeader;
|
|
|
+import com.ruoyi.ams.order.mapper.WmsDocOrderDetailsMapper;
|
|
|
import com.ruoyi.ams.order.service.IWmsDocOrderDetailsService;
|
|
|
import com.ruoyi.ams.order.service.IWmsDocOrderHeaderService;
|
|
|
import com.ruoyi.ams.order.service.UpdateOrderStockingProcess;
|
|
@@ -32,15 +36,19 @@ import java.util.stream.Collectors;
|
|
|
public class UpdateOrderStockingProcessImpl implements UpdateOrderStockingProcess {
|
|
|
|
|
|
@Autowired
|
|
|
- private IWmsDocOrderHeaderService wmsDocOrderHeaderService;
|
|
|
+ public IWmsDocOrderHeaderService wmsDocOrderHeaderService;
|
|
|
@Autowired
|
|
|
- private IWmsDocOrderDetailsService iWmsDocOrderDetailsService;
|
|
|
+ public IWmsDocOrderDetailsService iWmsDocOrderDetailsService;
|
|
|
@Autowired
|
|
|
- private IInvLotLocIdService invLotLocIdService;
|
|
|
+ public WmsDocOrderDetailsMapper wmsDocOrderDetailsMapper;
|
|
|
@Autowired
|
|
|
- private IBaseLocationInfoService baseLocationInfoService;
|
|
|
+ public IInvLotLocIdService invLotLocIdService;
|
|
|
@Autowired
|
|
|
- private UpdateOrderStockingProcess updateOrderStockingProcess;
|
|
|
+ public IInvLotAttService invLotAttService;
|
|
|
+ @Autowired
|
|
|
+ public IBaseLocationInfoService baseLocationInfoService;
|
|
|
+ @Autowired
|
|
|
+ public UpdateOrderStockingProcess updateOrderStockingProcess;
|
|
|
|
|
|
/**
|
|
|
* 单据明细修改标记
|
|
@@ -119,7 +127,7 @@ public class UpdateOrderStockingProcessImpl implements UpdateOrderStockingProces
|
|
|
updateQuantityAndStatusOfDocuments(markerListMap);
|
|
|
// 更新库存
|
|
|
updateInventory(markerListMap);
|
|
|
- return null;
|
|
|
+ return AjaxResult.success();
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -167,16 +175,16 @@ public class UpdateOrderStockingProcessImpl implements UpdateOrderStockingProces
|
|
|
List<WmsDocOrderDetails> value = modify_markerListEntry.getValue();
|
|
|
switch (key) {
|
|
|
case INSERT:
|
|
|
- detailsInsert(value);
|
|
|
+ detailsInsertModifyInventory(value);
|
|
|
break;
|
|
|
case DELETE:
|
|
|
- detailsDelete(value);
|
|
|
+ detailsDeleteModifyInventory(value);
|
|
|
break;
|
|
|
case ADD:
|
|
|
- detailsAdd(value);
|
|
|
+ detailsAddModifyInventory(value);
|
|
|
break;
|
|
|
case DECREASE:
|
|
|
- detailsDecrease(value);
|
|
|
+ detailsDecreaseModifyInventory(value);
|
|
|
break;
|
|
|
default:
|
|
|
break;
|
|
@@ -194,6 +202,18 @@ public class UpdateOrderStockingProcessImpl implements UpdateOrderStockingProces
|
|
|
*/
|
|
|
@Transactional
|
|
|
public AjaxResult documentVoided(String orderNo) {
|
|
|
+ List<WmsDocOrderDetails> details = iWmsDocOrderDetailsService.selectWmsDocOrderDetailsByOrderNo(orderNo);
|
|
|
+ for (WmsDocOrderDetails detail : details) {
|
|
|
+ detail.setQtyOrdered(detail.getQtyAllocated());
|
|
|
+ }
|
|
|
+ // 释放已经备货的库存
|
|
|
+ detailsDeleteModifyInventory(details);
|
|
|
+ // 更新出库单为取消
|
|
|
+ WmsDocOrderHeader headerUpdate = new WmsDocOrderHeader();
|
|
|
+ headerUpdate.setOrderNo(orderNo);
|
|
|
+ headerUpdate.setOrderStatus(Constant.ORDER_STS.STS90.getValue());
|
|
|
+ headerUpdate.setRemark("ERP将单据更新为失效!");
|
|
|
+ wmsDocOrderHeaderService.updateWmsDocOrderHeader(headerUpdate);
|
|
|
return null;
|
|
|
}
|
|
|
|
|
@@ -203,10 +223,18 @@ public class UpdateOrderStockingProcessImpl implements UpdateOrderStockingProces
|
|
|
* @param value
|
|
|
* @return
|
|
|
*/
|
|
|
- private AjaxResult detailsInsert(List<WmsDocOrderDetails> value) {
|
|
|
+ @Transactional
|
|
|
+ public AjaxResult detailsInsert(List<WmsDocOrderDetails> value) {
|
|
|
+ String orderNo = value.get(0).getOrderNo();
|
|
|
for (WmsDocOrderDetails details : value) {
|
|
|
-
|
|
|
+ wmsDocOrderHeaderService.insertWmsDocOrderDetails(details);
|
|
|
}
|
|
|
+ WmsDocOrderHeader headerUpdate = new WmsDocOrderHeader();
|
|
|
+ headerUpdate.setOrderNo(orderNo);
|
|
|
+ headerUpdate.setOrderStatus(Constant.ORDER_STS.STS10.getValue());
|
|
|
+ headerUpdate.setRemark("已发生更新备货流程!");
|
|
|
+ wmsDocOrderHeaderService.updateWmsDocOrderHeader(headerUpdate);
|
|
|
+ recordChangeData(orderNo, "插入:" + JSON.toJSONString(value));
|
|
|
return AjaxResult.success();
|
|
|
}
|
|
|
|
|
@@ -216,7 +244,35 @@ public class UpdateOrderStockingProcessImpl implements UpdateOrderStockingProces
|
|
|
* @param value
|
|
|
* @return
|
|
|
*/
|
|
|
- private AjaxResult detailsDelete(List<WmsDocOrderDetails> value) {
|
|
|
+ @Transactional
|
|
|
+ public AjaxResult detailsDelete(List<WmsDocOrderDetails> value) {
|
|
|
+ String orderNo = value.get(0).getOrderNo();
|
|
|
+ String orderStatus = Constant.ORDER_STS.STS23.getValue();
|
|
|
+ WmsDocOrderHeader wmsDocOrderHeader = wmsDocOrderHeaderService.selectDocOrderHeaderByOrderNo(orderNo);
|
|
|
+ for (WmsDocOrderDetails details : value) {
|
|
|
+ BigDecimal qtySoft = details.getQtySoftAllocated();
|
|
|
+ iWmsDocOrderDetailsService.deleteWmsDocOrderDetailsByOrderNo(details.getOrderNo(), details.getOrderLineNo().longValue());
|
|
|
+ // 更新需要减去的备货库存
|
|
|
+ details.setQtyOrdered(qtySoft);
|
|
|
+ }
|
|
|
+ // 主单为创建状态
|
|
|
+ if (wmsDocOrderHeader.getOrderStatus().equals(Constant.ORDER_STS.STS00.getValue())) {
|
|
|
+ orderStatus = Constant.ORDER_STS.STS00.getValue();
|
|
|
+ } else {
|
|
|
+ List<WmsDocOrderDetails> details = iWmsDocOrderDetailsService.selectWmsDocOrderDetailsByOrderNo(orderNo);
|
|
|
+ for (WmsDocOrderDetails detail : details) {
|
|
|
+ if (detail.getQtyOrdered().compareTo(detail.getQtyAllocated()) != 0) {
|
|
|
+ orderStatus = Constant.ORDER_STS.STS10.getValue();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ WmsDocOrderHeader headerUpdate = new WmsDocOrderHeader();
|
|
|
+ headerUpdate.setOrderNo(orderNo);
|
|
|
+ headerUpdate.setOrderStatus(orderStatus);
|
|
|
+ headerUpdate.setRemark("已发生更新备货流程!");
|
|
|
+ wmsDocOrderHeaderService.updateWmsDocOrderHeader(headerUpdate);
|
|
|
+ recordChangeData(orderNo, "删除:" + JSON.toJSONString(value));
|
|
|
return AjaxResult.success();
|
|
|
}
|
|
|
|
|
@@ -226,7 +282,24 @@ public class UpdateOrderStockingProcessImpl implements UpdateOrderStockingProces
|
|
|
* @param value
|
|
|
* @return
|
|
|
*/
|
|
|
- private AjaxResult detailsAdd(List<WmsDocOrderDetails> value) {
|
|
|
+ public AjaxResult detailsAdd(List<WmsDocOrderDetails> value) {
|
|
|
+ String orderNo = value.get(0).getOrderNo();
|
|
|
+ String orderStatus;
|
|
|
+ WmsDocOrderHeader wmsDocOrderHeader = wmsDocOrderHeaderService.selectDocOrderHeaderByOrderNo(orderNo);
|
|
|
+ orderStatus = wmsDocOrderHeader.getOrderStatus().equals(Constant.ORDER_STS.STS00.getValue())
|
|
|
+ ? Constant.ORDER_STS.STS00.getValue() : Constant.ORDER_STS.STS10.getValue();
|
|
|
+ for (WmsDocOrderDetails details : value) {
|
|
|
+ // 拿到需要增加到数量
|
|
|
+ BigDecimal qtyOrdered = details.getQtyOrdered();
|
|
|
+ wmsDocOrderDetailsMapper.updateOrderDetailsAddQtyAndSts(orderNo, details.getOrderLineNo().longValue()
|
|
|
+ , qtyOrdered.doubleValue(), orderStatus);
|
|
|
+ }
|
|
|
+ WmsDocOrderHeader headerUpdate = new WmsDocOrderHeader();
|
|
|
+ headerUpdate.setOrderNo(orderNo);
|
|
|
+ headerUpdate.setOrderStatus(orderStatus);
|
|
|
+ headerUpdate.setRemark("已发生更新备货流程!");
|
|
|
+ wmsDocOrderHeaderService.updateWmsDocOrderHeader(headerUpdate);
|
|
|
+ recordChangeData(orderNo, "增加:" + JSON.toJSONString(value));
|
|
|
return AjaxResult.success();
|
|
|
}
|
|
|
|
|
@@ -236,7 +309,51 @@ public class UpdateOrderStockingProcessImpl implements UpdateOrderStockingProces
|
|
|
* @param value
|
|
|
* @return
|
|
|
*/
|
|
|
- private AjaxResult detailsDecrease(List<WmsDocOrderDetails> value) {
|
|
|
+ @Transactional
|
|
|
+ public AjaxResult detailsDecrease(List<WmsDocOrderDetails> value) {
|
|
|
+ String orderNo = value.get(0).getOrderNo();
|
|
|
+ String orderStatus = Constant.ORDER_STS.STS23.getValue();
|
|
|
+ WmsDocOrderHeader wmsDocOrderHeader = wmsDocOrderHeaderService.selectDocOrderHeaderByOrderNo(orderNo);
|
|
|
+ for (WmsDocOrderDetails details : value) {
|
|
|
+ WmsDocOrderDetails originalDetail = wmsDocOrderDetailsMapper.selectWmsDocOrderDetailsByNoLineNo(orderNo, details.getOrderLineNo().longValue());
|
|
|
+ BigDecimal originalQtyOrdered = originalDetail.getQtyOrdered();
|
|
|
+ BigDecimal originalQtyAllocated = originalDetail.getQtyAllocated();
|
|
|
+ // 拿到需要减少数量
|
|
|
+ BigDecimal qtyOrdered = details.getQtyOrdered();
|
|
|
+ wmsDocOrderDetailsMapper.updateOrderDetailsSubQtyAndSts(orderNo, details.getOrderLineNo().longValue()
|
|
|
+ , qtyOrdered.doubleValue(), Constant.ORDER_STS.STS10.getValue());
|
|
|
+ // 拿到减少已经备货数量
|
|
|
+ BigDecimal nowInvQty = originalQtyOrdered.subtract(qtyOrdered);
|
|
|
+ BigDecimal end = originalQtyAllocated.subtract(nowInvQty);
|
|
|
+ if (end.compareTo(BigDecimal.ZERO) != -1) {
|
|
|
+ // 更新出库明细分配和备货的数量
|
|
|
+ wmsDocOrderDetailsMapper.updateOrderDetailsSubStockQtyAndSts(orderNo, details.getOrderLineNo().longValue()
|
|
|
+ , end.doubleValue(), end.doubleValue(), Constant.ORDER_STS.STS23.getValue());
|
|
|
+ }
|
|
|
+ if (end.compareTo(BigDecimal.ZERO) == -1) {
|
|
|
+ end = BigDecimal.ZERO;
|
|
|
+ }
|
|
|
+ // 更新需要减去的备货库存
|
|
|
+ details.setQtyOrdered(end);
|
|
|
+ }
|
|
|
+ // 主单为创建状态
|
|
|
+ if (wmsDocOrderHeader.getOrderStatus().equals(Constant.ORDER_STS.STS00.getValue())) {
|
|
|
+ orderStatus = Constant.ORDER_STS.STS00.getValue();
|
|
|
+ } else {
|
|
|
+ List<WmsDocOrderDetails> details = iWmsDocOrderDetailsService.selectWmsDocOrderDetailsByOrderNo(orderNo);
|
|
|
+ for (WmsDocOrderDetails detail : details) {
|
|
|
+ if (detail.getQtyOrdered().compareTo(detail.getQtyAllocated()) != 0) {
|
|
|
+ orderStatus = Constant.ORDER_STS.STS10.getValue();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ WmsDocOrderHeader headerUpdate = new WmsDocOrderHeader();
|
|
|
+ headerUpdate.setOrderNo(orderNo);
|
|
|
+ headerUpdate.setOrderStatus(orderStatus);
|
|
|
+ headerUpdate.setRemark("已发生更新备货流程!");
|
|
|
+ wmsDocOrderHeaderService.updateWmsDocOrderHeader(headerUpdate);
|
|
|
+ recordChangeData(orderNo, "增加:" + JSON.toJSONString(value));
|
|
|
return AjaxResult.success();
|
|
|
}
|
|
|
|
|
@@ -246,8 +363,9 @@ public class UpdateOrderStockingProcessImpl implements UpdateOrderStockingProces
|
|
|
* @param value
|
|
|
* @return
|
|
|
*/
|
|
|
- private AjaxResult detailsInsertModifyInventory(List<WmsDocOrderDetails> value) {
|
|
|
- return AjaxResult.success();
|
|
|
+ @Transactional
|
|
|
+ public AjaxResult detailsInsertModifyInventory(List<WmsDocOrderDetails> value) {
|
|
|
+ return AjaxResult.success("新增不需要释放备货库存!");
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -256,7 +374,61 @@ public class UpdateOrderStockingProcessImpl implements UpdateOrderStockingProces
|
|
|
* @param value
|
|
|
* @return
|
|
|
*/
|
|
|
- private AjaxResult detailsDeleteModifyInventory(List<WmsDocOrderDetails> value) {
|
|
|
+ @Transactional
|
|
|
+ public AjaxResult detailsDeleteModifyInventory(List<WmsDocOrderDetails> value) {
|
|
|
+ Double qtyOrdered; // 需要减少的备货数量
|
|
|
+ String orderNo; // 出库单号
|
|
|
+ for (WmsDocOrderDetails details : value) {
|
|
|
+ qtyOrdered = details.getQtyOrdered().doubleValue();
|
|
|
+ orderNo = details.getOrderNo();
|
|
|
+ if (qtyOrdered.compareTo(BigDecimal.ZERO.doubleValue()) == 0) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+ // 释放存储区的备货库存
|
|
|
+ InvLocIdSearchFrom invLocIdSearchFrom = new InvLocIdSearchFrom();
|
|
|
+ invLocIdSearchFrom.setLotatt14(orderNo);
|
|
|
+ invLocIdSearchFrom.setSku(details.getSku());
|
|
|
+ invLocIdSearchFrom.setZoneId(Constant.ZONE_TYPE.ZONE_INV.toString());
|
|
|
+ // 查出仓储区
|
|
|
+ List<InvLotLocIdLotattVO> idLotattVOListInv = invLotLocIdService.selectInvLocIdLotattList(invLocIdSearchFrom);
|
|
|
+ invLocIdSearchFrom.setZoneId(Constant.ZONE_TYPE.ZONE_VIRTUAL.toString());
|
|
|
+ // 查出虚拟区
|
|
|
+ List<InvLotLocIdLotattVO> idLotattVOListVir = invLotLocIdService.selectInvLocIdLotattList(invLocIdSearchFrom);
|
|
|
+ if (idLotattVOListVir.size() > 0) {
|
|
|
+ idLotattVOListInv.addAll(idLotattVOListVir);
|
|
|
+ }
|
|
|
+ for (InvLotLocIdLotattVO invLotLocId : idLotattVOListInv) {
|
|
|
+ if (qtyOrdered.compareTo(BigDecimal.ZERO.doubleValue()) == 0) {
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ Double qty = invLotLocId.getQty();
|
|
|
+ Double qtyallocated = invLotLocId.getQtyallocated();
|
|
|
+ // 修改InvLotLocId
|
|
|
+ InvLotLocId lotLocIdUpdate = new InvLotLocId();
|
|
|
+ lotLocIdUpdate.setLocationId(invLotLocId.getLocationId().toString());
|
|
|
+ lotLocIdUpdate.setLotnum(invLotLocId.getLotnum());
|
|
|
+ lotLocIdUpdate.setCustomerId(invLotLocId.getCustomerId());
|
|
|
+ lotLocIdUpdate.setSku(invLotLocId.getSku());
|
|
|
+ if (qtyallocated.compareTo(qtyOrdered) == 0) {
|
|
|
+ lotLocIdUpdate.setQtyallocated(BigDecimal.ZERO);
|
|
|
+ // 修改lotatt14为空
|
|
|
+ invLotAttService.updateInvLotAttLotatt14IsNull(invLotLocId.getLotnum());
|
|
|
+ qtyOrdered = BigDecimal.ZERO.doubleValue();
|
|
|
+ } else if (qtyallocated.compareTo(qtyOrdered) == 1) {
|
|
|
+ lotLocIdUpdate.setQtyallocated(new BigDecimal(qtyallocated).subtract(new BigDecimal(qtyOrdered)));
|
|
|
+ qtyOrdered = BigDecimal.ZERO.doubleValue();
|
|
|
+
|
|
|
+ }else {
|
|
|
+ lotLocIdUpdate.setQtyallocated(BigDecimal.ZERO);
|
|
|
+ // 修改lotatt14为空
|
|
|
+ invLotAttService.updateInvLotAttLotatt14IsNull(invLotLocId.getLotnum());
|
|
|
+ qtyOrdered = new BigDecimal(qtyOrdered).subtract(new BigDecimal(qtyallocated)).doubleValue();
|
|
|
+
|
|
|
+ }
|
|
|
+ invLotLocIdService.updateInvLotLocId(lotLocIdUpdate);
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
return AjaxResult.success();
|
|
|
}
|
|
|
|
|
@@ -266,8 +438,9 @@ public class UpdateOrderStockingProcessImpl implements UpdateOrderStockingProces
|
|
|
* @param value
|
|
|
* @return
|
|
|
*/
|
|
|
- private AjaxResult detailsAddModifyInventory(List<WmsDocOrderDetails> value) {
|
|
|
- return AjaxResult.success();
|
|
|
+ @Transactional
|
|
|
+ public AjaxResult detailsAddModifyInventory(List<WmsDocOrderDetails> value) {
|
|
|
+ return AjaxResult.success("增加数量不需要释放备货库存!");
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -276,8 +449,9 @@ public class UpdateOrderStockingProcessImpl implements UpdateOrderStockingProces
|
|
|
* @param value
|
|
|
* @return
|
|
|
*/
|
|
|
- private AjaxResult detailsDecreaseModifyInventory(List<WmsDocOrderDetails> value) {
|
|
|
- return AjaxResult.success();
|
|
|
+ @Transactional
|
|
|
+ public AjaxResult detailsDecreaseModifyInventory(List<WmsDocOrderDetails> value) {
|
|
|
+ return detailsDeleteModifyInventory(value);
|
|
|
}
|
|
|
|
|
|
|
|
@@ -316,9 +490,15 @@ public class UpdateOrderStockingProcessImpl implements UpdateOrderStockingProces
|
|
|
List<WmsDocOrderDetails> detailsAdd = detailsWms.stream().filter(a -> {
|
|
|
String orderNo = a.getOrderNo();
|
|
|
String edi07 = a.getdEdi07();
|
|
|
+ String sku = a.getSku();
|
|
|
BigDecimal qtyWms = a.getQtyOrdered();
|
|
|
for (WmsDocOrderDetails details : detailsErp) {
|
|
|
if (details.getOrderNo().equals(orderNo) && details.getdEdi07().equals(edi07)) {
|
|
|
+ // 更新备货同样的项号,同样的项次号,品号不可不同
|
|
|
+ if (!details.getSku().equals(sku)) {
|
|
|
+ log.error("更新备货同样的项号,同样的项次号,品号不可不同:" + JSON.toJSONString(details));
|
|
|
+ continue;
|
|
|
+ }
|
|
|
BigDecimal qtyErp = details.getQtyOrdered();
|
|
|
if (qtyWms.compareTo(qtyErp) == -1) {
|
|
|
// 需要增加的数量
|
|
@@ -334,9 +514,15 @@ public class UpdateOrderStockingProcessImpl implements UpdateOrderStockingProces
|
|
|
List<WmsDocOrderDetails> detailsDecrease = detailsWms.stream().filter(a -> {
|
|
|
String orderNo = a.getOrderNo();
|
|
|
String edi07 = a.getdEdi07();
|
|
|
+ String sku = a.getSku();
|
|
|
BigDecimal qtyWms = a.getQtyOrdered();
|
|
|
for (WmsDocOrderDetails details : detailsErp) {
|
|
|
if (details.getOrderNo().equals(orderNo) && details.getdEdi07().equals(edi07)) {
|
|
|
+ // 更新备货同样的项号,同样的项次号,品号不可不同
|
|
|
+ if (!details.getSku().equals(sku)) {
|
|
|
+ log.error("更新备货同样的项号,同样的项次号,品号不可不同:" + JSON.toJSONString(details));
|
|
|
+ continue;
|
|
|
+ }
|
|
|
BigDecimal qtyErp = details.getQtyOrdered();
|
|
|
if (qtyWms.compareTo(qtyErp) == 1) {
|
|
|
BigDecimal qtyDec = qtyWms.subtract(qtyErp);
|
|
@@ -398,4 +584,21 @@ public class UpdateOrderStockingProcessImpl implements UpdateOrderStockingProces
|
|
|
}
|
|
|
return detailsArrayList;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 记录变更数据到单头
|
|
|
+ *
|
|
|
+ * @param orderNo
|
|
|
+ */
|
|
|
+ public void recordChangeData(String orderNo, String data) {
|
|
|
+ String record = "";
|
|
|
+ WmsDocOrderHeader wmsDocOrderHeader = wmsDocOrderHeaderService.selectDocOrderHeaderByOrderNo(orderNo);
|
|
|
+ if (wmsDocOrderHeader.gethEdi08() != null) {
|
|
|
+ record = wmsDocOrderHeader.gethEdi08();
|
|
|
+ }
|
|
|
+ WmsDocOrderHeader headerUpdate = new WmsDocOrderHeader();
|
|
|
+ headerUpdate.setOrderNo(orderNo);
|
|
|
+ headerUpdate.sethEdi08(record + "--" + data);
|
|
|
+ wmsDocOrderHeaderService.updateWmsDocOrderHeader(headerUpdate);
|
|
|
+ }
|
|
|
}
|