更新采购退料相关服务:添加IPurchaseReturnService接口和PurchaseReturnService实现类

This commit is contained in:
2025-11-14 11:40:09 +08:00
parent 54d0d2e82c
commit 6a6546129f
5 changed files with 885 additions and 492 deletions

View File

@@ -1,143 +1,143 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyCode.Project.Domain.Message.Request.KingDee.SaveModel
{
/// <summary>
/// 采购退料单模型
/// </summary>
public class PurchaseReturnModel
{
public int? FID { get; set; }
public FBillTypeID FBillTypeID { get; set; }
public string FDate { get; set; }
public string FMRTYPE { get; set; }
public string FMRMODE { get; set; }
public FStockOrgId FStockOrgId { get; set; }
public bool? FIsConvert { get; set; }
public FRequireOrgId FRequireOrgId { get; set; }
public FPurchaseOrgId FPurchaseOrgId { get; set; }
public FSupplierID FSupplierID { get; set; }
public FACCEPTORID FACCEPTORID { get; set; }
public string FAcceptAddress { get; set; }
public FSettleId FSettleId { get; set; }
public FCHARGEID FCHARGEID { get; set; }
public string FOwnerTypeIdHead { get; set; }
public FOwnerIdHead FOwnerIdHead { get; set; }
public int? FCDateOffsetValue { get; set; }
public FAcceptorContactID FAcceptorContactID { get; set; }
public FSalOutStockOrgId FSalOutStockOrgId { get; set; }
public string FACCTYPE { get; set; }
public FPURMRBFIN FPURMRBFIN { get; set; }
public List<FPURMRBENTRY> FPURMRBENTRY { get; set; }
}
public class FRequireOrgId
{
public string FNumber { get; set; }
}
public class FSupplierID
{
public string FNumber { get; set; }
}
public class FACCEPTORID
{
public string FNumber { get; set; }
}
public class FSettleId
{
public string FNumber { get; set; }
}
public class FCHARGEID
{
public string FNumber { get; set; }
}
public class FAcceptorContactID
{
public string FCONTACTNUMBER { get; set; }
}
public class FPURMRBFIN
{
public FSettleOrgId FSettleOrgId { get; set; }
public FSettleCurrId FSettleCurrId { get; set; }
public bool? FIsIncludedTax { get; set; }
public string FPRICETIMEPOINT { get; set; }
public FLOCALCURRID FLOCALCURRID { get; set; }
public FEXCHANGETYPEID FEXCHANGETYPEID { get; set; }
public decimal? FEXCHANGERATE { get; set; }
public bool? FISPRICEEXCLUDETAX { get; set; }
public decimal? FHSExchangeRate { get; set; }
}
public class FLOCALCURRID
{
public string FNumber { get; set; }
}
public class FEXCHANGETYPEID
{
public string FNumber { get; set; }
}
public class FPURMRBENTRY
{
public string FRowType { get; set; }
public FMATERIALID FMATERIALID { get; set; }
public string FMaterialDesc { get; set; }
public FUnitID FUnitID { get; set; }
public decimal? FRMREALQTY { get; set; }
public decimal? FREPLENISHQTY { get; set; }
public decimal? FKEAPAMTQTY { get; set; }
public FPRICEUNITID FPRICEUNITID { get; set; }
public decimal? FPrice { get; set; }
public decimal? FExtAuxUnitQty { get; set; }
public bool? FIsReceiveUpdateStock { get; set; }
public decimal? FInvoicedJoinQty { get; set; }
public bool? FGiveAway { get; set; }
public decimal? FPriceBaseQty { get; set; }
public FCARRYUNITID FCARRYUNITID { get; set; }
public decimal? FCarryQty { get; set; }
public decimal? FCarryBaseQty { get; set; }
public int? FPOORDERENTRYID { get; set; }
public bool? FBILLINGCLOSE { get; set; }
public decimal? FRMMUSTQTY { get; set; }
public decimal? FAUXUNITQTY { get; set; }
public string FOWNERTYPEID { get; set; }
public FOwnerId FOWNERID { get; set; }
public decimal? FENTRYTAXRATE { get; set; }
public decimal? FDISCOUNTRATE { get; set; }
public decimal? FTAXPRICE { get; set; }
public decimal? FPriceDiscount { get; set; }
public int? FReturnStockEntryId { get; set; }
public bool? FIsStock { get; set; }
public string FSRCBillTypeId { get; set; }
public string FSRCBillNo { get; set; }
public int? FSUBREQBILLSEQ { get; set; }
public int? FSUBREQENTRYID { get; set; }
}
public class FMATERIALID
{
public string FNumber { get; set; }
}
public class FPRICEUNITID
{
public string FNumber { get; set; }
}
public class FCARRYUNITID
{
public string FNumber { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyCode.Project.Domain.Message.Request.KingDee.SaveModel
{
/// <summary>
/// 采购退料单模型
/// </summary>
public class PurchaseReturnModel
{
public int? FID { get; set; }
public FBillTypeID FBillTypeID { get; set; }
public string FDate { get; set; }
public string FMRTYPE { get; set; }
public string FMRMODE { get; set; }
public FStockOrgId FStockOrgId { get; set; }
public bool? FIsConvert { get; set; }
public FRequireOrgId FRequireOrgId { get; set; }
public FPurchaseOrgId FPurchaseOrgId { get; set; }
public FSupplierID FSupplierID { get; set; }
public FACCEPTORID FACCEPTORID { get; set; }
public string FAcceptAddress { get; set; }
public FSettleId FSettleId { get; set; }
public FCHARGEID FCHARGEID { get; set; }
public string FOwnerTypeIdHead { get; set; }
public FOwnerIdHead FOwnerIdHead { get; set; }
public int? FCDateOffsetValue { get; set; }
public FAcceptorContactID FAcceptorContactID { get; set; }
public FSalOutStockOrgId FSalOutStockOrgId { get; set; }
public string FACCTYPE { get; set; }
public FPURMRBFIN FPURMRBFIN { get; set; }
public List<FPURMRBENTRY> FPURMRBENTRY { get; set; }
}
public class FRequireOrgId
{
public string FNumber { get; set; }
}
public class FSupplierID
{
public string FNumber { get; set; }
}
public class FACCEPTORID
{
public string FNumber { get; set; }
}
public class FSettleId
{
public string FNumber { get; set; }
}
public class FCHARGEID
{
public string FNumber { get; set; }
}
public class FAcceptorContactID
{
public string FCONTACTNUMBER { get; set; }
}
public class FPURMRBFIN
{
public FSettleOrgId FSettleOrgId { get; set; }
public FSettleCurrId FSettleCurrId { get; set; }
public bool? FIsIncludedTax { get; set; }
public string FPRICETIMEPOINT { get; set; }
public FLOCALCURRID FLOCALCURRID { get; set; }
public FEXCHANGETYPEID FEXCHANGETYPEID { get; set; }
public decimal? FEXCHANGERATE { get; set; }
public bool? FISPRICEEXCLUDETAX { get; set; }
public decimal? FHSExchangeRate { get; set; }
}
public class FLOCALCURRID
{
public string FNumber { get; set; }
}
public class FEXCHANGETYPEID
{
public string FNumber { get; set; }
}
public class FPURMRBENTRY
{
public string FRowType { get; set; }
public FMATERIALID FMATERIALID { get; set; }
public string FMaterialDesc { get; set; }
public FUnitID FUnitID { get; set; }
public decimal? FRMREALQTY { get; set; }
public decimal? FREPLENISHQTY { get; set; }
public decimal? FKEAPAMTQTY { get; set; }
public FPRICEUNITID FPRICEUNITID { get; set; }
public decimal? FPrice { get; set; }
public decimal? FExtAuxUnitQty { get; set; }
public bool? FIsReceiveUpdateStock { get; set; }
public decimal? FInvoicedJoinQty { get; set; }
public bool? FGiveAway { get; set; }
public decimal? FPriceBaseQty { get; set; }
public FCARRYUNITID FCARRYUNITID { get; set; }
public decimal? FCarryQty { get; set; }
public decimal? FCarryBaseQty { get; set; }
public int? FPOORDERENTRYID { get; set; }
public bool? FBILLINGCLOSE { get; set; }
public decimal? FRMMUSTQTY { get; set; }
public decimal? FAUXUNITQTY { get; set; }
public string FOWNERTYPEID { get; set; }
public FOwnerId FOWNERID { get; set; }
public decimal? FENTRYTAXRATE { get; set; }
public decimal? FDISCOUNTRATE { get; set; }
public decimal? FTAXPRICE { get; set; }
public decimal? FPriceDiscount { get; set; }
public int? FReturnStockEntryId { get; set; }
public bool? FIsStock { get; set; }
public string FSRCBillTypeId { get; set; }
public string FSRCBillNo { get; set; }
public int? FSUBREQBILLSEQ { get; set; }
public int? FSUBREQENTRYID { get; set; }
}
public class FMATERIALID
{
public string FNumber { get; set; }
}
public class FPRICEUNITID
{
public string FNumber { get; set; }
}
public class FCARRYUNITID
{
public string FNumber { get; set; }
}
}