丽知:1、OFS调整入库(无源件入库),优化备注为空查询时的问题。
This commit is contained in:
parent
3772150497
commit
42d93d1c2a
|
@ -276,6 +276,9 @@ public class AdjustInWYJPluginInitializer extends PluginBaseEntity {
|
|||
String u8ReceiptType = ofsAdjustOrders.get(0).getHeader().getU8ReceiptType();//调整单类型
|
||||
String remark = ofsAdjustOrders.get(0).getHeader().getRemark();
|
||||
System.out.println(remark);
|
||||
if(remark==null){
|
||||
continue;
|
||||
}
|
||||
List<PassiveStorageResponse.Data> datas = queryOfsNoSourceStockinOrder(remark);
|
||||
//没查到无源入库单存到错误中
|
||||
if (datas == null) {
|
||||
|
@ -399,12 +402,12 @@ public class AdjustInWYJPluginInitializer extends PluginBaseEntity {
|
|||
//存货档案id
|
||||
children.setCinventoryid(ofsDetail.getSkuCode());
|
||||
//nshouldinnum--应出数量
|
||||
children.setNshouldoutnum(String.valueOf(ofsDetail.getRequestQty()));
|
||||
children.setNshouldoutnum("-" + String.valueOf(ofsDetail.getRequestQty()));
|
||||
//nintnum--实入数量,20241106妮妮姐私聊:可以改成实收是0你就不传这条明细 明细里就不传这个
|
||||
if (ofsDetail.getReceivedQty() == null || "0".equals(ofsDetail.getReceivedQty())) {
|
||||
continue;
|
||||
}
|
||||
children.setNoutnum(String.valueOf(ofsDetail.getReceivedQty()));
|
||||
children.setNoutnum("-" + String.valueOf(ofsDetail.getReceivedQty()));
|
||||
childrenvo.add(children);
|
||||
}
|
||||
generalBillVO_4I.setParentvo(parentvo);
|
||||
|
|
Loading…
Reference in New Issue