From cdcac3a2f997f9129e0af4df12b77fd1316f834d Mon Sep 17 00:00:00 2001 From: yuyubo <1870149533@qq.com> Date: Tue, 28 Oct 2025 19:18:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E5=85=A5=E5=BA=93=E5=92=8C?= =?UTF-8?q?=E9=80=80=E8=B4=A7=E7=9A=84=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JackYun/BusiOrderGoodsDocInRequest.cs | 120 ++++ .../JackYun/StorageGoodsDocOutV2Request.cs | 101 +++ .../Model/BusiOrderGoodsDocIn.cs | 370 ++++++++++ .../Model/StorageGoodsDocOutDetail.cs | 405 +++++++++++ .../Model/StorageGoodsDocOutHead.cs | 545 +++++++++++++++ .../MyCode.Project.Domain.csproj | 8 + .../IBusiOrderGoodsDocInRepository.cs | 18 + .../IStorageGoodsDocOutDetailRepository.cs | 18 + .../IStorageGoodsDocOutHeadRepository.cs | 18 + .../JackYun/BusiOrderGoodsDocInResponse.cs | 249 +++++++ .../JackYun/StorageGoodsDocOutV2Response.cs | 657 ++++++++++++++++++ .../MyCode.Project.Infrastructure.csproj | 2 + .../BusiOrderGoodsDocInRepository.cs | 26 + .../MyCode.Project.Repositories.csproj | 3 + .../StorageGoodsDocOutDetailRepository.cs | 26 + .../StorageGoodsDocOutHeadRepository.cs | 26 + 16 files changed, 2592 insertions(+) create mode 100644 Reportapi/MyCode.Project.Domain/Message/Request/JackYun/BusiOrderGoodsDocInRequest.cs create mode 100644 Reportapi/MyCode.Project.Domain/Message/Request/JackYun/StorageGoodsDocOutV2Request.cs create mode 100644 Reportapi/MyCode.Project.Domain/Model/BusiOrderGoodsDocIn.cs create mode 100644 Reportapi/MyCode.Project.Domain/Model/StorageGoodsDocOutDetail.cs create mode 100644 Reportapi/MyCode.Project.Domain/Model/StorageGoodsDocOutHead.cs create mode 100644 Reportapi/MyCode.Project.Domain/Repositories/IBusiOrderGoodsDocInRepository.cs create mode 100644 Reportapi/MyCode.Project.Domain/Repositories/IStorageGoodsDocOutDetailRepository.cs create mode 100644 Reportapi/MyCode.Project.Domain/Repositories/IStorageGoodsDocOutHeadRepository.cs create mode 100644 Reportapi/MyCode.Project.Infrastructure/JackYun/BusiOrderGoodsDocInResponse.cs create mode 100644 Reportapi/MyCode.Project.Infrastructure/JackYun/StorageGoodsDocOutV2Response.cs create mode 100644 Reportapi/MyCode.Project.Repositories/BusiOrderGoodsDocInRepository.cs create mode 100644 Reportapi/MyCode.Project.Repositories/StorageGoodsDocOutDetailRepository.cs create mode 100644 Reportapi/MyCode.Project.Repositories/StorageGoodsDocOutHeadRepository.cs diff --git a/Reportapi/MyCode.Project.Domain/Message/Request/JackYun/BusiOrderGoodsDocInRequest.cs b/Reportapi/MyCode.Project.Domain/Message/Request/JackYun/BusiOrderGoodsDocInRequest.cs new file mode 100644 index 0000000..649c882 --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Message/Request/JackYun/BusiOrderGoodsDocInRequest.cs @@ -0,0 +1,120 @@ +using MyCode.Project.Infrastructure.JackYun; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MyCode.Project.Domain.Message.Request.JackYun +{ + /// + /// 入库查询(规格模式)请求参数 + /// + public class BusiOrderGoodsDocInRequest : BaseRequestBizData + { + /// + /// 需要查询的字段 + /// + public string Cols { get; set; } + + /// + /// 关联单号 + /// + public string BillNo { get; set; } + + /// + /// 出入库时间(起) + /// + public string InOutDateStart { get; set; } + + /// + /// 出入库时间(止) + /// + public string InOutDateEnd { get; set; } + + /// + /// 正次品 (1-正品, 0-次品) + /// + public byte? IsCertified { get; set; } + + /// + /// 出入库单号 + /// + public string GoodsDocNo { get; set; } + + /// + /// 出入库单号(多个逗号隔开) + /// + public string GoodsDocNos { get; set; } + + /// + /// 出入库单备注 + /// + public string GoodsdocRemark { get; set; } + + /// + /// 出入库单明细行备注 + /// + public string GoodsDetailRemark { get; set; } + + /// + /// 操作人 + /// + public string CreateUserName { get; set; } + + /// + /// 收发货单号 + /// + public string DeliveryNo { get; set; } + + /// + /// 货品编号 + /// + public string GoodsNo { get; set; } + + /// + /// 货品名称 + /// + public string GoodsName { get; set; } + + /// + /// 条码 + /// + public string SkuBarcode { get; set; } + + /// + /// 规格 + /// + public string SkuName { get; set; } + + /// + /// 批次 + /// + public string BatchNo { get; set; } + + /// + /// 唯一码 + /// + public string SerialNo { get; set; } + + /// + /// 回传状态:0未回传;1回传失败;10不回传;11已回传 + /// + public string CallbackStatus { get; set; } + + /// + /// 往来单位code + /// + public string VendCode { get; set; } + + /// + /// 仓库code + /// + public string WarehouseCode { get; set; } + + /// + /// 渠道code + /// + public string ChannelCode { get; set; } + } +} \ No newline at end of file diff --git a/Reportapi/MyCode.Project.Domain/Message/Request/JackYun/StorageGoodsDocOutV2Request.cs b/Reportapi/MyCode.Project.Domain/Message/Request/JackYun/StorageGoodsDocOutV2Request.cs new file mode 100644 index 0000000..7fc208e --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Message/Request/JackYun/StorageGoodsDocOutV2Request.cs @@ -0,0 +1,101 @@ +using MyCode.Project.Infrastructure.JackYun; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MyCode.Project.Domain.Message.Request.JackYun +{ + + /// + /// 分页查询出库单请求参数 + /// + public class StorageGoodsDocOutV2Request : BaseRequestBizData + { + /// + /// 分页页码 + /// + public int? PageIndex { get; set; } + + /// + /// 分页页数 + /// + public int? PageSize { get; set; } + + /// + /// 需要返回的字段,用“,”号拼接,子类用子类名称.属性 + /// + public string SelelctFields { get; set; } + + /// + /// 出库单号 + /// + public string GoodsDocNo { get; set; } + + /// + /// 创建时间的起始时间,当创建开始、结束时间和单号都为空,只查近一个月的数据 + /// + public string StartDate { get; set; } + + /// + /// 创建时间的结束时间,当创建开始、结束时间和单号都为空,只查近一个月的数据 + /// + public string EndDate { get; set; } + + /// + /// 201-销售出库 202调拨出库 203 = 盘亏出库 204-其他出库 205采购退货 206生产领料 207组装拆卸出库 208翻新出库 209报废出库 210残次品出库 211倒冲领料 212 包材出库 215维修还厂 231成本调整出库 222调拨退货出库 + /// + public long? Inouttype { get; set; } + + /// + /// 来源单号 + /// + public string SourceBillNo { get; set; } + + /// + /// 仓库编号 + /// + public string WarehouseCode { get; set; } + + /// + /// 供应商编号(往来单位) + /// + public string VendCode { get; set; } + + /// + /// 上游单据号(关联单号) + /// + public string BillNo { get; set; } + + /// + /// 创建人名称 + /// + public string UserName { get; set; } + + /// + /// 外部单号(全模糊匹配) + /// + public string OutBillNo { get; set; } + + /// + /// 主表更新时间起始 + /// + public string GmtModifiedStart { get; set; } + + /// + /// 主表更新时间截至 + /// + public string GmtModifiedEnd { get; set; } + + /// + /// 是否查询收发件人信息 + /// + public int? IsQuerySendAndReceive { get; set; } + + /// + /// 红冲状态:1蓝单(未红冲);2被冲蓝单;9红冲单 + /// + public byte? RedStatus { get; set; } + } +} \ No newline at end of file diff --git a/Reportapi/MyCode.Project.Domain/Model/BusiOrderGoodsDocIn.cs b/Reportapi/MyCode.Project.Domain/Model/BusiOrderGoodsDocIn.cs new file mode 100644 index 0000000..aa29467 --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Model/BusiOrderGoodsDocIn.cs @@ -0,0 +1,370 @@ +using System; +using System.Linq; +using System.Text; +using SqlSugar; + +namespace MyCode.Project.Domain.Model +{ + /// + ///入库查询(规格模式)返回参数表 + /// + [SugarTable("BusiOrderGoodsDocIn")] + public partial class BusiOrderGoodsDocIn + { + public BusiOrderGoodsDocIn(){ + + + } + /// + /// Desc: + /// Default:newid() + /// Nullable:False + /// + [SugarColumn(IsPrimaryKey=true)] + public Guid ID {get;set;} + + /// + /// Desc:出入库单号 + /// Default: + /// Nullable:True + /// + public string GoodsdocNo {get;set;} + + /// + /// Desc:出入库日期 + /// Default: + /// Nullable:True + /// + public DateTime? InOutDate {get;set;} + + /// + /// Desc:系统出入库日期 + /// Default: + /// Nullable:True + /// + public DateTime? GmtCreate {get;set;} + + /// + /// Desc:入库类型 + /// Default: + /// Nullable:True + /// + public string InouttypeName {get;set;} + + /// + /// Desc:仓库名称 + /// Default: + /// Nullable:True + /// + public string WarehouseName {get;set;} + + /// + /// Desc:关联单号 + /// Default: + /// Nullable:True + /// + public string BillNo {get;set;} + + /// + /// Desc:来源单号 + /// Default: + /// Nullable:True + /// + public string SourceBillNo {get;set;} + + /// + /// Desc:收发货单号 + /// Default: + /// Nullable:True + /// + public string DeliveryNo {get;set;} + + /// + /// Desc:币种 + /// Default: + /// Nullable:True + /// + public string CurrencyCode {get;set;} + + /// + /// Desc:币种名称 + /// Default: + /// Nullable:True + /// + public string CurrencyCodeName {get;set;} + + /// + /// Desc:汇率 + /// Default: + /// Nullable:True + /// + public decimal? CurrencyRate {get;set;} + + /// + /// Desc:操作人 + /// Default: + /// Nullable:True + /// + public string CreateUserName {get;set;} + + /// + /// Desc:公司 + /// Default: + /// Nullable:True + /// + public string CompanyName {get;set;} + + /// + /// Desc:往来单位 + /// Default: + /// Nullable:True + /// + public string VendCustomerName {get;set;} + + /// + /// Desc:备注 + /// Default: + /// Nullable:True + /// + public string GoodsdocRemark {get;set;} + + /// + /// Desc:收发货备注 + /// Default: + /// Nullable:True + /// + public string ReceiveGoodsRemark {get;set;} + + /// + /// Desc:回传状态:0未回传;1回传失败;10不回传;11已回传 + /// Default: + /// Nullable:True + /// + public string CallbackStatus {get;set;} + + /// + /// Desc:申请公司 + /// Default: + /// Nullable:True + /// + public string ApplyCompanyName {get;set;} + + /// + /// Desc:申请部门 + /// Default: + /// Nullable:True + /// + public string ApplyDepartName {get;set;} + + /// + /// Desc:申请人 + /// Default: + /// Nullable:True + /// + public string ApplyUserName {get;set;} + + /// + /// Desc:渠道 + /// Default: + /// Nullable:True + /// + public string ChannelName {get;set;} + + /// + /// Desc:货品编号 + /// Default: + /// Nullable:True + /// + public string GoodsNo {get;set;} + + /// + /// Desc:货品名称 + /// Default: + /// Nullable:True + /// + public string GoodsName {get;set;} + + /// + /// Desc:规格 + /// Default: + /// Nullable:True + /// + public string SkuName {get;set;} + + /// + /// Desc:条码 + /// Default: + /// Nullable:True + /// + public string SkuBarcode {get;set;} + + /// + /// Desc:单位 + /// Default: + /// Nullable:True + /// + public string UnitName {get;set;} + + /// + /// Desc:数量 + /// Default: + /// Nullable:True + /// + public decimal? Quantity {get;set;} + + /// + /// Desc:入库价 + /// Default: + /// Nullable:True + /// + public decimal? BaceCurrencyCostPrice {get;set;} + + /// + /// Desc:入库金额 + /// Default: + /// Nullable:True + /// + public decimal? BaceCurrencyCostAmount {get;set;} + + /// + /// Desc:本币无税单价 + /// Default: + /// Nullable:True + /// + public decimal? BaceCurrencyNoTaxPrice {get;set;} + + /// + /// Desc:本币无税金额 + /// Default: + /// Nullable:True + /// + public decimal? BaceCurrencyNoTaxAmount {get;set;} + + /// + /// Desc:本币含税单价 + /// Default: + /// Nullable:True + /// + public decimal? BaceCurrencyWithTaxPrice {get;set;} + + /// + /// Desc:本币含税金额 + /// Default: + /// Nullable:True + /// + public decimal? BaceCurrencyWithTaxAmount {get;set;} + + /// + /// Desc:baceCurrencyTaxAmount + /// Default: + /// Nullable:True + /// + public decimal? BaceCurrencyTaxAmount {get;set;} + + /// + /// Desc:税率 + /// Default: + /// Nullable:True + /// + public decimal? TaxRate {get;set;} + + /// + /// Desc:原币无税单价 + /// Default: + /// Nullable:True + /// + public decimal? TransNoTaxPrice {get;set;} + + /// + /// Desc:原币无税金额 + /// Default: + /// Nullable:True + /// + public decimal? TransNoTaxAmount {get;set;} + + /// + /// Desc:原币含税单价 + /// Default: + /// Nullable:True + /// + public decimal? TransHasTaxPrice {get;set;} + + /// + /// Desc:原币含税金额 + /// Default: + /// Nullable:True + /// + public decimal? TransHasTaxAmount {get;set;} + + /// + /// Desc:原币税额 + /// Default: + /// Nullable:True + /// + public decimal? TransTaxAmount {get;set;} + + /// + /// Desc:正次品 1-正品 0-次品 + /// Default: + /// Nullable:True + /// + public byte? IsCertified {get;set;} + + /// + /// Desc:出入库明细行备注 + /// Default: + /// Nullable:True + /// + public string GoodsDetailRemark {get;set;} + + /// + /// Desc:批次 + /// Default: + /// Nullable:True + /// + public string BatchNo {get;set;} + + /// + /// Desc:唯一码 + /// Default: + /// Nullable:True + /// + public string SerialNo {get;set;} + + /// + /// Desc:往来单位code + /// Default: + /// Nullable:True + /// + public string VendCode {get;set;} + + /// + /// Desc:仓库code + /// Default: + /// Nullable:True + /// + public string WarehouseCode {get;set;} + + /// + /// Desc:渠道编码 + /// Default: + /// Nullable:True + /// + public string ChannelCode {get;set;} + + /// + /// Desc:创建时间 + /// Default:DateTime.Now + /// Nullable:False + /// + public DateTime CreateTime {get;set;} + + /// + /// Desc:更新时间 + /// Default: + /// Nullable:True + /// + public DateTime? UpdateTime {get;set;} + + } +} diff --git a/Reportapi/MyCode.Project.Domain/Model/StorageGoodsDocOutDetail.cs b/Reportapi/MyCode.Project.Domain/Model/StorageGoodsDocOutDetail.cs new file mode 100644 index 0000000..ba908bf --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Model/StorageGoodsDocOutDetail.cs @@ -0,0 +1,405 @@ +using System; +using System.Linq; +using System.Text; +using SqlSugar; + +namespace MyCode.Project.Domain.Model +{ + /// + ///出库单明细表 + /// + [SugarTable("StorageGoodsDocOutDetail")] + public partial class StorageGoodsDocOutDetail + { + public StorageGoodsDocOutDetail(){ + + + } + /// + /// Desc:主键ID + /// Default:newid() + /// Nullable:False + /// + [SugarColumn(IsPrimaryKey=true)] + public Guid ID {get;set;} + + /// + /// Desc:关联主表ID + /// Default: + /// Nullable:False + /// + public Guid HeadId {get;set;} + + /// + /// Desc:出库单明细ID + /// Default: + /// Nullable:True + /// + public long? RecId {get;set;} + + /// + /// Desc:货品ID + /// Default: + /// Nullable:True + /// + public long? GoodsId {get;set;} + + /// + /// Desc:货品编号 + /// Default: + /// Nullable:True + /// + public string GoodsNo {get;set;} + + /// + /// Desc:货品名称 + /// Default: + /// Nullable:True + /// + public string GoodsName {get;set;} + + /// + /// Desc:规格ID + /// Default: + /// Nullable:True + /// + public long? SkuId {get;set;} + + /// + /// Desc:规格名称 + /// Default: + /// Nullable:True + /// + public string SkuName {get;set;} + + /// + /// Desc:条码 + /// Default: + /// Nullable:True + /// + public string SkuBarcode {get;set;} + + /// + /// Desc:单位 + /// Default: + /// Nullable:True + /// + public string UnitName {get;set;} + + /// + /// Desc:成本单价 + /// Default: + /// Nullable:True + /// + public decimal? CuPrice {get;set;} + + /// + /// Desc:成本金额 + /// Default: + /// Nullable:True + /// + public decimal? CuValue {get;set;} + + /// + /// Desc:箱号 + /// Default: + /// Nullable:True + /// + public decimal? CaseNumber {get;set;} + + /// + /// Desc:明细备注 + /// Default: + /// Nullable:True + /// + public string RowRemark {get;set;} + + /// + /// Desc:辅助单位显示 + /// Default: + /// Nullable:True + /// + public string AssistUnit {get;set;} + + /// + /// Desc:本位币含税金额 + /// Default: + /// Nullable:True + /// + public decimal? EstCost {get;set;} + + /// + /// Desc:税额 + /// Default: + /// Nullable:True + /// + public decimal? EstTax {get;set;} + + /// + /// Desc:含税单价 + /// Default: + /// Nullable:True + /// + public decimal? EstPrice {get;set;} + + /// + /// Desc:无税单价 + /// Default: + /// Nullable:True + /// + public decimal? EstPriceNoTax {get;set;} + + /// + /// Desc:无税金额 + /// Default: + /// Nullable:True + /// + public decimal? EstCostNoTax {get;set;} + + /// + /// Desc:税率 + /// Default: + /// Nullable:True + /// + public decimal? TaxRate {get;set;} + + /// + /// Desc:批次编号 + /// Default: + /// Nullable:True + /// + public decimal? BatchNo {get;set;} + + /// + /// Desc:序列号 + /// Default: + /// Nullable:True + /// + public decimal? SerialNo {get;set;} + + /// + /// Desc:生产日期 + /// Default: + /// Nullable:True + /// + public string ProductionDate {get;set;} + + /// + /// Desc:到期日期 + /// Default: + /// Nullable:True + /// + public string ExpirationDate {get;set;} + + /// + /// Desc:质保期 + /// Default: + /// Nullable:True + /// + public string ShelfLife {get;set;} + + /// + /// Desc:质保期单位 + /// Default: + /// Nullable:True + /// + public string ShelfLiftUnit {get;set;} + + /// + /// Desc:来源单据明细Id + /// Default: + /// Nullable:True + /// + public string SourceDetailId {get;set;} + + /// + /// Desc:无税单价(原币种) + /// Default: + /// Nullable:True + /// + public decimal? TransNoTaxPrice {get;set;} + + /// + /// Desc:无税金额(原币种) + /// Default: + /// Nullable:True + /// + public decimal? TransNoTaxAmount {get;set;} + + /// + /// Desc:含税单价(原币种) + /// Default: + /// Nullable:True + /// + public decimal? TransHasTaxPrice {get;set;} + + /// + /// Desc:含税金额(原币种) + /// Default: + /// Nullable:True + /// + public decimal? TransHasTaxAmount {get;set;} + + /// + /// Desc:税额(原币种) + /// Default: + /// Nullable:True + /// + public decimal? TransTaxAmount {get;set;} + + /// + /// Desc:自定义字段1 + /// Default: + /// Nullable:True + /// + public string DetailField1 {get;set;} + + /// + /// Desc:自定义字段2 + /// Default: + /// Nullable:True + /// + public string DetailField2 {get;set;} + + /// + /// Desc:自定义字段3 + /// Default: + /// Nullable:True + /// + public string DetailField3 {get;set;} + + /// + /// Desc:自定义字段4 + /// Default: + /// Nullable:True + /// + public string DetailField4 {get;set;} + + /// + /// Desc:自定义字段5 + /// Default: + /// Nullable:True + /// + public string DetailField5 {get;set;} + + /// + /// Desc:是否正品 0-否 1-是 + /// Default: + /// Nullable:True + /// + public byte? IsCertified {get;set;} + + /// + /// Desc:批准文号 + /// Default: + /// Nullable:True + /// + public string RegistrationNumber {get;set;} + + /// + /// Desc:批文有效期 + /// Default: + /// Nullable:True + /// + public string ApprovalDate {get;set;} + + /// + /// Desc:生产单位 + /// Default: + /// Nullable:True + /// + public string ProductionDepart {get;set;} + + /// + /// Desc:生产批号 + /// Default: + /// Nullable:True + /// + public string BatchNumber {get;set;} + + /// + /// Desc:数量 + /// Default: + /// Nullable:True + /// + public decimal? Quantity {get;set;} + + /// + /// Desc:分类id + /// Default: + /// Nullable:True + /// + public int? CateId {get;set;} + + /// + /// Desc:分类名称 + /// Default: + /// Nullable:True + /// + public string CateName {get;set;} + + /// + /// Desc:体积(m3) + /// Default: + /// Nullable:True + /// + public decimal? Volume {get;set;} + + /// + /// Desc:重量(kg) + /// Default: + /// Nullable:True + /// + public decimal? SkuWeight {get;set;} + + /// + /// Desc:自定义字段6 + /// Default: + /// Nullable:True + /// + public string DetailField6 {get;set;} + + /// + /// Desc:自定义字段7 + /// Default: + /// Nullable:True + /// + public string DetailField7 {get;set;} + + /// + /// Desc:自定义字段8 + /// Default: + /// Nullable:True + /// + public string DetailField8 {get;set;} + + /// + /// Desc:自定义字段9 + /// Default: + /// Nullable:True + /// + public string DetailField9 {get;set;} + + /// + /// Desc:自定义字段10 + /// Default: + /// Nullable:True + /// + public string DetailField10 {get;set;} + + /// + /// Desc:创建时间 + /// Default:DateTime.Now + /// Nullable:False + /// + public DateTime CreateTime {get;set;} + + /// + /// Desc:更新时间 + /// Default: + /// Nullable:True + /// + public DateTime? UpdateTime {get;set;} + + } +} diff --git a/Reportapi/MyCode.Project.Domain/Model/StorageGoodsDocOutHead.cs b/Reportapi/MyCode.Project.Domain/Model/StorageGoodsDocOutHead.cs new file mode 100644 index 0000000..f77cb5c --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Model/StorageGoodsDocOutHead.cs @@ -0,0 +1,545 @@ +using System; +using System.Linq; +using System.Text; +using SqlSugar; + +namespace MyCode.Project.Domain.Model +{ + /// + ///出库单主表 + /// + [SugarTable("StorageGoodsDocOutHead")] + public partial class StorageGoodsDocOutHead + { + public StorageGoodsDocOutHead(){ + + + } + /// + /// Desc:出库单ID + /// Default: + /// Nullable:True + /// + public long? RecId {get;set;} + + /// + /// Desc:出库单号 + /// Default: + /// Nullable:True + /// + public string GoodsdocNo {get;set;} + + /// + /// Desc:上游单据号(关联单号) + /// Default: + /// Nullable:True + /// + public string BillNo {get;set;} + + /// + /// Desc:出库时间 + /// Default: + /// Nullable:True + /// + public string InOutDate {get;set;} + + /// + /// Desc:创建时间 + /// Default: + /// Nullable:True + /// + public string GmtCreate {get;set;} + + /// + /// Desc:出入库类型(201-销售出库 202调拨出库 204-其他出库 205采购退货 206生产领料 207组装拆卸出库 208翻新出库 209报废出库 210残次品出库 211倒冲领料 212 包材出库 215维修还厂 299可用库存修正 231成本调整出库) + /// Default: + /// Nullable:True + /// + public int? Inouttype {get;set;} + + /// + /// Desc:出入库类型名称(201-销售出库 202调拨出库 204-其他出库 205采购退货 206生产领料 207组装拆卸出库 208翻新出库 209报废出库 210残次品出库 211倒冲领料 212 包材出库 215维修还厂 299可用库存修正 231成本调整出库) + /// Default: + /// Nullable:True + /// + public string InouttypeName {get;set;} + + /// + /// Desc:往来单位名称 + /// Default: + /// Nullable:True + /// + public string VendCustomerName {get;set;} + + /// + /// Desc:币种编号 + /// Default: + /// Nullable:True + /// + public string CurrencyCode {get;set;} + + /// + /// Desc:币种汇率 + /// Default: + /// Nullable:True + /// + public decimal? CurrencyRate {get;set;} + + /// + /// Desc:业务员名字 + /// Default: + /// Nullable:True + /// + public string UserName {get;set;} + + /// + /// Desc:仓库编号 + /// Default: + /// Nullable:True + /// + public string WarehouseCode {get;set;} + + /// + /// Desc:仓库名字 + /// Default: + /// Nullable:True + /// + public string WarehouseName {get;set;} + + /// + /// Desc:备注 + /// Default: + /// Nullable:True + /// + public string Comment {get;set;} + + /// + /// Desc:收货备注 + /// Default: + /// Nullable:True + /// + public string Memo {get;set;} + + /// + /// Desc:物流公司 + /// Default: + /// Nullable:True + /// + public string LogisticName {get;set;} + + /// + /// Desc:物流单号 + /// Default: + /// Nullable:True + /// + public string LogisticNo {get;set;} + + /// + /// Desc:公司id + /// Default: + /// Nullable:True + /// + public long? CompanyId {get;set;} + + /// + /// Desc:公司名称 + /// Default: + /// Nullable:True + /// + public string CompanyName {get;set;} + + /// + /// Desc:物流类型1-普通快递 2-上门自提 3-门店配送5-无需配送 6-线下配送 + /// Default: + /// Nullable:True + /// + public string LogisticType {get;set;} + + /// + /// Desc:物流公司编码 + /// Default: + /// Nullable:True + /// + public string LogisticCode {get;set;} + + /// + /// Desc:出库原因 + /// Default: + /// Nullable:True + /// + public string InOutReason {get;set;} + + /// + /// Desc:来源单号 + /// Default: + /// Nullable:True + /// + public string SourceBillNo {get;set;} + + /// + /// Desc:渠道ID + /// Default: + /// Nullable:True + /// + public long? ChannelId {get;set;} + + /// + /// Desc:渠道编号 + /// Default: + /// Nullable:True + /// + public string ChannelCode {get;set;} + + /// + /// Desc:渠道名称 + /// Default: + /// Nullable:True + /// + public string ChannelName {get;set;} + + /// + /// Desc:红冲状态:1蓝单(未红冲);2被冲蓝单;9红冲单 + /// Default: + /// Nullable:True + /// + public byte? RedStatus {get;set;} + + /// + /// Desc:自定义字段1 + /// Default: + /// Nullable:True + /// + public string Field1 {get;set;} + + /// + /// Desc:自定义字段2 + /// Default: + /// Nullable:True + /// + public string Field2 {get;set;} + + /// + /// Desc:自定义字段3 + /// Default: + /// Nullable:True + /// + public string Field3 {get;set;} + + /// + /// Desc:自定义字段4 + /// Default: + /// Nullable:True + /// + public string Field4 {get;set;} + + /// + /// Desc:自定义字段5 + /// Default: + /// Nullable:True + /// + public string Field5 {get;set;} + + /// + /// Desc:财务状态:1:未成本计算;11部分成本计算;21:已成本计算;25已财务记账;31不成本计算 + /// Default: + /// Nullable:True + /// + public byte? FinanceBillStatus {get;set;} + + /// + /// Desc:往来单位的id + /// Default: + /// Nullable:True + /// + public string VendCustomerId {get;set;} + + /// + /// Desc:申请人部门id + /// Default: + /// Nullable:True + /// + public long? ApplyDepartId {get;set;} + + /// + /// Desc:申请人部门名称 + /// Default: + /// Nullable:True + /// + public string ApplyDepartName {get;set;} + + /// + /// Desc:外部单号 + /// Default: + /// Nullable:True + /// + public string OutBillNo {get;set;} + + /// + /// Desc:最近修改时间 + /// Default: + /// Nullable:True + /// + public string GmtModified {get;set;} + + /// + /// Desc:申请人部门编号 + /// Default: + /// Nullable:True + /// + public string DepartCode {get;set;} + + /// + /// Desc:申请人公司名称 + /// Default: + /// Nullable:True + /// + public string ApplyCompanyName {get;set;} + + /// + /// Desc:申请人公司编号 + /// Default: + /// Nullable:True + /// + public string ApplyCompanyCode {get;set;} + + /// + /// Desc:申请人公司id + /// Default: + /// Nullable:True + /// + public long? ApplyCompanyId {get;set;} + + /// + /// Desc:申请人id + /// Default: + /// Nullable:True + /// + public long? ApplyUserId {get;set;} + + /// + /// Desc:申请人名称 + /// Default: + /// Nullable:True + /// + public string ApplyUserName {get;set;} + + /// + /// Desc:公司编号 + /// Default: + /// Nullable:True + /// + public string CompanyCode {get;set;} + + /// + /// Desc:发件公司名称 + /// Default: + /// Nullable:True + /// + public string SendCompanyName {get;set;} + + /// + /// Desc:发件人 + /// Default: + /// Nullable:True + /// + public string Send {get;set;} + + /// + /// Desc:发件人电话 + /// Default: + /// Nullable:True + /// + public string SendTel {get;set;} + + /// + /// Desc:发件人手机号 + /// Default: + /// Nullable:True + /// + public string SendPhone {get;set;} + + /// + /// Desc:发件人邮箱 + /// Default: + /// Nullable:True + /// + public string SendEmail {get;set;} + + /// + /// Desc:发件人国家 + /// Default: + /// Nullable:True + /// + public string SendCountryName {get;set;} + + /// + /// Desc:发件人省 + /// Default: + /// Nullable:True + /// + public string SendProvinceName {get;set;} + + /// + /// Desc:发件人市 + /// Default: + /// Nullable:True + /// + public string SendCityName {get;set;} + + /// + /// Desc:发件人镇,区 + /// Default: + /// Nullable:True + /// + public string SendTownName {get;set;} + + /// + /// Desc:发件人街道 + /// Default: + /// Nullable:True + /// + public string SendStreetName {get;set;} + + /// + /// Desc:发件人详细地址 + /// Default: + /// Nullable:True + /// + public string SendAddress {get;set;} + + /// + /// Desc:收件公司名称 + /// Default: + /// Nullable:True + /// + public string ReceiveCompanyName {get;set;} + + /// + /// Desc:收件人 + /// Default: + /// Nullable:True + /// + public string Receive {get;set;} + + /// + /// Desc:收件人电话 + /// Default: + /// Nullable:True + /// + public string ReceiveTel {get;set;} + + /// + /// Desc:收件人手机号 + /// Default: + /// Nullable:True + /// + public string ReceivePhone {get;set;} + + /// + /// Desc:收件人邮箱 + /// Default: + /// Nullable:True + /// + public string ReceiveEmail {get;set;} + + /// + /// Desc:收件人国家 + /// Default: + /// Nullable:True + /// + public string ReceiveCountryName {get;set;} + + /// + /// Desc:收件人省 + /// Default: + /// Nullable:True + /// + public string ReceiveProvinceName {get;set;} + + /// + /// Desc:收件人市 + /// Default: + /// Nullable:True + /// + public string ReceiveCityName {get;set;} + + /// + /// Desc:收件人镇,区 + /// Default: + /// Nullable:True + /// + public string ReceiveTownName {get;set;} + + /// + /// Desc:收件人街道 + /// Default: + /// Nullable:True + /// + public string ReceiveStreetName {get;set;} + + /// + /// Desc:收件人详细地址 + /// Default: + /// Nullable:True + /// + public string ReceiveAddress {get;set;} + + /// + /// Desc:自定义字段6 + /// Default: + /// Nullable:True + /// + public string Field6 {get;set;} + + /// + /// Desc:自定义字段7 + /// Default: + /// Nullable:True + /// + public string Field7 {get;set;} + + /// + /// Desc:自定义字段8 + /// Default: + /// Nullable:True + /// + public string Field8 {get;set;} + + /// + /// Desc:自定义字段9 + /// Default: + /// Nullable:True + /// + public string Field9 {get;set;} + + /// + /// Desc:自定义字段10 + /// Default: + /// Nullable:True + /// + public string Field10 {get;set;} + + /// + /// Desc:创建时间 + /// Default:DateTime.Now + /// Nullable:False + /// + public DateTime CreateTime {get;set;} + + /// + /// Desc:更新时间 + /// Default: + /// Nullable:True + /// + public DateTime? UpdateTime {get;set;} + + /// + /// Desc: + /// Default: + /// Nullable:False + /// + [SugarColumn(IsPrimaryKey=true)] + public Guid Id {get;set;} + + } +} diff --git a/Reportapi/MyCode.Project.Domain/MyCode.Project.Domain.csproj b/Reportapi/MyCode.Project.Domain/MyCode.Project.Domain.csproj index 8583e2d..fbdd757 100644 --- a/Reportapi/MyCode.Project.Domain/MyCode.Project.Domain.csproj +++ b/Reportapi/MyCode.Project.Domain/MyCode.Project.Domain.csproj @@ -65,10 +65,12 @@ + + @@ -95,16 +97,20 @@ + + + + @@ -112,6 +118,8 @@ + + diff --git a/Reportapi/MyCode.Project.Domain/Repositories/IBusiOrderGoodsDocInRepository.cs b/Reportapi/MyCode.Project.Domain/Repositories/IBusiOrderGoodsDocInRepository.cs new file mode 100644 index 0000000..2e97746 --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Repositories/IBusiOrderGoodsDocInRepository.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using MyCode.Project.Infrastructure; +using MyCode.Project.Domain; +using MyCode.Project.Domain.Model; +using MyCode.Project.Infrastructure.Common; +using MyCode.Project.Domain.Message; + +namespace MyCode.Project.Domain.Repositories +{ + public interface IBusiOrderGoodsDocInRepository : IRepository + { + + } +} diff --git a/Reportapi/MyCode.Project.Domain/Repositories/IStorageGoodsDocOutDetailRepository.cs b/Reportapi/MyCode.Project.Domain/Repositories/IStorageGoodsDocOutDetailRepository.cs new file mode 100644 index 0000000..a38fa8c --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Repositories/IStorageGoodsDocOutDetailRepository.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using MyCode.Project.Infrastructure; +using MyCode.Project.Domain; +using MyCode.Project.Domain.Model; +using MyCode.Project.Infrastructure.Common; +using MyCode.Project.Domain.Message; + +namespace MyCode.Project.Domain.Repositories +{ + public interface IStorageGoodsDocOutDetailRepository : IRepository + { + + } +} diff --git a/Reportapi/MyCode.Project.Domain/Repositories/IStorageGoodsDocOutHeadRepository.cs b/Reportapi/MyCode.Project.Domain/Repositories/IStorageGoodsDocOutHeadRepository.cs new file mode 100644 index 0000000..5d19236 --- /dev/null +++ b/Reportapi/MyCode.Project.Domain/Repositories/IStorageGoodsDocOutHeadRepository.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using MyCode.Project.Infrastructure; +using MyCode.Project.Domain; +using MyCode.Project.Domain.Model; +using MyCode.Project.Infrastructure.Common; +using MyCode.Project.Domain.Message; + +namespace MyCode.Project.Domain.Repositories +{ + public interface IStorageGoodsDocOutHeadRepository : IRepository + { + + } +} diff --git a/Reportapi/MyCode.Project.Infrastructure/JackYun/BusiOrderGoodsDocInResponse.cs b/Reportapi/MyCode.Project.Infrastructure/JackYun/BusiOrderGoodsDocInResponse.cs new file mode 100644 index 0000000..5dc249c --- /dev/null +++ b/Reportapi/MyCode.Project.Infrastructure/JackYun/BusiOrderGoodsDocInResponse.cs @@ -0,0 +1,249 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MyCode.Project.Infrastructure.JackYun +{ + /// + /// 入库查询(规格模式)返回参数 + /// + public class BusiOrderGoodsDocInResponse + { + /// + /// 出入库单号 + /// + public string GoodsdocNo { get; set; } + + /// + /// 出入库日期 + /// + public DateTime? InOutDate { get; set; } + + /// + /// 系统出入库日期 + /// + public DateTime? GmtCreate { get; set; } + + /// + /// 入库类型 + /// + public string InouttypeName { get; set; } + + /// + /// 仓库名称 + /// + public string WarehouseName { get; set; } + + /// + /// 关联单号 + /// + public string BillNo { get; set; } + + /// + /// 来源单号 + /// + public string SourceBillNo { get; set; } + + /// + /// 收发货单号 + /// + public string DeliveryNo { get; set; } + + /// + /// 币种 + /// + public string CurrencyCode { get; set; } + + /// + /// 币种名称 + /// + public string CurrencyCodeName { get; set; } + + /// + /// 汇率 + /// + public decimal? CurrencyRate { get; set; } + + /// + /// 操作人 + /// + public string CreateUserName { get; set; } + + /// + /// 公司 + /// + public string CompanyName { get; set; } + + /// + /// 往来单位 + /// + public string VendCustomerName { get; set; } + + /// + /// 备注 + /// + public string GoodsdocRemark { get; set; } + + /// + /// 收发货备注 + /// + public string ReceiveGoodsRemark { get; set; } + + /// + /// 回传状态:0未回传;1回传失败;10不回传;11已回传; + /// + public string CallbackStatus { get; set; } + + /// + /// 申请公司 + /// + public string ApplyCompanyName { get; set; } + + /// + /// 申请部门 + /// + public string ApplyDepartName { get; set; } + + /// + /// 申请人 + /// + public string ApplyUserName { get; set; } + + /// + /// 渠道 + /// + public string ChannelName { get; set; } + + /// + /// 货品编号 + /// + public string GoodsNo { get; set; } + + /// + /// 货品名称 + /// + public string GoodsName { get; set; } + + /// + /// 规格 + /// + public string SkuName { get; set; } + + /// + /// 条码 + /// + public string SkuBarcode { get; set; } + + /// + /// 单位 + /// + public string UnitName { get; set; } + + /// + /// 数量 + /// + public decimal? Quantity { get; set; } + + /// + /// 入库价 + /// + public decimal? BaceCurrencyCostPrice { get; set; } + + /// + /// 入库金额 + /// + public decimal? BaceCurrencyCostAmount { get; set; } + + /// + /// 本币无税单价 + /// + public decimal? BaceCurrencyNoTaxPrice { get; set; } + + /// + /// 本币无税金额 + /// + public decimal? BaceCurrencyNoTaxAmount { get; set; } + + /// + /// 本币含税单价 + /// + public decimal? BaceCurrencyWithTaxPrice { get; set; } + + /// + /// 本币含税金额 + /// + public decimal? BaceCurrencyWithTaxAmount { get; set; } + + /// + /// baceCurrencyTaxAmount + /// + public decimal? BaceCurrencyTaxAmount { get; set; } + + /// + /// 税率 + /// + public decimal? TaxRate { get; set; } + + /// + /// 原币无税单价 + /// + public decimal? TransNoTaxPrice { get; set; } + + /// + /// 原币无税金额 + /// + public decimal? TransNoTaxAmount { get; set; } + + /// + /// 原币含税单价 + /// + public decimal? TransHasTaxPrice { get; set; } + + /// + /// 原币含税金额 + /// + public decimal? TransHasTaxAmount { get; set; } + + /// + /// 原币税额 + /// + public decimal? TransTaxAmount { get; set; } + + /// + /// 正次品 1-正品 0-次品 + /// + public byte? IsCertified { get; set; } + + /// + /// 出入库明细行备注 + /// + public string GoodsDetailRemark { get; set; } + + /// + /// 批次 + /// + public string BatchNo { get; set; } + + /// + /// 唯一码 + /// + public string SerialNo { get; set; } + + /// + /// 往来单位code + /// + public string VendCode { get; set; } + + /// + /// 仓库code + /// + public string WarehouseCode { get; set; } + + /// + /// 渠道编码 + /// + public string ChannelCode { get; set; } + } +} diff --git a/Reportapi/MyCode.Project.Infrastructure/JackYun/StorageGoodsDocOutV2Response.cs b/Reportapi/MyCode.Project.Infrastructure/JackYun/StorageGoodsDocOutV2Response.cs new file mode 100644 index 0000000..160714e --- /dev/null +++ b/Reportapi/MyCode.Project.Infrastructure/JackYun/StorageGoodsDocOutV2Response.cs @@ -0,0 +1,657 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MyCode.Project.Infrastructure.JackYun +{ + + + /// + /// 分页查询出库单返回参数 + /// + public class ErpStorageGoodsDocOutV2ResponseBizData + { + /// + /// 出库单ID + /// + public long? RecId { get; set; } + + /// + /// 出库单号 + /// + public string GoodsdocNo { get; set; } + + /// + /// 上游单据号(关联单号) + /// + public string BillNo { get; set; } + + /// + /// 出库时间 + /// + public string InOutDate { get; set; } + + /// + /// 创建时间 + /// + public string GmtCreate { get; set; } + + /// + /// 出入库类型(201-销售出库 202调拨出库 204-其他出库 205采购退货 206生产领料 207组装拆卸出库 208翻新出库 209报废出库 210残次品出库 211倒冲领料 212 包材出库 215维修还厂 299可用库存修正 231成本调整出库) + /// + public int? Inouttype { get; set; } + + /// + /// 出入库类型名称(201-销售出库 202调拨出库 204-其他出库 205采购退货 206生产领料 207组装拆卸出库 208翻新出库 209报废出库 210残次品出库 211倒冲领料 212 包材出库 215维修还厂 299可用库存修正 231成本调整出库) + /// + public string InouttypeName { get; set; } + + /// + /// 往来单位名称 + /// + public string VendCustomerName { get; set; } + + /// + /// 币种编号 + /// + public string CurrencyCode { get; set; } + + /// + /// 币种汇率 + /// + public decimal? CurrencyRate { get; set; } + + /// + /// 业务员名字 + /// + public string UserName { get; set; } + + /// + /// 仓库编号 + /// + public string WarehouseCode { get; set; } + + /// + /// 仓库名字 + /// + public string WarehouseName { get; set; } + + /// + /// 备注 + /// + public string Comment { get; set; } + + /// + /// 收货备注 + /// + public string Memo { get; set; } + + /// + /// 物流公司 + /// + public string LogisticName { get; set; } + + /// + /// 物流单号 + /// + public string LogisticNo { get; set; } + + /// + /// 公司id + /// + public long? CompanyId { get; set; } + + /// + /// 公司名称 + /// + public string CompanyName { get; set; } + + /// + /// 物流类型1-普通快递 2-上门自提 3-门店配送5-无需配送 6-线下配送 + /// + public string LogisticType { get; set; } + + /// + /// 物流公司编码 + /// + public string LogisticCode { get; set; } + + /// + /// 出库原因 + /// + public string InOutReason { get; set; } + + /// + /// 来源单号 + /// + public string SourceBillNo { get; set; } + + /// + /// 渠道ID + /// + public long? ChannelId { get; set; } + + /// + /// 渠道编号 + /// + public string ChannelCode { get; set; } + + /// + /// 渠道名称 + /// + public string ChannelName { get; set; } + + /// + /// 红冲状态:1蓝单(未红冲);2被冲蓝单;9红冲单 + /// + public byte? RedStatus { get; set; } + + /// + /// 自定义字段1 + /// + public string Field1 { get; set; } + + /// + /// 自定义字段2 + /// + public string Field2 { get; set; } + + /// + /// 自定义字段3 + /// + public string Field3 { get; set; } + + /// + /// 自定义字段4 + /// + public string Field4 { get; set; } + + /// + /// 自定义字段5 + /// + public string Field5 { get; set; } + + /// + /// 财务状态:1:未成本计算;11部分成本计算;21:已成本计算;25已财务记账;31不成本计算 + /// + public byte? FinanceBillStatus { get; set; } + + /// + /// 往来单位的id + /// + public string VendCustomerId { get; set; } + + /// + /// 申请人部门id + /// + public long? ApplyDepartId { get; set; } + + /// + /// 申请人部门名称 + /// + public string ApplyDepartName { get; set; } + + /// + /// 外部单号 + /// + public string OutBillNo { get; set; } + + /// + /// 物流信息 + /// + public List LogisticList { get; set; } + + /// + /// 最近修改时间 + /// + public string GmtModified { get; set; } + + /// + /// 申请人部门编号 + /// + public string DepartCode { get; set; } + + /// + /// 申请人公司名称 + /// + public string ApplyCompanyName { get; set; } + + /// + /// 申请人公司编号 + /// + public string ApplyCompanyCode { get; set; } + + /// + /// 申请人公司id + /// + public long? ApplyCompanyId { get; set; } + + /// + /// 申请人id + /// + public long? ApplyUserId { get; set; } + + /// + /// 申请人名称 + /// + public string ApplyUserName { get; set; } + + /// + /// 公司编号 + /// + public string CompanyCode { get; set; } + + /// + /// 出库单详情 + /// + public List GoodsDocDetailList { get; set; } + + /// + /// 发件公司名称 + /// + public string SendCompanyName { get; set; } + + /// + /// 发件人 + /// + public string Send { get; set; } + + /// + /// 发件人电话 + /// + public string SendTel { get; set; } + + /// + /// 发件人手机号 + /// + public string SendPhone { get; set; } + + /// + /// 发件人邮箱 + /// + public string SendEmail { get; set; } + + /// + /// 发件人国家 + /// + public string SendCountryName { get; set; } + + /// + /// 发件人省 + /// + public string SendProvinceName { get; set; } + + /// + /// 发件人市 + /// + public string SendCityName { get; set; } + + /// + /// 发件人镇,区 + /// + public string SendTownName { get; set; } + + /// + /// 发件人街道 + /// + public string SendStreetName { get; set; } + + /// + /// 发件人详细地址 + /// + public string SendAddress { get; set; } + + /// + /// 收件公司名称 + /// + public string ReceiveCompanyName { get; set; } + + /// + /// 收件人 + /// + public string Receive { get; set; } + + /// + /// 收件人电话 + /// + public string ReceiveTel { get; set; } + + /// + /// 收件人手机号 + /// + public string ReceivePhone { get; set; } + + /// + /// 收件人邮箱 + /// + public string ReceiveEmail { get; set; } + + /// + /// 收件人国家 + /// + public string ReceiveCountryName { get; set; } + + /// + /// 收件人省 + /// + public string ReceiveProvinceName { get; set; } + + /// + /// 收件人市 + /// + public string ReceiveCityName { get; set; } + + /// + /// 收件人镇,区 + /// + public string ReceiveTownName { get; set; } + + /// + /// 收件人街道 + /// + public string ReceiveStreetName { get; set; } + + /// + /// 收件人详细地址 + /// + public string ReceiveAddress { get; set; } + + /// + /// 自定义字段6 + /// + public string Field6 { get; set; } + + /// + /// 自定义字段7 + /// + public string Field7 { get; set; } + + /// + /// 自定义字段8 + /// + public string Field8 { get; set; } + + /// + /// 自定义字段9 + /// + public string Field9 { get; set; } + + /// + /// 自定义字段10 + /// + public string Field10 { get; set; } + } + + /// + /// 物流信息列表类 + /// + public class LogisticList + { + // 根据实际需要添加属性 + } + + + /// + /// 出库单明细类 + /// + public class GoodsDocDetailList + { + /// + /// 出库单明细ID + /// + public long? RecId { get; set; } + + /// + /// 货品ID + /// + public long? GoodsId { get; set; } + + /// + /// 货品编号 + /// + public string GoodsNo { get; set; } + + /// + /// 货品名称 + /// + public string GoodsName { get; set; } + + /// + /// 规格ID + /// + public long? SkuId { get; set; } + + /// + /// 规格名称 + /// + public string SkuName { get; set; } + + /// + /// 条码 + /// + public string SkuBarcode { get; set; } + + /// + /// 单位 + /// + public string UnitName { get; set; } + + /// + /// 成本单价 + /// + public decimal? CuPrice { get; set; } + + /// + /// 成本金额 + /// + public decimal? CuValue { get; set; } + + /// + /// 箱号 + /// + public decimal? CaseNumber { get; set; } + + /// + /// 明细备注 + /// + public string RowRemark { get; set; } + + /// + /// 辅助单位显示 + /// + public string AssistUnit { get; set; } + + /// + /// 本位币含税金额 + /// + public decimal? EstCost { get; set; } + + /// + /// 税额 + /// + public decimal? EstTax { get; set; } + + /// + /// 含税单价 + /// + public decimal? EstPrice { get; set; } + + /// + /// 无税单价 + /// + public decimal? EstPriceNoTax { get; set; } + + /// + /// 无税金额 + /// + public decimal? EstCostNoTax { get; set; } + + /// + /// 税率 + /// + public decimal? TaxRate { get; set; } + + /// + /// 批次编号 + /// + public decimal? BatchNo { get; set; } + + /// + /// 序列号 + /// + public decimal? SerialNo { get; set; } + + /// + /// 生产日期 + /// + public string ProductionDate { get; set; } + + /// + /// 到期日期 + /// + public string ExpirationDate { get; set; } + + /// + /// 质保期 + /// + public string ShelfLife { get; set; } + + /// + /// 质保期单位 + /// + public string ShelfLiftUnit { get; set; } + + /// + /// 来源单据明细Id + /// + public string SourceDetailId { get; set; } + + /// + /// 无税单价(原币种) + /// + public decimal? TransNoTaxPrice { get; set; } + + /// + /// 无税金额(原币种) + /// + public decimal? TransNoTaxAmount { get; set; } + + /// + /// 含税单价(原币种) + /// + public decimal? TransHasTaxPrice { get; set; } + + /// + /// 含税金额(原币种) + /// + public decimal? TransHasTaxAmount { get; set; } + + /// + /// 税额(原币种) + /// + public decimal? TransTaxAmount { get; set; } + + /// + /// 自定义字段1 + /// + public string DetailField1 { get; set; } + + /// + /// 自定义字段2 + /// + public string DetailField2 { get; set; } + + /// + /// 自定义字段3 + /// + public string DetailField3 { get; set; } + + /// + /// 自定义字段4 + /// + public string DetailField4 { get; set; } + + /// + /// 自定义字段5 + /// + public string DetailField5 { get; set; } + + /// + /// 是否正品 0-否 1-是 + /// + public byte? IsCertified { get; set; } + + /// + /// 批准文号 + /// + public string RegistrationNumber { get; set; } + + /// + /// 批文有效期 + /// + public string ApprovalDate { get; set; } + + /// + /// 生产单位 + /// + public string ProductionDepart { get; set; } + + /// + /// 生产批号 + /// + public string BatchNumber { get; set; } + + /// + /// 数量 + /// + public decimal? Quantity { get; set; } + + /// + /// 分类id + /// + public int? CateId { get; set; } + + /// + /// 分类名称 + /// + public string CateName { get; set; } + + /// + /// 体积(m3) + /// + public decimal? Volume { get; set; } + + /// + /// 重量(kg) + /// + public decimal? SkuWeight { get; set; } + + /// + /// 自定义字段6 + /// + public string DetailField6 { get; set; } + + /// + /// 自定义字段7 + /// + public string DetailField7 { get; set; } + + /// + /// 自定义字段8 + /// + public string DetailField8 { get; set; } + + /// + /// 自定义字段9 + /// + public string DetailField9 { get; set; } + + /// + /// 自定义字段10 + /// + public string DetailField10 { get; set; } + } + +} \ No newline at end of file diff --git a/Reportapi/MyCode.Project.Infrastructure/MyCode.Project.Infrastructure.csproj b/Reportapi/MyCode.Project.Infrastructure/MyCode.Project.Infrastructure.csproj index 62a3de6..91c9ce4 100644 --- a/Reportapi/MyCode.Project.Infrastructure/MyCode.Project.Infrastructure.csproj +++ b/Reportapi/MyCode.Project.Infrastructure/MyCode.Project.Infrastructure.csproj @@ -265,9 +265,11 @@ + + diff --git a/Reportapi/MyCode.Project.Repositories/BusiOrderGoodsDocInRepository.cs b/Reportapi/MyCode.Project.Repositories/BusiOrderGoodsDocInRepository.cs new file mode 100644 index 0000000..9e885b4 --- /dev/null +++ b/Reportapi/MyCode.Project.Repositories/BusiOrderGoodsDocInRepository.cs @@ -0,0 +1,26 @@ +using MyCode.Project.Repositories.Common; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using MyCode.Project.Domain.Message; +using MyCode.Project.Domain.Model; +using MyCode.Project.Domain.Repositories; +using MyCode.Project.Infrastructure.Common; +using MyCode.Project.Infrastructure.Search; + +namespace MyCode.Project.Repositories +{ + public class BusiOrderGoodsDocInRepository: Repository, IBusiOrderGoodsDocInRepository + { + public BusiOrderGoodsDocInRepository(MyCodeSqlSugarClient context) : base(context) + { } + + + + + + + } +} \ No newline at end of file diff --git a/Reportapi/MyCode.Project.Repositories/MyCode.Project.Repositories.csproj b/Reportapi/MyCode.Project.Repositories/MyCode.Project.Repositories.csproj index 2738eef..ecfc0d6 100644 --- a/Reportapi/MyCode.Project.Repositories/MyCode.Project.Repositories.csproj +++ b/Reportapi/MyCode.Project.Repositories/MyCode.Project.Repositories.csproj @@ -79,6 +79,7 @@ + @@ -92,6 +93,8 @@ + + diff --git a/Reportapi/MyCode.Project.Repositories/StorageGoodsDocOutDetailRepository.cs b/Reportapi/MyCode.Project.Repositories/StorageGoodsDocOutDetailRepository.cs new file mode 100644 index 0000000..84369b8 --- /dev/null +++ b/Reportapi/MyCode.Project.Repositories/StorageGoodsDocOutDetailRepository.cs @@ -0,0 +1,26 @@ +using MyCode.Project.Repositories.Common; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using MyCode.Project.Domain.Message; +using MyCode.Project.Domain.Model; +using MyCode.Project.Domain.Repositories; +using MyCode.Project.Infrastructure.Common; +using MyCode.Project.Infrastructure.Search; + +namespace MyCode.Project.Repositories +{ + public class StorageGoodsDocOutDetailRepository: Repository, IStorageGoodsDocOutDetailRepository + { + public StorageGoodsDocOutDetailRepository(MyCodeSqlSugarClient context) : base(context) + { } + + + + + + + } +} \ No newline at end of file diff --git a/Reportapi/MyCode.Project.Repositories/StorageGoodsDocOutHeadRepository.cs b/Reportapi/MyCode.Project.Repositories/StorageGoodsDocOutHeadRepository.cs new file mode 100644 index 0000000..ee84217 --- /dev/null +++ b/Reportapi/MyCode.Project.Repositories/StorageGoodsDocOutHeadRepository.cs @@ -0,0 +1,26 @@ +using MyCode.Project.Repositories.Common; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using MyCode.Project.Domain.Message; +using MyCode.Project.Domain.Model; +using MyCode.Project.Domain.Repositories; +using MyCode.Project.Infrastructure.Common; +using MyCode.Project.Infrastructure.Search; + +namespace MyCode.Project.Repositories +{ + public class StorageGoodsDocOutHeadRepository: Repository, IStorageGoodsDocOutHeadRepository + { + public StorageGoodsDocOutHeadRepository(MyCodeSqlSugarClient context) : base(context) + { } + + + + + + + } +} \ No newline at end of file