This commit is contained in:
gongxh
2021-05-19 20:09:44 +08:00
parent abc28fe294
commit d5d705ac8d
6 changed files with 26 additions and 18 deletions

View File

@@ -9,9 +9,9 @@ namespace NX.ERP.U8.Store
/// <summary>
/// 领料申请
/// </summary>
public class MaterialAppVoucherDAL : VoucherBase
public class MaterialAppDAL : VoucherBase
{
public MaterialAppVoucherDAL() : base("64", "U8API/AppVouchs")
public MaterialAppDAL() : base("64", "U8API/AppVouchs")
{
}

View File

@@ -32,7 +32,7 @@ namespace NX.ERP.U8.Store
/// <param name="domBody"></param>
private void ByMaterialApp(Model.Request.MaterialStoreOut storeOut, IXMLDOMElement headXml, DOMDocument domBody)
{
var metailApp = new U8.Store.MaterialAppVoucherDAL().GetModel(storeOut.SourceCode);
var metailApp = new U8.Store.MaterialAppDAL().GetModel(storeOut.SourceCode);
if (metailApp == null)
{
throw new Exception("未知的领料申请单");