Browse Source

调整接口

master
lilili 2 years ago
parent
commit
c6d480a90d
  1. 4
      WMS-BS/NFine.Application/WMS/WMSDeleteReceipts.cs

4
WMS-BS/NFine.Application/WMS/WMSDeleteReceipts.cs

@ -1083,6 +1083,8 @@ namespace NFine.Application.WMS
AND b.LotNo NOT LIKE '%-%' AND b.LotNo NOT LIKE '%-%'
GROUP BY a.SDNCode,a.Sequence,a.SDNQuantity"; GROUP BY a.SDNCode,a.Sequence,a.SDNQuantity";
} }
if (!sql.IsEmpty())
{
var datas = Repository().FindDataSetBySql(sql).Tables[0]; var datas = Repository().FindDataSetBySql(sql).Tables[0];
if (datas.Rows.Count < 1) if (datas.Rows.Count < 1)
return msg.ToString(); return msg.ToString();
@ -1097,6 +1099,8 @@ namespace NFine.Application.WMS
msg.Append($@"单据号:{code},行号:{sequence},已经生成条码,请先删除条码后再取消单据; "); msg.Append($@"单据号:{code},行号:{sequence},已经生成条码,请先删除条码后再取消单据; ");
} }
} }
}
return msg.ToString(); return msg.ToString();
} }

Loading…
Cancel
Save