wanggang
1 year ago
151 changed files with 13031 additions and 34656 deletions
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public interface IBBAC_BA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public interface IBBAC_CAN_SA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public interface IBBAC_NOT_SA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public interface IBBAC_PD_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public interface IBBAC_SE_EDI_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public interface IHBPO_BA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public interface IHBPO_CAN_SA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public interface IHBPO_NOT_SA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public interface IHBPO_PD_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public interface IHBPO_SE_EDI_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public interface IPUB_BA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public interface IPUB_CAN_SA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public interface IPUB_NOT_SA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public interface IPUB_PD_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public class BBAC_BA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public class BBAC_CAN_SA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public class BBAC_NOT_SA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public class BBAC_PD_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public class BBAC_SE_EDI_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public class HBPO_BA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public class HBPO_CAN_SA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public class HBPO_NOT_SA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public class HBPO_PD_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public class HBPO_SE_EDI_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public class PUB_BA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public class PUB_CAN_SA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public class PUB_NOT_SA_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ |
|||
{ |
|||
public class PUB_PD_SERVICE |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,104 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp.Caching; |
|||
using Volo.Abp.Domain.Repositories; |
|||
using Volo.Abp.Domain.Services; |
|||
using Volo.Abp.Guids; |
|||
using Volo.Abp.ObjectMapping; |
|||
using Win.Sfs.SettleAccount.Boms; |
|||
using Win.Sfs.SettleAccount.CommonManagers; |
|||
using Win.Sfs.SettleAccount.Entities.ImportMap; |
|||
using Win.Sfs.SettleAccount.Entities.Materials; |
|||
using Win.Sfs.SettleAccount.FISes; |
|||
using Win.Sfs.SettleAccount.MaterialRelationships; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Bases.DomainServices |
|||
{ |
|||
public class BaseDomainService:DomainService, ICheck |
|||
{ |
|||
private readonly ISettleAccountBQEfCoreRepository<Material, Guid> _materialRepository; |
|||
private readonly ISettleAccountBQEfCoreRepository<MaterialRelationship, Guid> _relationshipRepository; |
|||
private readonly ISettleAccountBQEfCoreRepository<Bom, Guid> _bomshipRepository; |
|||
|
|||
public BaseDomainService( |
|||
IGuidGenerator guidGenerator, |
|||
IObjectMapper objectMapper, |
|||
ISettleAccountBQEfCoreRepository<Material, Guid> materialRepository, |
|||
ISettleAccountBQEfCoreRepository<MaterialRelationship, Guid> relationshipRepository, |
|||
ISettleAccountBQEfCoreRepository<Bom, Guid> bomshipRepository |
|||
//IExcelImportAppService excelImportService,
|
|||
//ISnowflakeIdGenerator snowflakeIdGenerator,
|
|||
//ICommonManager commonManager
|
|||
) |
|||
{ |
|||
_materialRepository = materialRepository; |
|||
_relationshipRepository = relationshipRepository; |
|||
_bomshipRepository = bomshipRepository; |
|||
} |
|||
|
|||
public async Task<List<string>> CheckBase<TEntity>(List<TEntity> p_list ,BASE_CONF p_config) where TEntity : ISBASE |
|||
|
|||
{ |
|||
List<string> errorList = new List<string>(); |
|||
var partList= p_list.Select(p=>p.LU).Distinct().ToList(); |
|||
|
|||
if (p_config.IsBom == true) |
|||
{ |
|||
var bomList =await _bomshipRepository.ToListAsync(); |
|||
var query=from itm in partList join itm1 in bomList on itm equals itm1.ParentItemCode |
|||
into temp |
|||
from tm in temp.DefaultIfEmpty() |
|||
where tm == null |
|||
select itm; |
|||
|
|||
foreach(var itm1 in query.ToList()) |
|||
{ |
|||
errorList.Add(itm1); |
|||
} |
|||
} |
|||
if (p_config.IsMaterial == true) |
|||
{ |
|||
|
|||
var materialList = await _materialRepository.ToListAsync(); |
|||
var query = from itm in partList |
|||
join itm1 in materialList on itm equals itm1.MaterialCode |
|||
into temp |
|||
from tm in temp.DefaultIfEmpty() |
|||
where tm == null |
|||
select itm; |
|||
foreach (var partcode in query.ToList()) |
|||
{ |
|||
errorList.Add(partcode); |
|||
} |
|||
} |
|||
if (p_config.IsRelationShip == true) |
|||
{ |
|||
var materialList =await _relationshipRepository.ToListAsync(); |
|||
var query = from itm in partList |
|||
join itm1 in materialList on itm equals itm1.SettleMaterialCode |
|||
into temp |
|||
from tm in temp.DefaultIfEmpty() |
|||
where tm == null |
|||
select itm; |
|||
|
|||
foreach (var partcode in query.ToList()) |
|||
{ |
|||
errorList.Add(partcode); |
|||
} |
|||
} |
|||
return errorList; |
|||
} |
|||
|
|||
|
|||
} |
|||
public interface ICheck |
|||
{ |
|||
Task<List<string>> CheckBase<TEntity>(List<TEntity> p_list, BASE_CONF p_config) where TEntity : ISBASE; |
|||
} |
|||
|
|||
|
|||
} |
@ -0,0 +1,153 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "BBAC可结算导入")] |
|||
public class BBAC_CAN_SA:FullAuditedAggregateRoot<Guid> |
|||
{ |
|||
|
|||
[Display(Name = "期间")] |
|||
public int Version { get; set; } |
|||
|
|||
[Display(Name = "结算单据")] |
|||
public string BillNum { get; set; } = null!; |
|||
[Display(Name = "关联结算单号")] |
|||
public string SettleBillNum { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 1、新建 2、已有出库3、已有扣减寄售库
|
|||
/// </summary>
|
|||
[Display(Name = "状态")] |
|||
public string State { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 明细记录行数
|
|||
/// </summary>
|
|||
[Display(Name = "明细记录行数")] |
|||
public string InvGroupNum { get; set; } = null!; |
|||
public BBAC_CAN_SA() |
|||
{ |
|||
|
|||
} |
|||
|
|||
|
|||
|
|||
public BBAC_CAN_SA(Guid guid, int version, string billNum, string settleBillNum, string state, string invGroupNum) |
|||
{ |
|||
Id = guid; |
|||
Version = version; |
|||
BillNum = billNum; |
|||
SettleBillNum = settleBillNum; |
|||
State = state; |
|||
InvGroupNum = invGroupNum; |
|||
} |
|||
} |
|||
|
|||
[Display(Name = "BBAC可结算导入明细")] |
|||
public class BBAC_CAN_SA_DETAIL: SA_CAN_BASE |
|||
{ |
|||
///// <summary>
|
|||
///// 对应字段(Material+ExternalCalNumber)
|
|||
///// </summary>
|
|||
//[Display(Name = "LU+生产码")]
|
|||
//public string KeyCode { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 期间
|
|||
///// </summary>
|
|||
//[Display(Name = "期间")]
|
|||
//public int Version { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 结算单号
|
|||
///// </summary>
|
|||
//[Display(Name = "结算单号")]
|
|||
//public string BillNum { get; set; } = null!;
|
|||
[Display(Name = "关联结算单号")] |
|||
public string SettleBillNum { get; set; } = null!; |
|||
///// <summary>
|
|||
///// 对应字段Material
|
|||
///// </summary>
|
|||
//[Display(Name = "零件号")]
|
|||
//public string LU { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段ExternalCalNumber
|
|||
///// </summary>
|
|||
//[Display(Name = "生产码")]
|
|||
//public string PN { get; set; } = null!;
|
|||
|
|||
/// <summary>
|
|||
/// 选择工厂导入
|
|||
/// </summary>
|
|||
[Display(Name = "工厂地点")] |
|||
public string Site { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 对应字段Quantity
|
|||
/// </summary>
|
|||
//[Display(Name = "结算数量")]
|
|||
//public decimal Qty { get; set; }
|
|||
|
|||
/// <summary>
|
|||
/// 匹配价格表对应区间对应地点带出
|
|||
/// </summary>
|
|||
//[Display(Name = "单价")]
|
|||
//public decimal Price { get; set; }
|
|||
|
|||
/// <summary>
|
|||
/// ExternalCallNumber包含(R0)为买单件 1为JIS 2.为买单件
|
|||
/// </summary>
|
|||
[Display(Name = "业务类别")] |
|||
public string Category { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 对应字段MovementType,996正常,997为退货
|
|||
/// </summary>
|
|||
[Display(Name = "是否退货")] |
|||
public string IsReturn { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 对应字段PostingDate
|
|||
/// </summary>
|
|||
//[Display(Name = "结算日期(收货日期)")]
|
|||
//public DateTime SettleDate { get; set; }
|
|||
|
|||
/// <summary>
|
|||
/// 对应字段Reference
|
|||
/// </summary>
|
|||
//[Display(Name = "结算分组")]
|
|||
//public string GroupNum { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "发票分组号")]
|
|||
//public string InvGroupNum { get; set; } = null!;
|
|||
|
|||
public BBAC_CAN_SA_DETAIL() |
|||
{ |
|||
|
|||
} |
|||
|
|||
|
|||
|
|||
|
|||
public BBAC_CAN_SA_DETAIL(Guid guid,string keyCode, int version, string billNum, string settleBillNum, string lU, string pN, string site, decimal qty, decimal price, string category, string isReturn, DateTime settleDate, string groupNum, string invGroupNum) |
|||
{ |
|||
Id = guid; |
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
BillNum = billNum; |
|||
SettleBillNum = settleBillNum; |
|||
LU = lU; |
|||
PN = pN; |
|||
Site = site; |
|||
Qty = qty; |
|||
Price = price; |
|||
Category = category; |
|||
IsReturn = isReturn; |
|||
SettleDate = settleDate; |
|||
GroupNum = groupNum; |
|||
InvGroupNum = invGroupNum; |
|||
} |
|||
} |
@ -0,0 +1,111 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
|
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
|
|||
|
|||
[Display(Name = "BBAC不可结算导入明细")] |
|||
public class BBAC_NOT_SA_DETAIL:SA_NOT_BASE |
|||
{ |
|||
///// <summary>
|
|||
///// 对应字段(Material+ExternalCalNumber)
|
|||
///// </summary>
|
|||
//[Display(Name = "LU+生产码")]
|
|||
//public string KeyCode { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 期间
|
|||
///// </summary>
|
|||
//[Display(Name = "期间")]
|
|||
//public int Version { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 结算单号
|
|||
///// </summary>
|
|||
//[Display(Name = "结算单号")]
|
|||
//public string SettleBillNum { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段Material
|
|||
///// </summary>
|
|||
//[Display(Name = "零件号")]
|
|||
//public string LU { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段ExternalCalNumber
|
|||
///// </summary>
|
|||
//[Display(Name = "生产码")]
|
|||
//public string PN { get; set; } = null!;
|
|||
|
|||
/// <summary>
|
|||
/// 选择工厂导入
|
|||
/// </summary>
|
|||
[Display(Name = "工厂地点")] |
|||
public string Site { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 对应字段Quantity
|
|||
/// </summary>
|
|||
//[Display(Name = "结算数量")]
|
|||
//public decimal Qty { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 匹配价格表对应区间对应地点带出
|
|||
///// </summary>
|
|||
//[Display(Name = "单价")]
|
|||
//public decimal Price { get; set; }
|
|||
|
|||
/// <summary>
|
|||
/// ExternalCallNumber包含(R0)为买单件 1为JIS 2.为买单件
|
|||
/// </summary>
|
|||
[Display(Name = "业务类别")] |
|||
public string Category { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 对应字段MovementType,996正常,997为退货
|
|||
/// </summary>
|
|||
[Display(Name = "是否退货")] |
|||
public string IsReturn { get; set; } = null!; |
|||
|
|||
//[Display(Name = "发票分组号")]
|
|||
//public string InvGroupNum { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段PostingDate
|
|||
///// </summary>
|
|||
//[Display(Name = "结算日期(收货日期)")]
|
|||
//public DateTime SettleDate { get; set; }
|
|||
|
|||
/// <summary>
|
|||
/// 对应字段Reference
|
|||
/// </summary>
|
|||
//[Display(Name = "结算分组")]
|
|||
//public string GroupNum { get; set; } = null!;
|
|||
|
|||
|
|||
public BBAC_NOT_SA_DETAIL() |
|||
{ |
|||
|
|||
} |
|||
|
|||
public BBAC_NOT_SA_DETAIL(Guid guid, string keyCode, int version, string settleBillNum, string lU, string pN, string site, decimal qty, decimal price, string category, string isReturn, string invGroupNum, DateTime settleDate, string groupNum) |
|||
{ |
|||
Id = guid; |
|||
|
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
SettleBillNum = settleBillNum; |
|||
LU = lU; |
|||
PN = pN; |
|||
Site = site; |
|||
Qty = qty; |
|||
Price = price; |
|||
Category = category; |
|||
IsReturn = isReturn; |
|||
InvGroupNum = invGroupNum; |
|||
SettleDate = settleDate; |
|||
GroupNum = groupNum; |
|||
} |
|||
} |
@ -0,0 +1,71 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
|
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "BBAC待扣减实体")] |
|||
public class BBAC_PD_DETAIL:PD_BASE |
|||
{ |
|||
//[Display(Name = "LU+ASN单号")]
|
|||
//public string KeyCode { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "期间")]
|
|||
//public int Version { get; set; }
|
|||
|
|||
//[Display(Name = "结算单号")]
|
|||
//public string BillNum { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "零件号")]
|
|||
//public string LU { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "替换零件号")]
|
|||
//public string RELU { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "生产码")]
|
|||
//public string PN { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "替换生产号")]
|
|||
//public string REPN { get; set; } = null!;
|
|||
|
|||
[Display(Name = "工厂地点")] |
|||
public string Site { get; set; } = null!; |
|||
|
|||
//[Display(Name = "结算数量")]
|
|||
//public decimal Qty { get; set; }
|
|||
|
|||
//[Display(Name = "单价")]
|
|||
//public decimal Price { get; set; }
|
|||
|
|||
//[Display(Name = "发票分组号")]
|
|||
//public string InvGroupNum { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "结算日期(收货日期)")]
|
|||
//public DateTime SettleDate { get; set; }
|
|||
|
|||
//[Display(Name = "结算分组")]
|
|||
//public string GroupNum { get; set; } = null!;
|
|||
|
|||
public BBAC_PD_DETAIL(Guid guid, string keyCode, int version, string billNum, string lU, string rELU, string pN, string rEPN, string site, decimal qty, decimal price, string invGroupNum, DateTime settleDate, string groupNum) |
|||
{ |
|||
Id = guid; |
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
BillNum = billNum; |
|||
LU = lU; |
|||
RELU = rELU; |
|||
PN = pN; |
|||
REPN = rEPN; |
|||
Site = site; |
|||
Qty = qty; |
|||
Price = price; |
|||
InvGroupNum = invGroupNum; |
|||
SettleDate = settleDate; |
|||
GroupNum = groupNum; |
|||
} |
|||
|
|||
public BBAC_PD_DETAIL() |
|||
{ |
|||
|
|||
} |
|||
} |
@ -0,0 +1,144 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
|
|||
|
|||
[Display(Name = "BBAC结算导入")] |
|||
public class BBAC_SA:FullAuditedAggregateRoot<Guid> |
|||
{ |
|||
[Display(Name = "期间")] |
|||
public int Version { get; set; } |
|||
|
|||
[Display(Name = "结算单据")] |
|||
|
|||
public string BillNum { get; set; } = null!; |
|||
|
|||
[Display(Name = "出库单号")] |
|||
public string DNBillNum { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 1、新建 2、已有出库3、已有扣减寄售库
|
|||
/// </summary>
|
|||
[Display(Name = "状态")] |
|||
public string State { get; set; } = null!; |
|||
|
|||
public BBAC_SA(Guid guid, int version, string billNum, string dNBillNum, string state) |
|||
{ |
|||
Id = guid; |
|||
Version = version; |
|||
BillNum = billNum; |
|||
DNBillNum = dNBillNum; |
|||
State = state; |
|||
} |
|||
public BBAC_SA() |
|||
{ |
|||
|
|||
} |
|||
|
|||
|
|||
} |
|||
[Display(Name = "BBAC结算导入明细")] |
|||
|
|||
public class BBAC_SA_DETAIL:SA_BASE |
|||
{ |
|||
/// <summary>
|
|||
/// 对应字段(Material+ExternalCalNumber)
|
|||
/// </summary>
|
|||
//[Display(Name = "LU+生产码")]
|
|||
//public string KeyCode { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 期间
|
|||
///// </summary>
|
|||
//[Display(Name = "期间")]
|
|||
//public int Version { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 结算单号
|
|||
///// </summary>
|
|||
//[Display(Name = "结算单号")]
|
|||
//public string BillNum { get; set; } = null!;
|
|||
|
|||
/// <summary>
|
|||
/// 对应字段Material
|
|||
/// </summary>
|
|||
//[Display(Name = "零件号")]
|
|||
//public string LU { get; set; } = null!;
|
|||
|
|||
/// <summary>
|
|||
/// 对应字段ExternalCalNumber
|
|||
/// </summary>
|
|||
//[Display(Name = "生产码")]
|
|||
//public string PN { get; set; } = null!;
|
|||
|
|||
/// <summary>
|
|||
/// 选择工厂导入
|
|||
/// </summary>
|
|||
[Display(Name = "工厂地点")] |
|||
public string Site { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 对应字段Quantity
|
|||
/// </summary>
|
|||
//[Display(Name = "结算数量")]
|
|||
//public decimal Qty { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 匹配价格表对应区间对应地点带出
|
|||
///// </summary>
|
|||
//[Display(Name = "单价")]
|
|||
//public decimal Price { get; set; }
|
|||
|
|||
/// <summary>
|
|||
/// ExternalCallNumber包含(R0)为买单件 1为JIS 2.为买单件
|
|||
/// </summary>
|
|||
[Display(Name = "业务类别")] |
|||
public string Category { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 对应字段MovementType,996正常,997为退货
|
|||
/// </summary>
|
|||
[Display(Name = "是否退货")] |
|||
public string IsReturn { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 对应字段PostingDate
|
|||
/// </summary>
|
|||
//[Display(Name = "结算日期(收货日期)")]
|
|||
//public DateTime SettleDate { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段Reference
|
|||
///// </summary>
|
|||
//[Display(Name = "结算分组")]
|
|||
//public string GroupNum { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "发票分组号")]
|
|||
//public string InvGroupNum { get; set; } = null!;
|
|||
|
|||
public BBAC_SA_DETAIL(Guid p_guid, string keyCode, int version, string billNum, string lU, string pN, string site, decimal qty, decimal price, string category, string isReturn, DateTime settleDate, string groupNum, string invGroupNum) |
|||
{ |
|||
Id = p_guid; |
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
BillNum = billNum; |
|||
LU = lU; |
|||
PN = pN; |
|||
Site = site; |
|||
Qty = qty; |
|||
Price = price; |
|||
Category = category; |
|||
IsReturn = isReturn; |
|||
SettleDate = settleDate; |
|||
GroupNum = groupNum; |
|||
//InvGroupNum = invGroupNum;
|
|||
} |
|||
|
|||
public BBAC_SA_DETAIL() |
|||
{ |
|||
|
|||
} |
|||
} |
@ -0,0 +1,65 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
|
|||
|
|||
|
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
|
|||
[Display(Name = "BBAC发运单")] |
|||
public class BBAC_SE_DETAIL:SE_BASE |
|||
{ |
|||
//[Display(Name = "LU+生产码")]
|
|||
//public string KeyCode { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "期间")]
|
|||
//public int Version { get; set; }
|
|||
|
|||
//[Display(Name = "零件号")]
|
|||
//public string LU { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "生产码")]
|
|||
//public string PN { get; set; } = null!;
|
|||
|
|||
[Display(Name = "日顺序号")] |
|||
public string SeqNumber { get; set; } = null!; |
|||
|
|||
[Display(Name = "小总成号")] |
|||
public string AssemblyCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "注塑码")] |
|||
public string InjectionCode { get; set; } = null!; |
|||
|
|||
//[Display(Name = "发货数量")]
|
|||
//public decimal Qty { get; set; }
|
|||
|
|||
[Display(Name = "订单时间")] |
|||
public DateTime BeginDate { get; set; } |
|||
|
|||
//[Display(Name = "发货时间")]
|
|||
//public DateTime ShippingDate { get; set; }
|
|||
|
|||
//[Display(Name = "Wms发货单号")]
|
|||
//public string WmsBillNum { get; set; } = null!;
|
|||
|
|||
public BBAC_SE_DETAIL(Guid guid, string keyCode, int version, string lU, string pN, string seqNumber, string assemblyCode, string injectionCode, decimal qty, DateTime beginDate, DateTime shippingDate, string wmsBillNum) |
|||
{ |
|||
Id= guid; |
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
LU = lU; |
|||
PN = pN; |
|||
SeqNumber = seqNumber; |
|||
AssemblyCode = assemblyCode; |
|||
InjectionCode = injectionCode; |
|||
Qty = qty; |
|||
BeginDate = beginDate; |
|||
ShippingDate = shippingDate; |
|||
WmsBillNum = wmsBillNum; |
|||
} |
|||
public BBAC_SE_DETAIL() |
|||
{ |
|||
|
|||
} |
|||
} |
@ -0,0 +1,55 @@ |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "BBAC的EDI数据")] |
|||
public class BBAC_SE_EDI:FullAuditedAggregateRoot<Guid> |
|||
{ |
|||
[Display(Name = "LU+生产码")] |
|||
public string KeyCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "期间")] |
|||
public int Version { get; set; } |
|||
|
|||
[Display(Name = "零件号")] |
|||
public string LU { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 对应字段ExternalCalNumber
|
|||
/// </summary>
|
|||
[Display(Name = "生产码")] |
|||
public string PN { get; set; } = null!; |
|||
|
|||
[Display(Name = "日顺序号")] |
|||
public string SeqNumber { get; set; } = null!; |
|||
|
|||
[Display(Name = "小总成号")] |
|||
public string AssemblyCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "注塑码")] |
|||
public string InjectionCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "EDI数量")] |
|||
public decimal Qty { get; set; } |
|||
|
|||
[Display(Name = "订货时间")] |
|||
public DateTime BeginDate { get; set; } |
|||
|
|||
public BBAC_SE_EDI() |
|||
{ } |
|||
public BBAC_SE_EDI(Guid guid, string keyCode, int version, string lU, string pN, string seqNumber, string assemblyCode, string injectionCode, decimal qty, DateTime beginDate) |
|||
{ |
|||
Id = guid; |
|||
|
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
LU = lU; |
|||
PN = pN; |
|||
SeqNumber = seqNumber; |
|||
AssemblyCode = assemblyCode; |
|||
InjectionCode = injectionCode; |
|||
Qty = qty; |
|||
BeginDate = beginDate; |
|||
} |
|||
} |
@ -0,0 +1,66 @@ |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "BBAC发运数据和EDI对比实体")] |
|||
public class BBAC_SE_REPORT:FullAuditedAggregateRoot<Guid> |
|||
{ |
|||
[Display(Name = "LU+生产码")] |
|||
public string KeyCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "期间")] |
|||
public int Version { get; set; } |
|||
|
|||
[Display(Name = "零件号")] |
|||
public string LU { get; set; } = null!; |
|||
|
|||
[Display(Name = "生产码")] |
|||
public string PN { get; set; } = null!; |
|||
|
|||
[Display(Name = "日顺序号")] |
|||
public string SeqNumber { get; set; } = null!; |
|||
|
|||
[Display(Name = "小总成号")] |
|||
public string AssemblyCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "注塑码")] |
|||
public string InjectionCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "发货数量")] |
|||
public decimal Qty { get; set; } |
|||
|
|||
[Display(Name = "EDI数量")] |
|||
public decimal EDIQty { get; set; } |
|||
|
|||
[Display(Name = "订单时间")] |
|||
public DateTime BeginDate { get; set; } |
|||
|
|||
[Display(Name = "发货时间")] |
|||
public DateTime ShippingDate { get; set; } |
|||
|
|||
[Display(Name = "Wms发货单号")] |
|||
public string WmsBillNum { get; set; } = null!; |
|||
|
|||
public BBAC_SE_REPORT(Guid guid, string keyCode, int version, string lU, string pN, string seqNumber, string assemblyCode, string injectionCode, decimal qty, decimal eDIQty, DateTime beginDate, DateTime shippingDate, string wmsBillNum) |
|||
{ |
|||
Id = guid; |
|||
|
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
LU = lU; |
|||
PN = pN; |
|||
SeqNumber = seqNumber; |
|||
AssemblyCode = assemblyCode; |
|||
InjectionCode = injectionCode; |
|||
Qty = qty; |
|||
EDIQty = eDIQty; |
|||
BeginDate = beginDate; |
|||
ShippingDate = shippingDate; |
|||
WmsBillNum = wmsBillNum; |
|||
} |
|||
|
|||
public BBAC_SE_REPORT() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,82 @@ |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "BBAC发运数据与结算数据对比实体")] |
|||
public class BBAC_SE_SA_REPORT :FullAuditedAggregateRoot<Guid> |
|||
{ |
|||
|
|||
[Display(Name = "LU+ASN单号")] |
|||
public string KeyCode { get; set; } = null!; |
|||
|
|||
/// </summary>
|
|||
[Display(Name = "类别")] |
|||
public string Category { get; set; } = null!; |
|||
|
|||
[Display(Name = "Wms发货单号")] |
|||
public string WmsBillNum { get; set; } = null!; |
|||
[Display(Name = "发货时间")] |
|||
public DateTime ShippingDate { get; set; } |
|||
[Display(Name = "生产码")] |
|||
public string PN { get; set; } = null!; |
|||
[Display(Name = "日顺序号")] |
|||
public string SeqNumber { get; set; } = null!; |
|||
[Display(Name = "PJIS日顺序号")] |
|||
public string PJISSeqNumber { get; set; } = null!; |
|||
[Display(Name = "物料号")] |
|||
public string MaterialNumber { get; set; } = null!; |
|||
[Display(Name = "物料描述")] |
|||
public string MaterialDes { get; set; } = null!; |
|||
[Display(Name = "零件号")] |
|||
public string LU { get; set; } = null!; |
|||
/// <summary>
|
|||
/// 结算数据中的过账日期
|
|||
/// </summary>
|
|||
[Display(Name = "客户下线时间")] |
|||
public DateTime CustomerOfflineTime { get; set; } |
|||
[Display(Name = "小总成号")] |
|||
public string AssemblyCode { get; set; } = null!; |
|||
[Display(Name = "注塑码")] |
|||
public string InjectionCode { get; set; } = null!; |
|||
[Display(Name = "结算数量")] |
|||
public decimal SEQty { get; set; } |
|||
[Display(Name = "发货数量")] |
|||
public decimal WMSQty { get; set; } |
|||
[Display(Name = "EDI数量")] |
|||
public decimal EDIQty { get; set; } |
|||
[Display(Name = "匹配类型")] |
|||
public string MateType { get; set; } = null!; |
|||
[Display(Name = "定价")] |
|||
public decimal FixPrice { get; set; } |
|||
[Display(Name = "期间")] |
|||
public int Version { get; set; } |
|||
|
|||
public BBAC_SE_SA_REPORT(Guid guid, string keyCode, string category, string wmsBillNum, DateTime shippingDate, string pN, string seqNumber, string pJISSeqNumber, string materialNumber, string materialDes, string lU, DateTime customerOfflineTime, string assemblyCode, string injectionCode, decimal sEQty, decimal wMSQty, decimal eDIQty, string mateType, decimal fixPrice, int version) |
|||
{ |
|||
Id = guid; |
|||
KeyCode = keyCode; |
|||
Category = category; |
|||
WmsBillNum = wmsBillNum; |
|||
ShippingDate = shippingDate; |
|||
PN = pN; |
|||
SeqNumber = seqNumber; |
|||
PJISSeqNumber = pJISSeqNumber; |
|||
MaterialNumber = materialNumber; |
|||
MaterialDes = materialDes; |
|||
LU = lU; |
|||
CustomerOfflineTime = customerOfflineTime; |
|||
AssemblyCode = assemblyCode; |
|||
InjectionCode = injectionCode; |
|||
SEQty = sEQty; |
|||
WMSQty = wMSQty; |
|||
EDIQty = eDIQty; |
|||
MateType = mateType; |
|||
FixPrice = fixPrice; |
|||
Version = version; |
|||
} |
|||
|
|||
public BBAC_SE_SA_REPORT() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,133 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "HBPO可结算导入")] |
|||
public class HBPO_CAN_SA :FullAuditedAggregateRoot<Guid> |
|||
{ |
|||
[Display(Name = "期间")] |
|||
public int Version { get; set; } |
|||
[Display(Name = "关联结算单号")] |
|||
public string SettleBillNum { get; set; } = null!; |
|||
[Display(Name = "结算单据")] |
|||
|
|||
public string BillNum { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 1、新建 2、已有出库3、已有扣减寄售库
|
|||
/// </summary>
|
|||
[Display(Name = "状态")] |
|||
public string State { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 明细记录行数
|
|||
/// </summary>
|
|||
[Display(Name = "明细记录行数")] |
|||
public string InvGroupNum { get; set; } = null!; |
|||
|
|||
public HBPO_CAN_SA(Guid guid, int version, string settleBillNum, string billNum, string state, string invGroupNum) |
|||
{ |
|||
Version = version; |
|||
SettleBillNum = settleBillNum; |
|||
BillNum = billNum; |
|||
State = state; |
|||
InvGroupNum = invGroupNum; |
|||
} |
|||
|
|||
public HBPO_CAN_SA() |
|||
{ |
|||
} |
|||
} |
|||
[Display(Name = "HBPO可结算导入明细")] |
|||
|
|||
public class HBPO_CAN_SA_DETAIL:SA_CAN_BASE |
|||
{ |
|||
///// <summary>
|
|||
///// 对应字段(PartNumber+ProductioNumber)
|
|||
///// </summary>
|
|||
//[Display(Name = "LU+生产码")]
|
|||
//public string KeyCode { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 期间
|
|||
///// </summary>
|
|||
//[Display(Name = "期间")]
|
|||
//public int Version { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 结算单号
|
|||
///// </summary>
|
|||
//[Display(Name = "结算单号")]
|
|||
//public string BillNum { get; set; } = null!;
|
|||
[Display(Name = "关联结算单号")] |
|||
public string SettleBillNum { get; set; } = null!; |
|||
/// <summary>
|
|||
/// 对应字段PartNumber
|
|||
/// </summary>
|
|||
//[Display(Name = "零件号")]
|
|||
//public string LU { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段productionlumber
|
|||
///// </summary>
|
|||
//[Display(Name = "生产码")]
|
|||
//public string PN { get; set; } = null!;
|
|||
|
|||
/// <summary>
|
|||
/// 对应字段filename 区分 cn1、cn5
|
|||
/// </summary>
|
|||
[Display(Name = "工厂地点")] |
|||
public string Site { get; set; } = null!; |
|||
|
|||
///// <summary>
|
|||
///// 对应字段Qty
|
|||
///// </summary>
|
|||
//[Display(Name = "结算数量")]
|
|||
//public decimal Qty { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 匹配价格表对应区间带出
|
|||
///// </summary>
|
|||
//[Display(Name = "单价")]
|
|||
//public decimal Price { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段ReceiveDate
|
|||
///// </summary>
|
|||
//[Display(Name = "结算日期(收货日期)")]
|
|||
//public DateTime SettleDate { get; set; }
|
|||
|
|||
/// <summary>
|
|||
/// 对应字段DeliveryNode
|
|||
/// </summary>
|
|||
//[Display(Name = "结算分组")]
|
|||
//public string GroupNum { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "发票分组号")]
|
|||
//public string InvGroupNum { get; set; } = null!;
|
|||
|
|||
public HBPO_CAN_SA_DETAIL(Guid guid ,string keyCode, int version, string billNum, string settleBillNum, string lU, string pN, string site, decimal qty, decimal price, DateTime settleDate, string groupNum, string invGroupNum) |
|||
{ |
|||
Id = guid; |
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
BillNum = billNum; |
|||
SettleBillNum = settleBillNum; |
|||
LU = lU; |
|||
PN = pN; |
|||
Site = site; |
|||
Qty = qty; |
|||
Price = price; |
|||
SettleDate = settleDate; |
|||
GroupNum = groupNum; |
|||
InvGroupNum = invGroupNum; |
|||
} |
|||
|
|||
public HBPO_CAN_SA_DETAIL() |
|||
{ |
|||
} |
|||
} |
|||
|
|||
|
@ -0,0 +1,119 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
|
|||
|
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
//
|
|||
//[Display(Name = "HBPO不可结算导入")]
|
|||
//public class HBPO_NOT_SA: BaseEntity
|
|||
//{
|
|||
// [Display(Name = "期间")]
|
|||
// public int Version { get; set; }
|
|||
|
|||
// [Display(Name = "结算单据")]
|
|||
// [OneToMany<HBPO_NOT_SA_DETAIL>]
|
|||
// public string BillNum { get; set; } = null!;
|
|||
|
|||
// [Display(Name = "出库单号")]
|
|||
// public string DNBillNum { get; set; } = null!;
|
|||
|
|||
// /// <summary>
|
|||
// /// 1、新建 2、已有出库3、已有扣减寄售库
|
|||
// /// </summary>
|
|||
// [Display(Name = "状态")]
|
|||
// public string State { get; set; } = null!;
|
|||
|
|||
// /// <summary>
|
|||
// /// 明细记录行数
|
|||
// /// </summary>
|
|||
// [Display(Name = "明细记录行数")]
|
|||
// public string RecordCount { get; set; } = null!;
|
|||
//}
|
|||
[Display(Name = "HBPO不可结算导入明细")] |
|||
public class HBPO_NOT_SA_DETAIL :SA_NOT_BASE |
|||
{ |
|||
///// <summary>
|
|||
///// 对应字段(PartNumber+ProductioNumber)
|
|||
///// </summary>
|
|||
//[Display(Name = "LU+生产码")]
|
|||
//public string KeyCode { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 期间
|
|||
///// </summary>
|
|||
//[Display(Name = "期间")]
|
|||
//public int Version { get; set; }
|
|||
|
|||
//[Display(Name = "结算单号")]
|
|||
//public string SettleBillNum { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段PartNumber
|
|||
///// </summary>
|
|||
//[Display(Name = "零件号")]
|
|||
//public string LU { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段productionlumber
|
|||
///// </summary>
|
|||
//[Display(Name = "生产码")]
|
|||
//public string PN { get; set; } = null!;
|
|||
|
|||
/// <summary>
|
|||
/// 对应字段filename 区分 cn1、cn5
|
|||
/// </summary>
|
|||
[Display(Name = "工厂地点")] |
|||
public string Site { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 对应字段Qty
|
|||
/// </summary>
|
|||
//[Display(Name = "结算数量")]
|
|||
//public decimal Qty { get; set; }
|
|||
|
|||
/// <summary>
|
|||
/// 匹配价格表对应区间带出
|
|||
/// </summary>
|
|||
//[Display(Name = "单价")]
|
|||
//public decimal Price { get; set; }
|
|||
|
|||
/// <summary>
|
|||
/// 对应字段ReceiveDate
|
|||
/// </summary>
|
|||
//[Display(Name = "结算日期(收货日期)")]
|
|||
//public DateTime SettleDate { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段DeliveryNode
|
|||
///// </summary>
|
|||
//[Display(Name = "结算分组")]
|
|||
//public string GroupNum { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "发票分组号")]
|
|||
//public string InvGroupNum { get; set; } = null!;
|
|||
|
|||
|
|||
|
|||
|
|||
public HBPO_NOT_SA_DETAIL(Guid guid ,string keyCode, int version, string settleBillNum, string lU, string pN, string site, decimal qty, decimal price, DateTime settleDate, string groupNum, string invGroupNum) |
|||
{ |
|||
Id = guid; |
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
SettleBillNum = settleBillNum; |
|||
LU = lU; |
|||
PN = pN; |
|||
Site = site; |
|||
Qty = qty; |
|||
Price = price; |
|||
SettleDate = settleDate; |
|||
GroupNum = groupNum; |
|||
InvGroupNum = invGroupNum; |
|||
} |
|||
|
|||
public HBPO_NOT_SA_DETAIL() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,69 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
|
|||
|
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "HBPO待扣减实体")] |
|||
public class HBPO_PD_DETAIL :PD_BASE |
|||
{ |
|||
//[Display(Name = "LU+ASN单号")]
|
|||
//public string KeyCode { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "期间")]
|
|||
//public int Version { get; set; }
|
|||
|
|||
//[Display(Name = "结算单号")]
|
|||
//public string BillNum { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "零件号")]
|
|||
//public string LU { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "替换零件号")]
|
|||
//public string RELU { get; set; } = null!;
|
|||
//[Display(Name = "生产码")]
|
|||
//public string PN { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "替换生产号")]
|
|||
//public string REPN { get; set; } = null!;
|
|||
//[Display(Name = "工厂地点")]
|
|||
public string Site { get; set; } = null!; |
|||
|
|||
//[Display(Name = "结算数量")]
|
|||
//public decimal Qty { get; set; }
|
|||
|
|||
//[Display(Name = "单价")]
|
|||
//public decimal Price { get; set; }
|
|||
|
|||
//[Display(Name = "发票分组号")]
|
|||
//public string InvGroupNum { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "结算日期(收货日期)")]
|
|||
//public DateTime SettleDate { get; set; }
|
|||
|
|||
//[Display(Name = "结算分组")]
|
|||
//public string GroupNum { get; set; } = null!;
|
|||
|
|||
public HBPO_PD_DETAIL(Guid guid, string keyCode, int version, string billNum, string lU, string rELU, string pN, string rEPN, string site, decimal qty, decimal price, string invGroupNum, DateTime settleDate, string groupNum) |
|||
{ |
|||
Id = guid; |
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
BillNum = billNum; |
|||
LU = lU; |
|||
RELU = rELU; |
|||
PN = pN; |
|||
REPN = rEPN; |
|||
Site = site; |
|||
Qty = qty; |
|||
Price = price; |
|||
InvGroupNum = invGroupNum; |
|||
SettleDate = settleDate; |
|||
GroupNum = groupNum; |
|||
} |
|||
|
|||
public HBPO_PD_DETAIL() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,135 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "HBPO结算导入")] |
|||
public class HBPO_SA :FullAuditedAggregateRoot<Guid> |
|||
{ |
|||
[Display(Name = "期间")] |
|||
public int Version { get; set; } |
|||
|
|||
[Display(Name = "结算单据")] |
|||
|
|||
public string BillNum { get; set; } = null!; |
|||
|
|||
[Display(Name = "出库单号")] |
|||
public string DNBillNum { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 1、新建 2、已有出库3、已有扣减寄售库
|
|||
/// </summary>
|
|||
[Display(Name = "状态")] |
|||
public string State { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 明细记录行数
|
|||
/// </summary>
|
|||
[Display(Name = "明细记录行数")] |
|||
public string RecordCount { get; set; } = null!; |
|||
|
|||
public HBPO_SA(Guid guid, int version, string billNum, string dNBillNum, string state, string recordCount) |
|||
{ |
|||
this.Id= guid; |
|||
Version = version; |
|||
BillNum = billNum; |
|||
DNBillNum = dNBillNum; |
|||
State = state; |
|||
RecordCount = recordCount; |
|||
} |
|||
|
|||
public HBPO_SA() |
|||
{ |
|||
} |
|||
} |
|||
|
|||
[Display(Name = "HBPO结算导入明细")] |
|||
|
|||
public class HBPO_SA_DETAIL :SA_BASE |
|||
|
|||
{ |
|||
///// <summary>
|
|||
///// 对应字段(PartNumber+ProductioNumber)
|
|||
///// </summary>
|
|||
//[Display(Name = "LU+生产码")]
|
|||
//public string KeyCode { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 期间
|
|||
///// </summary>
|
|||
//[Display(Name = "期间")]
|
|||
//public int Version { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 结算单号
|
|||
///// </summary>
|
|||
//[Display(Name = "结算单号")]
|
|||
//public string BillNum { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段PartNumber
|
|||
///// </summary>
|
|||
//[Display(Name = "零件号")]
|
|||
//public string LU { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段productionlumber
|
|||
///// </summary>
|
|||
//[Display(Name = "生产码")]
|
|||
//public string PN { get; set; } = null!;
|
|||
|
|||
/// <summary>
|
|||
/// 对应字段filename 区分 cn1、cn5
|
|||
/// </summary>
|
|||
[Display(Name = "工厂地点")] |
|||
public string Site { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 对应字段Qty
|
|||
/// </summary>
|
|||
//[Display(Name = "结算数量")]
|
|||
//public decimal Qty { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 匹配价格表对应区间带出
|
|||
///// </summary>
|
|||
//[Display(Name = "单价")]
|
|||
//public decimal Price { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段ReceiveDate
|
|||
///// </summary>
|
|||
//[Display(Name = "结算日期(收货日期)")]
|
|||
//public DateTime SettleDate { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段DeliveryNode
|
|||
///// </summary>
|
|||
//[Display(Name = "结算分组")]
|
|||
//public string GroupNum { get; set; } = null!;
|
|||
|
|||
[Display(Name = "发票分组号")] |
|||
public string InvGroupNum { get; set; } = null!; |
|||
|
|||
|
|||
public HBPO_SA_DETAIL(Guid guid, string keyCode, int version, string billNum, string lU, string pN, string site, decimal qty, decimal price, DateTime settleDate, string groupNum, string invGroupNum) |
|||
{ |
|||
this.Id= guid; |
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
BillNum = billNum; |
|||
LU = lU; |
|||
PN = pN; |
|||
Site = site; |
|||
Qty = qty; |
|||
Price = price; |
|||
SettleDate = settleDate; |
|||
GroupNum = groupNum; |
|||
InvGroupNum = invGroupNum; |
|||
} |
|||
|
|||
public HBPO_SA_DETAIL() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,64 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
|
|||
|
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
|
|||
[Display(Name = "HBPO发运数据")] |
|||
public class HBPO_SE_DETAIL :SE_BASE |
|||
{ |
|||
//[Display(Name = "LU+生产码")]
|
|||
//public string KeyCode { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "期间")]
|
|||
//public int Version { get; set; }
|
|||
|
|||
//[Display(Name = "零件号")]
|
|||
//public string LU { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "生产码")]
|
|||
//public string PN { get; set; } = null!;
|
|||
|
|||
[Display(Name = "日顺序号")] |
|||
public string SeqNumber { get; set; } = null!; |
|||
|
|||
[Display(Name = "小总成号")] |
|||
public string AssemblyCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "注塑码")] |
|||
public string InjectionCode { get; set; } = null!; |
|||
|
|||
//[Display(Name = "发货数量")]
|
|||
//public decimal Qty { get; set; }
|
|||
|
|||
[Display(Name = "订单时间")] |
|||
public DateTime BeginDate { get; set; } |
|||
|
|||
//[Display(Name = "发货时间")]
|
|||
//public DateTime ShippingDate { get; set; }
|
|||
|
|||
//[Display(Name = "Wms发货单号")]
|
|||
//public string WmsBillNum { get; set; } = null!;
|
|||
|
|||
public HBPO_SE_DETAIL(Guid guid, string keyCode, int version, string lU, string pN, string seqNumber, string assemblyCode, string injectionCode, decimal qty, DateTime beginDate, DateTime shippingDate, string wmsBillNum) |
|||
{ |
|||
this.Id = guid; |
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
LU = lU; |
|||
PN = pN; |
|||
SeqNumber = seqNumber; |
|||
AssemblyCode = assemblyCode; |
|||
InjectionCode = injectionCode; |
|||
Qty = qty; |
|||
BeginDate = beginDate; |
|||
ShippingDate = shippingDate; |
|||
WmsBillNum = wmsBillNum; |
|||
} |
|||
|
|||
public HBPO_SE_DETAIL() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,56 @@ |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "HBPO的EDI数据")] |
|||
public class HBPO_SE_EDI :FullAuditedAggregateRoot<Guid> |
|||
{ |
|||
[Display(Name = "LU+生产码")] |
|||
public string KeyCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "期间")] |
|||
public int Version { get; set; } |
|||
|
|||
[Display(Name = "零件号")] |
|||
public string LU { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 对应字段ExternalCalNumber
|
|||
/// </summary>
|
|||
[Display(Name = "生产码")] |
|||
public string PN { get; set; } = null!; |
|||
|
|||
[Display(Name = "日顺序号")] |
|||
public string SeqNumber { get; set; } = null!; |
|||
|
|||
[Display(Name = "小总成号")] |
|||
public string AssemblyCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "注塑码")] |
|||
public string InjectionCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "EDI数量")] |
|||
public decimal Qty { get; set; } |
|||
|
|||
[Display(Name = "订货时间")] |
|||
public DateTime BeginDate { get; set; } |
|||
|
|||
public HBPO_SE_EDI(Guid guid, string keyCode, int version, string lU, string pN, string seqNumber, string assemblyCode, string injectionCode, decimal qty, DateTime beginDate) |
|||
{ |
|||
Id=guid; |
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
LU = lU; |
|||
PN = pN; |
|||
SeqNumber = seqNumber; |
|||
AssemblyCode = assemblyCode; |
|||
InjectionCode = injectionCode; |
|||
Qty = qty; |
|||
BeginDate = beginDate; |
|||
} |
|||
|
|||
public HBPO_SE_EDI() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,65 @@ |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "HBPO发运数据和EDI对比实体")] |
|||
public class HBPO_SE_REPORT :FullAuditedAggregateRoot<Guid> |
|||
{ |
|||
[Display(Name = "LU+生产码")] |
|||
public string KeyCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "期间")] |
|||
public int Version { get; set; } |
|||
|
|||
[Display(Name = "零件号")] |
|||
public string LU { get; set; } = null!; |
|||
|
|||
[Display(Name = "生产码")] |
|||
public string PN { get; set; } = null!; |
|||
|
|||
[Display(Name = "日顺序号")] |
|||
public string SeqNumber { get; set; } = null!; |
|||
|
|||
[Display(Name = "小总成号")] |
|||
public string AssemblyCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "注塑码")] |
|||
public string InjectionCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "发货数量")] |
|||
public decimal Qty { get; set; } |
|||
|
|||
[Display(Name = "EDI数量")] |
|||
public decimal EDIQty { get; set; } |
|||
|
|||
[Display(Name = "订单时间")] |
|||
public DateTime BeginDate { get; set; } |
|||
|
|||
[Display(Name = "发货时间")] |
|||
public DateTime ShippingDate { get; set; } |
|||
|
|||
[Display(Name = "Wms发货单号")] |
|||
public string WmsBillNum { get; set; } = null!; |
|||
|
|||
public HBPO_SE_REPORT(Guid guid, string keyCode, int version, string lU, string pN, string seqNumber, string assemblyCode, string injectionCode, decimal qty, decimal eDIQty, DateTime beginDate, DateTime shippingDate, string wmsBillNum) |
|||
{ |
|||
Id = guid; |
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
LU = lU; |
|||
PN = pN; |
|||
SeqNumber = seqNumber; |
|||
AssemblyCode = assemblyCode; |
|||
InjectionCode = injectionCode; |
|||
Qty = qty; |
|||
EDIQty = eDIQty; |
|||
BeginDate = beginDate; |
|||
ShippingDate = shippingDate; |
|||
WmsBillNum = wmsBillNum; |
|||
} |
|||
|
|||
public HBPO_SE_REPORT() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,106 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
|
|||
|
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "HBPO发运数据与结算数据对比实体")] |
|||
public class HBPO_SE_SA_REPORT :RE_BASE |
|||
{ |
|||
//[Display(Name = "LU+ASN单号")]
|
|||
//public string KeyCode { get; set; } = null!;
|
|||
|
|||
/// <summary>
|
|||
/// 有结算无发货(无EDI数据)
|
|||
///有结算无发货(有EDI数据)
|
|||
///有结算有发货(无EDI数据)
|
|||
///有结算有发货(无价格信息)
|
|||
///有结算有发货(有EDI数据)
|
|||
///无结算有发货(有EDI数据)
|
|||
///无结算有发货(无EDI数据)
|
|||
///有结算有发货(有EDI数据)
|
|||
///有结算有发货(WMS多发)
|
|||
/// </summary>
|
|||
[Display(Name = "类别")] |
|||
public string Category { get; set; } = null!; |
|||
|
|||
//[Display(Name = "Wms发货单号")]
|
|||
//public string WmsBillNum { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "发货时间")]
|
|||
//public DateTime ShippingDate { get; set; }
|
|||
|
|||
//[Display(Name = "生产码")]
|
|||
//public string PN { get; set; } = null!;
|
|||
|
|||
[Display(Name = "日顺序号")] |
|||
public string SeqNumber { get; set; } = null!; |
|||
|
|||
[Display(Name = "PJIS日顺序号")] |
|||
public string PJISSeqNumber { get; set; } = null!; |
|||
|
|||
[Display(Name = "物料号")] |
|||
public string MaterialNumber { get; set; } = null!; |
|||
|
|||
[Display(Name = "物料描述")] |
|||
public string MaterialDes { get; set; } = null!; |
|||
|
|||
//[Display(Name = "零件号")]
|
|||
//public string LU { get; set; } = null!;
|
|||
|
|||
/// <summary>
|
|||
/// 结算数据中的过账日期
|
|||
/// </summary>
|
|||
[Display(Name = "客户下线时间")] |
|||
public DateTime CustomerOfflineTime { get; set; } |
|||
|
|||
[Display(Name = "小总成号")] |
|||
public string AssemblyCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "注塑码")] |
|||
public string InjectionCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "结算数量")] |
|||
public decimal SEQty { get; set; } |
|||
|
|||
[Display(Name = "发货数量")] |
|||
public decimal WMSQty { get; set; } |
|||
|
|||
[Display(Name = "EDI数量")] |
|||
public decimal EDIQty { get; set; } |
|||
|
|||
[Display(Name = "匹配类型")] |
|||
public string MateType { get; set; } = null!; |
|||
|
|||
[Display(Name = "定价")] |
|||
public decimal FixPrice { get; set; } |
|||
|
|||
[Display(Name = "期间")] |
|||
public int Version { get; set; } |
|||
|
|||
public HBPO_SE_SA_REPORT(Guid guid, string keyCode, string category, string pN, string seqNumber, string pJISSeqNumber, string materialNumber, string materialDes, DateTime customerOfflineTime, string assemblyCode, string injectionCode, decimal sEQty, decimal wMSQty, decimal eDIQty, string mateType, decimal fixPrice, int version) |
|||
{ |
|||
Id = guid; |
|||
KeyCode = keyCode; |
|||
Category = category; |
|||
|
|||
SeqNumber = seqNumber; |
|||
PJISSeqNumber = pJISSeqNumber; |
|||
MaterialNumber = materialNumber; |
|||
MaterialDes = materialDes; |
|||
CustomerOfflineTime = customerOfflineTime; |
|||
AssemblyCode = assemblyCode; |
|||
InjectionCode = injectionCode; |
|||
SEQty = sEQty; |
|||
WMSQty = wMSQty; |
|||
EDIQty = eDIQty; |
|||
MateType = mateType; |
|||
FixPrice = fixPrice; |
|||
Version = version; |
|||
} |
|||
|
|||
public HBPO_SE_SA_REPORT() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,107 @@ |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "发票分组")] |
|||
public class INVOICE_GRP : FullAuditedAggregateRoot<Guid> |
|||
{ |
|||
[Display(Name = "实际纸质发票号")] |
|||
public string RealnvBillNum { get; set; } = null!; |
|||
|
|||
[Display(Name = "系统生成发票号")] |
|||
public string InvbillNum { get; set; } = null!; |
|||
|
|||
[Display(Name = "未税金额")] |
|||
public decimal Amt { get; set; } |
|||
|
|||
[Display(Name = "税后金额")] |
|||
public decimal TaxAmt { get; set; } |
|||
|
|||
[Display(Name = "发票分组号")] |
|||
public string InvGroupNum { get; set; } = null!; |
|||
|
|||
[Display(Name = "开票Excel文件")] |
|||
public string FileName { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 1-HBPO 2-BBAC(和买单件一起开票,扣减库存时要注意分开) 3-JIT 4-备件、5-印度件
|
|||
/// </summary>
|
|||
[Display(Name = "业务类别")] |
|||
public string BusinessType { get; set; } = null!; |
|||
|
|||
public INVOICE_GRP(Guid guid, string realnvBillNum, string invbillNum, decimal amt, decimal taxAmt, string invGroupNum, string fileName, string businessType) |
|||
{ |
|||
Id= guid; |
|||
RealnvBillNum = realnvBillNum; |
|||
InvbillNum = invbillNum; |
|||
Amt = amt; |
|||
TaxAmt = taxAmt; |
|||
InvGroupNum = invGroupNum; |
|||
FileName = fileName; |
|||
BusinessType = businessType; |
|||
} |
|||
|
|||
public INVOICE_GRP() |
|||
{ |
|||
} |
|||
} |
|||
|
|||
//[ShangWuShenHeGroup]
|
|||
//[Hidden]
|
|||
//[Display(Name = "财务管理审核明细")]
|
|||
//public class INVOICE_DETAIL : BaseEntity
|
|||
//{
|
|||
// [Display(Name = "零件号")]
|
|||
// public string LU { get; set; } = null!;
|
|||
|
|||
// [Display(Name = "单价")]
|
|||
// public decimal PRICE { get; set; }
|
|||
|
|||
// [Display(Name = "数量")]
|
|||
// public decimal Qty { get; set; }
|
|||
|
|||
// [Display(Name = "金额")]
|
|||
// public decimal Amt { get; set; }
|
|||
|
|||
// [Display(Name = "发票号")]
|
|||
// public string InvbillNum { get; set; } = null!;
|
|||
// [Display(Name = "发票分组号")]
|
|||
// public string InvGroupNum { get; set; } = null!;
|
|||
//[ShangWuShenHeGroup]
|
|||
//[Display(Name = "待开票明细")]
|
|||
//public class INVOICE_WAIT_DETAIL : BaseEntity
|
|||
//{
|
|||
// [Display(Name = "发票号")]
|
|||
// public string InvbillNum { get; set; } = null!;
|
|||
|
|||
// [Display(Name = "零件号")]
|
|||
// public string LU { get; set; } = null!;
|
|||
|
|||
// [Display(Name = "单价")]
|
|||
// public decimal PRICE { get; set; }
|
|||
|
|||
// [Display(Name = "数量")]
|
|||
// public decimal Qty { get; set; }
|
|||
|
|||
// [Display(Name = "金额")]
|
|||
// public decimal Amt { get; set; }
|
|||
|
|||
// [Display(Name = "扩展字段1")]
|
|||
// public string Extend1 { get; set; } = null!;
|
|||
|
|||
// [Display(Name = "扩展字段2")]
|
|||
// public string Extend2 { get; set; } = null!;
|
|||
|
|||
// [Display(Name = "扩展字段3")]
|
|||
// public string Extend3 { get; set; } = null!;
|
|||
|
|||
// [Display(Name = "扩展字段4")]
|
|||
// public string Extend4 { get; set; } = null!;
|
|||
// [Display(Name = "期间")]
|
|||
// public int Version { get; set; }
|
|||
// [Display(Name = "发票分组号")]
|
|||
// public string InvGroupNum { get; set; } = null!;
|
|||
// [Display(Name = "业务分类")]
|
|||
// public string BussiessType { get; set; } = null!;
|
|||
//}
|
@ -0,0 +1,47 @@ |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
|
|||
[Display(Name = "发票和结算分组对应关系")] |
|||
|
|||
public class INVOICE_MAP_GROUP : FullAuditedAggregateRoot<Guid> |
|||
{ |
|||
[Display(Name = "期间")] |
|||
public int Version { get; set; } |
|||
|
|||
[Display(Name = "发票号")] |
|||
public string InvbillNum { get; set; } = null!; |
|||
|
|||
[Display(Name = "发票分组号")] |
|||
public string InvGroupNum { get; set; } = null!; |
|||
|
|||
[Display(Name = "结算分组号")] |
|||
public string SettleGroupNum { get; set; } = null!; |
|||
|
|||
[Display(Name = "金额")] |
|||
public decimal Amt { get; set; } |
|||
|
|||
[Display(Name = "扩展字段1")] |
|||
public string Extend1 { get; set; } = null!; |
|||
|
|||
[Display(Name = "扩展字段2")] |
|||
public string Extend2 { get; set; } = null!; |
|||
|
|||
public INVOICE_MAP_GROUP(Guid guid, int version, string invbillNum, string invGroupNum, string settleGroupNum, decimal amt, string extend1, string extend2) |
|||
{ |
|||
Id = guid; |
|||
Version = version; |
|||
InvbillNum = invbillNum; |
|||
InvGroupNum = invGroupNum; |
|||
SettleGroupNum = settleGroupNum; |
|||
Amt = amt; |
|||
Extend1 = extend1; |
|||
Extend2 = extend2; |
|||
} |
|||
|
|||
public INVOICE_MAP_GROUP() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,47 @@ |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
|
|||
[Display(Name = "不可结算零件号")] |
|||
|
|||
public class INVOICE_NOT_SETTLE : FullAuditedAggregateRoot<Guid> |
|||
{ |
|||
[Display(Name = "期间")] |
|||
public int Version { get; set; } |
|||
|
|||
[Display(Name = "发票分组号")] |
|||
public string InvGroupNum { get; set; } = null!; |
|||
|
|||
[Display(Name = "结算分组号")] |
|||
public string SettleGroupNum { get; set; } = null!; |
|||
|
|||
[Display(Name = "可结算零件号")] |
|||
public string LU { get; set; } = null!; |
|||
|
|||
[Display(Name = "不可结算零件号")] |
|||
public string LU1 { get; set; } = null!; |
|||
|
|||
[Display(Name = "扩展字段1")] |
|||
public string Extend1 { get; set; } = null!; |
|||
|
|||
[Display(Name = "扩展字段2")] |
|||
public string Extend2 { get; set; } = null!; |
|||
|
|||
public INVOICE_NOT_SETTLE(Guid guid, int version, string invGroupNum, string settleGroupNum, string lU, string lU1, string extend1, string extend2) |
|||
{ |
|||
Id = guid; |
|||
Version = version; |
|||
InvGroupNum = invGroupNum; |
|||
SettleGroupNum = settleGroupNum; |
|||
LU = lU; |
|||
LU1 = lU1; |
|||
Extend1 = extend1; |
|||
Extend2 = extend2; |
|||
} |
|||
|
|||
public INVOICE_NOT_SETTLE() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,69 @@ |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
|
|||
[Display(Name = "待开票明细")] |
|||
public class INVOICE_WAIT_DETAIL :FullAuditedAggregateRoot<Guid> |
|||
{ |
|||
[Display(Name = "期间")] |
|||
public int Version { get; set; } |
|||
|
|||
[Display(Name = "发票号")] |
|||
public string InvbillNum { get; set; } = null!; |
|||
|
|||
[Display(Name = "发票分组号")] |
|||
public string InvGroupNum { get; set; } = null!; |
|||
|
|||
[Display(Name = "零件号")] |
|||
public string LU { get; set; } = null!; |
|||
|
|||
[Display(Name = "单价")] |
|||
public decimal PRICE { get; set; } |
|||
|
|||
[Display(Name = "数量")] |
|||
public decimal Qty { get; set; } |
|||
|
|||
[Display(Name = "金额")] |
|||
public decimal Amt { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 1、BBAC-JIS 2、HBPO-JIS 3、JIT 4、备件 5、印度件
|
|||
/// </summary>
|
|||
[Display(Name = "业务分类")] |
|||
public string BussiessType { get; set; } = null!; |
|||
|
|||
[Display(Name = "扩展字段1")] |
|||
public string Extend1 { get; set; } = null!; |
|||
|
|||
[Display(Name = "扩展字段2")] |
|||
public string Extend2 { get; set; } = null!; |
|||
|
|||
[Display(Name = "扩展字段3")] |
|||
public string Extend3 { get; set; } = null!; |
|||
|
|||
[Display(Name = "扩展字段4")] |
|||
public string Extend4 { get; set; } = null!; |
|||
|
|||
public INVOICE_WAIT_DETAIL(Guid guid, int version, string invbillNum, string invGroupNum, string lU, decimal pRICE, decimal qty, decimal amt, string bussiessType, string extend1, string extend2, string extend3, string extend4) |
|||
{ |
|||
Id = guid; |
|||
Version = version; |
|||
InvbillNum = invbillNum; |
|||
InvGroupNum = invGroupNum; |
|||
LU = lU; |
|||
PRICE = pRICE; |
|||
Qty = qty; |
|||
Amt = amt; |
|||
BussiessType = bussiessType; |
|||
Extend1 = extend1; |
|||
Extend2 = extend2; |
|||
Extend3 = extend3; |
|||
Extend4 = extend4; |
|||
} |
|||
|
|||
public INVOICE_WAIT_DETAIL() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,108 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "JIT发运数据与结算数据对比实体")] |
|||
public class JIT_SE_SA_REPORT :RE_BASE |
|||
{ |
|||
//[Display(Name = "LU+ASN单号")]
|
|||
//public string KeyCode { get; set; } = null!;
|
|||
|
|||
/// <summary>
|
|||
/// 有结算无发货(无EDI数据)
|
|||
///有结算无发货(有EDI数据)
|
|||
///有结算有发货(无EDI数据)
|
|||
///有结算有发货(无价格信息)
|
|||
///有结算有发货(有EDI数据)
|
|||
///无结算有发货(有EDI数据)
|
|||
///无结算有发货(无EDI数据)
|
|||
///有结算有发货(有EDI数据)
|
|||
///有结算有发货(WMS多发)
|
|||
/// </summary>
|
|||
[Display(Name = "类别")] |
|||
public string Category { get; set; } = null!; |
|||
|
|||
//[Display(Name = "Wms发货单号")]
|
|||
//public string WmsBillNum { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "发货时间")]
|
|||
//public DateTime ShippingDate { get; set; }
|
|||
|
|||
//[Display(Name = "生产码")]
|
|||
//public string PN { get; set; } = null!;
|
|||
|
|||
[Display(Name = "日顺序号")] |
|||
public string SeqNumber { get; set; } = null!; |
|||
|
|||
[Display(Name = "PJIS日顺序号")] |
|||
public string PJISSeqNumber { get; set; } = null!; |
|||
|
|||
[Display(Name = "物料号")] |
|||
public string MaterialNumber { get; set; } = null!; |
|||
|
|||
[Display(Name = "物料描述")] |
|||
public string MaterialDes { get; set; } = null!; |
|||
|
|||
//[Display(Name = "零件号")]
|
|||
//public string LU { get; set; } = null!;
|
|||
|
|||
/// <summary>
|
|||
/// 结算数据中的过账日期
|
|||
/// </summary>
|
|||
[Display(Name = "客户下线时间")] |
|||
public DateTime CustomerOfflineTime { get; set; } |
|||
|
|||
[Display(Name = "小总成号")] |
|||
public string AssemblyCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "注塑码")] |
|||
public string InjectionCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "结算数量")] |
|||
public decimal SEQty { get; set; } |
|||
|
|||
[Display(Name = "发货数量")] |
|||
public decimal WMSQty { get; set; } |
|||
|
|||
[Display(Name = "EDI数量")] |
|||
public decimal EDIQty { get; set; } |
|||
|
|||
[Display(Name = "匹配类型")] |
|||
public string MateType { get; set; } = null!; |
|||
|
|||
[Display(Name = "定价")] |
|||
public decimal FixPrice { get; set; } |
|||
|
|||
[Display(Name = "期间")] |
|||
public int Version { get; set; } |
|||
|
|||
public JIT_SE_SA_REPORT(Guid guid , string keyCode, string category, string wmsBillNum, DateTime shippingDate, string pN, string seqNumber, string pJISSeqNumber, string materialNumber, string materialDes, string lU, DateTime customerOfflineTime, string assemblyCode, string injectionCode, decimal sEQty, decimal wMSQty, decimal eDIQty, string mateType, decimal fixPrice, int version) |
|||
{ |
|||
Id = guid; |
|||
KeyCode = keyCode; |
|||
Category = category; |
|||
WmsBillNum = wmsBillNum; |
|||
ShippingDate = shippingDate; |
|||
PN = pN; |
|||
SeqNumber = seqNumber; |
|||
PJISSeqNumber = pJISSeqNumber; |
|||
MaterialNumber = materialNumber; |
|||
MaterialDes = materialDes; |
|||
LU = lU; |
|||
CustomerOfflineTime = customerOfflineTime; |
|||
AssemblyCode = assemblyCode; |
|||
InjectionCode = injectionCode; |
|||
SEQty = sEQty; |
|||
WMSQty = wMSQty; |
|||
EDIQty = eDIQty; |
|||
MateType = mateType; |
|||
FixPrice = fixPrice; |
|||
Version = version; |
|||
} |
|||
|
|||
public JIT_SE_SA_REPORT() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,69 @@ |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "买单件待扣减实体")] |
|||
public class M_PD_DETAIL : FullAuditedAggregateRoot<Guid> |
|||
{ |
|||
[Display(Name = "LU+ASN单号")] |
|||
public string KeyCode { get; set; } = null!; |
|||
|
|||
[Display(Name = "期间")] |
|||
public int Version { get; set; } |
|||
|
|||
[Display(Name = "结算单号")] |
|||
public string BillNum { get; set; } = null!; |
|||
|
|||
[Display(Name = "零件号")] |
|||
public string LU { get; set; } = null!; |
|||
|
|||
[Display(Name = "替换零件号")] |
|||
public string RELU { get; set; } = null!; |
|||
|
|||
[Display(Name = "生产码")] |
|||
public string PN { get; set; } = null!; |
|||
|
|||
[Display(Name = "替换生产号")] |
|||
public string REPN { get; set; } = null!; |
|||
|
|||
[Display(Name = "工厂地点")] |
|||
public string Site { get; set; } = null!; |
|||
|
|||
[Display(Name = "结算数量")] |
|||
public decimal Qty { get; set; } |
|||
|
|||
[Display(Name = "单价")] |
|||
public decimal Price { get; set; } |
|||
|
|||
[Display(Name = "发票分组号")] |
|||
public string InvGroupNum { get; set; } = null!; |
|||
|
|||
[Display(Name = "结算日期(收货日期)")] |
|||
public DateTime SettleDate { get; set; } |
|||
|
|||
[Display(Name = "结算分组")] |
|||
public string GroupNum { get; set; } = null!; |
|||
|
|||
public M_PD_DETAIL(Guid guid, string keyCode, int version, string billNum, string lU, string rELU, string pN, string rEPN, string site, decimal qty, decimal price, string invGroupNum, DateTime settleDate, string groupNum) |
|||
{ |
|||
Id = guid; |
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
BillNum = billNum; |
|||
LU = lU; |
|||
RELU = rELU; |
|||
PN = pN; |
|||
REPN = rEPN; |
|||
Site = site; |
|||
Qty = qty; |
|||
Price = price; |
|||
InvGroupNum = invGroupNum; |
|||
SettleDate = settleDate; |
|||
GroupNum = groupNum; |
|||
} |
|||
|
|||
public M_PD_DETAIL() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,139 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "PUB可结算导入")] |
|||
public class PUB_CAN_SA :FullAuditedAggregateRoot<Guid> |
|||
{ |
|||
[Display(Name = "期间")] |
|||
public int Version { get; set; } |
|||
|
|||
[Display(Name = "关联结算单号")] |
|||
public string SettleBillNum { get; set; } = null!; |
|||
|
|||
[Display(Name = "结算单据")] |
|||
public string BillNum { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 1、新建 2、已有出库3、已有扣减寄售库
|
|||
/// </summary>
|
|||
[Display(Name = "状态")] |
|||
public int State { get; set; } |
|||
/// <summary>
|
|||
/// 1、JIT 2、买单件 3、备件 3、印度件
|
|||
/// </summary>
|
|||
[Display(Name = "业务分类")] |
|||
public string BusinessType { get; set; } = null!; |
|||
|
|||
[Display(Name = "明细记录行数")] |
|||
public string InvGroupNum { get; set; } = null!; |
|||
|
|||
public PUB_CAN_SA(int version, string settleBillNum, string billNum, int state, string businessType, string invGroupNum) |
|||
{ |
|||
Version = version; |
|||
SettleBillNum = settleBillNum; |
|||
BillNum = billNum; |
|||
State = state; |
|||
BusinessType = businessType; |
|||
InvGroupNum = invGroupNum; |
|||
} |
|||
|
|||
public PUB_CAN_SA() |
|||
{ |
|||
} |
|||
} |
|||
[Display(Name = "PUB可结算导入明细")] |
|||
public class PUB_CAN_SA_DETAIL : SA_CAN_BASE |
|||
{ |
|||
//[Display(Name = "LU+ASN单号")]
|
|||
//public string KeyCode { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 期间
|
|||
///// </summary>
|
|||
//[Display(Name = "期间")]
|
|||
//public int Version { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 结算单号
|
|||
///// </summary>
|
|||
//[Display(Name = "结算单号")]
|
|||
//public string BillNum { get; set; } = null!;
|
|||
|
|||
[Display(Name = "关联结算单号")] |
|||
public string SettleBillNum { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 对应字段PartNumber
|
|||
/// </summary>
|
|||
//[Display(Name = "零件号")]
|
|||
//public string LU { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段productionlumber
|
|||
///// </summary>
|
|||
//[Display(Name = "生产码")]
|
|||
//public string PN { get; set; } = null!;
|
|||
|
|||
/// <summary>
|
|||
/// 对应字段filename 区分 cn1、cn5
|
|||
/// </summary>
|
|||
[Display(Name = "工厂地点")] |
|||
public string Site { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 对应字段Qty
|
|||
/// </summary>
|
|||
//[Display(Name = "结算数量")]
|
|||
//public decimal Qty { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 匹配价格表对应区间带出
|
|||
///// </summary>
|
|||
//[Display(Name = "单价")]
|
|||
//public decimal Price { get; set; }
|
|||
|
|||
//[Display(Name = "发票分组号")]
|
|||
//public string InvGroupNum { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段ReceiveDate
|
|||
///// </summary>
|
|||
//[Display(Name = "结算日期(收货日期)")]
|
|||
//public DateTime SettleDate { get; set; }
|
|||
|
|||
/// <summary>
|
|||
/// 1、JIT 2、买单件 3、备件 3、印度件
|
|||
/// </summary>
|
|||
[Display(Name = "业务类别")] |
|||
public string BusinessType { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 对应字段DeliveryNode
|
|||
/// </summary>
|
|||
//[Display(Name = "结算分组")]
|
|||
//public string GroupNum { get; set; } = null!;
|
|||
|
|||
public PUB_CAN_SA_DETAIL(string keyCode, int version, string billNum, string settleBillNum, string lU, string pN, string site, decimal qty, decimal price, string invGroupNum, DateTime settleDate, string businessType, string groupNum) |
|||
{ |
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
BillNum = billNum; |
|||
SettleBillNum = settleBillNum; |
|||
LU = lU; |
|||
PN = pN; |
|||
Site = site; |
|||
Qty = qty; |
|||
Price = price; |
|||
InvGroupNum = invGroupNum; |
|||
SettleDate = settleDate; |
|||
BusinessType = businessType; |
|||
GroupNum = groupNum; |
|||
} |
|||
|
|||
public PUB_CAN_SA_DETAIL() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,93 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
namespace SettleAccount.Domain.BQ; |
|||
|
|||
[Display(Name = "PUB不可结算导入明细")] |
|||
public class PUB_NOT_SA_DETAIL : SA_NOT_BASE |
|||
{ |
|||
//[Display(Name = "LU+生产码")]
|
|||
//public string KeyCode { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 期间
|
|||
///// </summary>
|
|||
//[Display(Name = "期间")]
|
|||
//public int Version { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 结算单号
|
|||
///// </summary>
|
|||
//[Display(Name = "结算单号")]
|
|||
//public string SettleBillNum { get; set; } = null!;
|
|||
|
|||
/// <summary>
|
|||
/// 对应字段Material
|
|||
/// </summary>
|
|||
//[Display(Name = "零件号")]
|
|||
//public string LU { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段ExternalCalNumber
|
|||
///// </summary>
|
|||
//[Display(Name = "生产码")]
|
|||
//public string PN { get; set; } = null!;
|
|||
|
|||
/// <summary>
|
|||
/// 选择工厂导入
|
|||
/// </summary>
|
|||
[Display(Name = "工厂地点")] |
|||
public string Site { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 对应字段Quantity
|
|||
/// </summary>
|
|||
//[Display(Name = "结算数量")]
|
|||
//public decimal Qty { get; set; }
|
|||
|
|||
[Display(Name = "扩展1")] |
|||
public string Extend1 { get; set; } = null!; |
|||
|
|||
[Display(Name = "扩展2")] |
|||
public string Extend2 { get; set; } = null!; |
|||
|
|||
[Display(Name = "扩展3")] |
|||
public string Extend3 { get; set; } = null!; |
|||
|
|||
//[Display(Name = "单价")]
|
|||
//public decimal Price { get; set; }
|
|||
//[Display(Name = "发票分组号")]
|
|||
//public string InvGroupNum { get; set; } = null!;
|
|||
/// <summary>
|
|||
/// 对应字段PostingDate
|
|||
/// </summary>
|
|||
//[Display(Name = "结算日期(收货日期)")]
|
|||
//public DateTime SettleDate { get; set; }
|
|||
[Display(Name = "业务分类")] |
|||
public string BusinessType { get; set; } = null!; |
|||
//[Display(Name = "结算分组")]
|
|||
//public string GroupNum { get; set; } = null!;
|
|||
|
|||
public PUB_NOT_SA_DETAIL(string keyCode, int version, string settleBillNum, string lU, string pN, string site, decimal qty, string extend1, string extend2, string extend3, decimal price, string invGroupNum, DateTime settleDate, string businessType, string groupNum) |
|||
{ |
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
SettleBillNum = settleBillNum; |
|||
LU = lU; |
|||
PN = pN; |
|||
Site = site; |
|||
Qty = qty; |
|||
Extend1 = extend1; |
|||
Extend2 = extend2; |
|||
Extend3 = extend3; |
|||
Price = price; |
|||
InvGroupNum = invGroupNum; |
|||
SettleDate = settleDate; |
|||
BusinessType = businessType; |
|||
GroupNum = groupNum; |
|||
} |
|||
|
|||
public PUB_NOT_SA_DETAIL() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,78 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
|
|||
|
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "PUB待扣减实体")] |
|||
public class PUB_PD_DETAIL :PD_BASE |
|||
{ |
|||
//[Display(Name = "LU+ASN单号")]
|
|||
//public string KeyCode { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "期间")]
|
|||
//public int Version { get; set; }
|
|||
|
|||
//[Display(Name = "结算单号")]
|
|||
//public string BillNum { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "零件号")]
|
|||
//public string LU { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "替换零件号")]
|
|||
//public string RELU { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "生产码")]
|
|||
//public string PN { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "替换生产号")]
|
|||
//public string REPN { get; set; } = null!;
|
|||
|
|||
[Display(Name = "工厂地点")] |
|||
public string Site { get; set; } = null!; |
|||
|
|||
//[Display(Name = "结算数量")]
|
|||
//public decimal Qty { get; set; }
|
|||
|
|||
//[Display(Name = "单价")]
|
|||
//public decimal Price { get; set; }
|
|||
|
|||
/// <summary>
|
|||
/// 1、JIT 2、买单件 3、备件 3、印度件
|
|||
/// </summary>
|
|||
[Display(Name = "业务类别")] |
|||
public string BusinessType { get; set; } = null!; |
|||
|
|||
//[Display(Name = "发票分组号")]
|
|||
//public string InvGroupNum { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "结算日期(收货日期)")]
|
|||
//public DateTime SettleDate { get; set; }
|
|||
|
|||
//[Display(Name = "结算分组")]
|
|||
//public string GroupNum { get; set; } = null!;
|
|||
|
|||
public PUB_PD_DETAIL(Guid guid, string keyCode, int version, string billNum, string lU, string rELU, string pN, string rEPN, string site, decimal qty, decimal price, string businessType, string invGroupNum, DateTime settleDate, string groupNum) |
|||
{ |
|||
Id = guid; |
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
BillNum = billNum; |
|||
LU = lU; |
|||
RELU = rELU; |
|||
PN = pN; |
|||
REPN = rEPN; |
|||
Site = site; |
|||
Qty = qty; |
|||
Price = price; |
|||
BusinessType = businessType; |
|||
InvGroupNum = invGroupNum; |
|||
SettleDate = settleDate; |
|||
GroupNum = groupNum; |
|||
} |
|||
|
|||
public PUB_PD_DETAIL() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,129 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "公用结算导入主表")] |
|||
public class PUB_SA : FullAuditedAggregateRoot<Guid> |
|||
{ |
|||
[Display(Name = "期间")] |
|||
public int Version { get; set; } |
|||
|
|||
[Display(Name = "结算单据")] |
|||
public string BillNum { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 1、新建 2、已有出库3、已有扣减寄售库
|
|||
/// </summary>
|
|||
[Display(Name = "状态")] |
|||
public string State { get; set; } = null!; |
|||
|
|||
public PUB_SA(Guid guid, int version, string billNum, string state) |
|||
{ |
|||
Version = version; |
|||
BillNum = billNum; |
|||
State = state; |
|||
} |
|||
|
|||
public PUB_SA() |
|||
{ |
|||
} |
|||
} |
|||
[Display(Name = "公用结算导入明细")] |
|||
public class PUB_SA_DETAIL:SA_BASE |
|||
{ |
|||
///// <summary>
|
|||
///// 对应字段(Material+External Delivery ID)
|
|||
///// </summary>
|
|||
//[Display(Name = "LU+生产码")]
|
|||
//public string KeyCode { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 版本号
|
|||
///// </summary>
|
|||
//[Display(Name = "期间")]
|
|||
//public int Version { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 结算单号
|
|||
///// </summary>
|
|||
//[Display(Name = "结算单号")]
|
|||
//public string BillNum { get; set; } = null!;
|
|||
|
|||
/// <summary>
|
|||
/// 对应字段Material
|
|||
/// </summary>
|
|||
//[Display(Name = "零件号")]
|
|||
//public string LU { get; set; } = null!;
|
|||
|
|||
///// <summary>
|
|||
///// 取值字段External Delivery ID
|
|||
///// </summary>
|
|||
//[Display(Name = "生产码")]
|
|||
//public string PN { get; set; } = null!;
|
|||
|
|||
/// <summary>
|
|||
///
|
|||
/// </summary>
|
|||
[Display(Name = "工厂地点")] |
|||
public string Site { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 对应字段Quantity
|
|||
/// </summary>
|
|||
//[Display(Name = "结算数量")]
|
|||
//public decimal Qty { get; set; }
|
|||
|
|||
///// <summary>
|
|||
///// 匹配价格表对应区间对应地点带出
|
|||
///// </summary>
|
|||
//[Display(Name = "单价")]
|
|||
//public decimal Price { get; set; }
|
|||
|
|||
|
|||
|
|||
///// <summary>
|
|||
///// 对应字段PostingDate
|
|||
///// </summary>
|
|||
//[Display(Name = "结算日期(收货日期)")]
|
|||
//public DateTime SettleDate { get; set; }
|
|||
|
|||
[Display(Name = "扩展字段1")] |
|||
public string Extend1 { get; set; } = null!; |
|||
|
|||
[Display(Name = "扩展字段2")] |
|||
public string Extend2 { get; set; } = null!; |
|||
|
|||
[Display(Name = "扩展字段3")] |
|||
public string Extend3 { get; set; } = null!; |
|||
|
|||
///// <summary>
|
|||
///// 对应字段Reference
|
|||
///// </summary>
|
|||
//[Display(Name = "结算分组")]
|
|||
//public string GroupNum { get; set; } = null!;
|
|||
|
|||
public PUB_SA_DETAIL(Guid guid, string keyCode, int version, string billNum, string lU, string pN, string site, decimal qty, decimal price, string invGroupNum, DateTime settleDate, string extend1, string extend2, string extend3, string groupNum) |
|||
{ |
|||
Id=guid; |
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
BillNum = billNum; |
|||
LU = lU; |
|||
PN = pN; |
|||
Site = site; |
|||
Qty = qty; |
|||
Price = price; |
|||
|
|||
SettleDate = settleDate; |
|||
Extend1 = extend1; |
|||
Extend2 = extend2; |
|||
Extend3 = extend3; |
|||
GroupNum = groupNum; |
|||
} |
|||
|
|||
public PUB_SA_DETAIL() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,71 @@ |
|||
using SettleAccount.Bases; |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
|
|||
|
|||
|
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
[Display(Name = "PUB发运数据")] |
|||
public class PUB_SE_DETAIL :SE_BASE |
|||
{ |
|||
//[Display(Name = "LU+生产码")]
|
|||
//public string KeyCode { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "期间")]
|
|||
//public int Version { get; set; }
|
|||
|
|||
//[Display(Name = "零件号")]
|
|||
//public string LU { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "ASN单号")]
|
|||
//public string PN { get; set; } = null!;
|
|||
|
|||
//[Display(Name = "发货数量")]
|
|||
//public decimal Qty { get; set; }
|
|||
|
|||
[Display(Name = "扩展1")] |
|||
public string Extend1 { get; set; } = null!; |
|||
|
|||
[Display(Name = "扩展2")] |
|||
public string Extend2 { get; set; } = null!; |
|||
|
|||
[Display(Name = "扩展3")] |
|||
public string Extend3 { get; set; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 1、JIT 2、买单件 3、备件 3、印度件
|
|||
/// </summary>
|
|||
[Display(Name = "业务分类")] |
|||
public string BusinessType { get; set; } = null!; |
|||
|
|||
[Display(Name = "订单时间")] |
|||
public DateTime BeginDate { get; set; } |
|||
|
|||
//[Display(Name = "发货时间")]
|
|||
//public DateTime ShippingDate { get; set; }
|
|||
|
|||
//[Display(Name = "Wms发货单号")]
|
|||
//public string WmsBillNum { get; set; } = null!;
|
|||
|
|||
public PUB_SE_DETAIL(Guid guid, string keyCode, int version, string lU, string pN, decimal qty, string extend1, string extend2, string extend3, string businessType, DateTime beginDate, DateTime shippingDate, string wmsBillNum) |
|||
{ |
|||
Id=guid; |
|||
KeyCode = keyCode; |
|||
Version = version; |
|||
LU = lU; |
|||
PN = pN; |
|||
Qty = qty; |
|||
Extend1 = extend1; |
|||
Extend2 = extend2; |
|||
Extend3 = extend3; |
|||
BusinessType = businessType; |
|||
BeginDate = beginDate; |
|||
ShippingDate = shippingDate; |
|||
WmsBillNum = wmsBillNum; |
|||
} |
|||
|
|||
public PUB_SE_DETAIL() |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,11 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
|
|||
|
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
|
|||
[Display(Name = "采购价格单")] |
|||
|
|||
public class PURCHASE_PRICE |
|||
{ |
|||
} |
@ -0,0 +1,35 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
|
|||
|
|||
|
|||
namespace SettleAccount.Domain.BQ; |
|||
|
|||
|
|||
[Display(Name = "客户替换件关系")] |
|||
public class TB_RePartsRelationship |
|||
{ |
|||
/// <summary>
|
|||
/// 取值字段【零件号】
|
|||
/// </summary>
|
|||
[Display(Name = "零件号")] |
|||
public string LU { set; get; } = null!; |
|||
|
|||
/// <summary>
|
|||
/// 取值字段【替换零件号】
|
|||
/// </summary>
|
|||
[Display(Name = "替换零件号")] |
|||
public string RepLU { set; get; } = null!; |
|||
|
|||
[Display(Name = "客户编码")] |
|||
public string ClientCode { set; get; } = null!; |
|||
[Display(Name = "业务类型")] |
|||
public string BusinessType { set; get; } = null!; |
|||
|
|||
public TB_RePartsRelationship(string lU, string repLU, string clientCode, string businessType) |
|||
{ |
|||
LU = lU; |
|||
RepLU = repLU; |
|||
ClientCode = clientCode; |
|||
BusinessType = businessType; |
|||
} |
|||
} |
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
@ -0,0 +1,119 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Data; |
|||
using System.Data.Common; |
|||
using System.Data.SqlClient; |
|||
using System.Linq; |
|||
using System.Threading; |
|||
using System.Threading.Tasks; |
|||
using Microsoft.EntityFrameworkCore; |
|||
using Microsoft.EntityFrameworkCore.Storage; |
|||
using Volo.Abp.DependencyInjection; |
|||
using Volo.Abp.Domain.Entities; |
|||
using Volo.Abp.EntityFrameworkCore; |
|||
using Win.Sfs.Shared; |
|||
using Win.Sfs.Shared.DomainBase; |
|||
using Win.Sfs.Shared.Filter; |
|||
using Win.Sfs.Shared.RepositoryBase; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Repository |
|||
{ |
|||
public class SettleAccountBQEfCoreRepository<TEntity, TKey> : |
|||
SettleAccountEfCoreRepository<TEntity, TKey>, |
|||
ISettleAccountBQEfCoreRepository<TEntity, TKey>, |
|||
ITransientDependency |
|||
where TEntity : class, IBranch<TKey>, IEntity<TKey> |
|||
{ |
|||
|
|||
private readonly IDbContextProvider<SettleAccountDbContext> _dbContextProvider; |
|||
|
|||
|
|||
|
|||
public SettleAccountBQEfCoreRepository(IDbContextProvider<SettleAccountDbContext> dbContextProvider) : |
|||
base(dbContextProvider) |
|||
{ |
|||
|
|||
_dbContextProvider = dbContextProvider; |
|||
|
|||
} |
|||
public SettleAccountBQEfCoreRepository() : base(null) |
|||
{ |
|||
|
|||
} |
|||
|
|||
public DbCommand CreateCommand(string commandText, CommandType commandType, params DbParameter[] parameters) |
|||
{ |
|||
var command = DbContext.Database.GetDbConnection().CreateCommand(); |
|||
|
|||
command.CommandText = commandText; |
|||
command.CommandType = commandType; |
|||
command.Transaction = DbContext.Database.CurrentTransaction?.GetDbTransaction(); |
|||
|
|||
foreach (var parameter in parameters) |
|||
{ |
|||
command.Parameters.Add(parameter); |
|||
} |
|||
|
|||
return command; |
|||
} |
|||
|
|||
public async Task EnsureConnectionOpenAsync(CancellationToken cancellationToken = default) |
|||
{ |
|||
var connection = DbContext.Database.GetDbConnection(); |
|||
|
|||
if (connection.State != ConnectionState.Open) |
|||
{ |
|||
await connection.OpenAsync(cancellationToken); |
|||
} |
|||
} |
|||
public virtual async Task<List<TEntity>> GetAllAsync( bool includeDetails = false, |
|||
CancellationToken cancellationToken = default) |
|||
{ |
|||
var query = includeDetails ? this.WithDetails() : this.GetQueryable(); |
|||
|
|||
//query = query.Where(p => p.BranchId.Equals(branchId));
|
|||
|
|||
return await query.ToListAsync(cancellationToken: cancellationToken); |
|||
} |
|||
|
|||
public virtual async Task<long> GetCountAsync(CancellationToken cancellationToken = default) |
|||
{ |
|||
return await this.GetQueryable() |
|||
//.Where(p => p.BranchId.Equals(branchId))
|
|||
.LongCountAsync(GetCancellationToken(cancellationToken)); |
|||
|
|||
} |
|||
|
|||
public virtual async Task<long> GetCountByFilterAsync( List<FilterCondition> filters, |
|||
CancellationToken cancellationToken = default) |
|||
{ |
|||
return await this.GetQueryable() |
|||
//.Where(p => p.BranchId.Equals(branchId))
|
|||
.WhereIf(filters?.Count != 0, filters.ToLambda<TEntity>()) |
|||
.LongCountAsync(GetCancellationToken(cancellationToken)); |
|||
} |
|||
|
|||
public virtual async Task<List<TEntity>> GetListByFilterAsync( List<FilterCondition> filters, |
|||
string sorting = null, |
|||
int maxResultCount = int.MaxValue, int skipCount = 0, bool includeDetails = false, |
|||
CancellationToken cancellationToken = default) |
|||
{ |
|||
var query = includeDetails ? this.WithDetails() : this.GetQueryable(); |
|||
// query = query.Where(p => p.BranchId.Equals(branchId));
|
|||
var entities = query.WhereIf(filters?.Count != 0, filters.ToLambda<TEntity>()); |
|||
//2021-07-02 设置sorting首字母大小,因设置了驼峰规则,不匹配“ var memberProp = typeof(T).GetProperty(propertyName);”反射
|
|||
if(!string.IsNullOrEmpty(sorting)) |
|||
{ |
|||
sorting = sorting.Substring(0, 1).ToUpper() + sorting.Substring(1); |
|||
} |
|||
entities = GetSortingQueryable(entities, sorting); |
|||
return await entities.PageBy(skipCount, maxResultCount) |
|||
.ToListAsync(GetCancellationToken(cancellationToken)); |
|||
|
|||
|
|||
} |
|||
|
|||
} |
|||
|
|||
|
|||
} |
@ -0,0 +1,48 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Http; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using Microsoft.Extensions.Logging; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
using WTA.Shared.Data; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
public class BBAC_CAN_SAController : GenericController<BBAC_CAN_SA, BBAC_CAN_SA, BBAC_CAN_SA, BBAC_CAN_SA, BBAC_CAN_SA, BBAC_CAN_SA> |
|||
{ |
|||
public BBAC_CAN_SAController(ILogger<BBAC_CAN_SA> logger, IRepository<BBAC_CAN_SA> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Create([FromBody] BBAC_CAN_SA model) |
|||
{ |
|||
return base.Create(model); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return base.Delete(guids); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Export([FromBody] PaginationModel<BBAC_CAN_SA, BBAC_CAN_SA> model, bool includeAll = false, bool includeDeleted = false) |
|||
{ |
|||
return base.Export(model, includeAll, includeDeleted); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
|||
{ |
|||
return base.Import(file, partial, replace); |
|||
} |
|||
|
|||
[Multiple, Display(Name = "生成发票数据")] |
|||
public IActionResult? GenerateInvoice() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
@ -0,0 +1,41 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Http; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using Microsoft.Extensions.Logging; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Controllers; |
|||
using WTA.Shared.Data; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
public class BBAC_CAN_SA_DETAILController : GenericController<BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_DETAIL> |
|||
{ |
|||
public BBAC_CAN_SA_DETAILController(ILogger<BBAC_CAN_SA_DETAIL> logger, IRepository<BBAC_CAN_SA_DETAIL> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Create([FromBody] BBAC_CAN_SA_DETAIL model) |
|||
{ |
|||
return base.Create(model); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return base.Delete(guids); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Export([FromBody] PaginationModel<BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
|||
{ |
|||
return base.Export(model, includeAll, includeDeleted); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
|||
{ |
|||
return base.Import(file, partial, replace); |
|||
} |
|||
} |
@ -0,0 +1,48 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Http; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using Microsoft.Extensions.Logging; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
using WTA.Shared.Data; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
public class BBAC_NOT_SA_DETAILController : GenericController<BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_DETAIL> |
|||
{ |
|||
public BBAC_NOT_SA_DETAILController(ILogger<BBAC_NOT_SA_DETAIL> logger, IRepository<BBAC_NOT_SA_DETAIL> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Create([FromBody] BBAC_NOT_SA_DETAIL model) |
|||
{ |
|||
return base.Create(model); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return base.Delete(guids); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Export([FromBody] PaginationModel<BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
|||
{ |
|||
return base.Export(model, includeAll, includeDeleted); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
|||
{ |
|||
return base.Import(file, partial, replace); |
|||
} |
|||
|
|||
[Multiple, Display(Name = "生成可结算单")] |
|||
public IActionResult? GenerateSettlementOrder() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
@ -0,0 +1,47 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Http; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using Microsoft.Extensions.Logging; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
using WTA.Shared.Data; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
public class BBAC_PD_DETAILController : GenericController<BBAC_PD_DETAIL, BBAC_PD_DETAIL, BBAC_PD_DETAIL, BBAC_PD_DETAIL, BBAC_PD_DETAIL, BBAC_PD_DETAIL> |
|||
{ |
|||
public BBAC_PD_DETAILController(ILogger<BBAC_PD_DETAIL> logger, IRepository<BBAC_PD_DETAIL> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Create([FromBody] BBAC_PD_DETAIL model) |
|||
{ |
|||
return base.Create(model); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return base.Delete(guids); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
|||
{ |
|||
return base.Import(file, partial, replace); |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "审核通过"), Multiple] |
|||
public IActionResult? ApprovalPassed() |
|||
{ |
|||
return null; |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "退回"), Multiple] |
|||
public IActionResult? Reject() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
@ -0,0 +1,60 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Http; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using Microsoft.Extensions.Logging; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
using WTA.Shared.Data; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
public class BBAC_SE_REPORTController : GenericController<BBAC_SE_REPORT, BBAC_SE_REPORT, BBAC_SE_REPORT, BBAC_SE_REPORT, BBAC_SE_REPORT, BBAC_SE_REPORT> |
|||
{ |
|||
public BBAC_SE_REPORTController(ILogger<BBAC_SE_REPORT> logger, IRepository<BBAC_SE_REPORT> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Create([FromBody] BBAC_SE_REPORT model) |
|||
{ |
|||
return base.Create(model); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return base.Delete(guids); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Export([FromBody] PaginationModel<BBAC_SE_REPORT, BBAC_SE_REPORT> model, bool includeAll = false, bool includeDeleted = false) |
|||
{ |
|||
return base.Export(model, includeAll, includeDeleted); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
|||
{ |
|||
return base.Import(file, partial, replace); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Update([FromBody] BBAC_SE_REPORT model) |
|||
{ |
|||
return base.Update(model); |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "生成比对"), Multiple] |
|||
public IActionResult? ExportEDIJob() |
|||
{ |
|||
return null; |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "下载")] |
|||
public IActionResult? DownloadAsync() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
@ -0,0 +1,57 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class BJ_JIT_SE_SA_REPORTController : BaseController, IResourceService<BJ_JIT_SE_SA_REPORT> |
|||
{ |
|||
private readonly GenericController<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> _genericController; |
|||
|
|||
public BJ_JIT_SE_SA_REPORTController(GenericController<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
|||
public virtual IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return this._genericController.Delete(guids); |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "下载")] |
|||
public virtual IActionResult? DownloadAsync() |
|||
{ |
|||
return null; |
|||
} |
|||
|
|||
[HttpPost, Display(Name = "生成对比"), Multiple] |
|||
public virtual IActionResult? Comparison() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
|||
|
|||
[Order(2)] |
|||
[Display(Name = "发运与结算二次比对")] |
|||
[BJDataComparisonGroup] |
|||
public class BJ_JIT_SE_SA_REPORT : IResource |
|||
{ |
|||
} |
@ -0,0 +1,45 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class BJ_PUB_CAN_SAController : BaseController, IResourceService<BJ_PUB_CAN_SA> |
|||
{ |
|||
private readonly GenericController<PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA> _genericController; |
|||
|
|||
public BJ_PUB_CAN_SAController(GenericController<PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_CAN_SA, PUB_CAN_SA> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Display(Name = "生成发票数据")] |
|||
public virtual IActionResult? GenerateInvoice() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
|||
|
|||
[Order(1)] |
|||
[BJSettlementInvoicingGroup] |
|||
[Display(Name = "可结算单")] |
|||
public class BJ_PUB_CAN_SA : IResource |
|||
{ |
|||
} |
@ -0,0 +1,39 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class BJ_PUB_CAN_SA_DETAILController : BaseController, IResourceService<BJ_PUB_CAN_SA_DETAIL> |
|||
{ |
|||
private readonly GenericController<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> _genericController; |
|||
|
|||
public BJ_PUB_CAN_SA_DETAILController(GenericController<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
} |
|||
|
|||
[Hidden] |
|||
[Display(Name = "可结算单明细")] |
|||
[BJSettlementInvoicingGroup] |
|||
public class BJ_PUB_CAN_SA_DETAIL : IResource |
|||
{ |
|||
} |
@ -0,0 +1,45 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class BJ_PUB_NOT_SA_DETAILController : BaseController, IResourceService<BJ_PUB_NOT_SA_DETAIL> |
|||
{ |
|||
private readonly GenericController<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> _genericController; |
|||
|
|||
public BJ_PUB_NOT_SA_DETAILController(GenericController<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Display(Name = "生成可结算单")] |
|||
public virtual IActionResult? GenerateSettlementOrder() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
|||
|
|||
[Order(2)] |
|||
[Display(Name = "不可结算单")] |
|||
[BJSettlementInvoicingGroup] |
|||
public class BJ_PUB_NOT_SA_DETAIL : IResource |
|||
{ |
|||
} |
@ -0,0 +1,50 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class BJ_PUB_PD_DETAILController : BaseController, IResourceService<BJ_PUB_PD_DETAIL> |
|||
{ |
|||
private readonly GenericController<PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL> _genericController; |
|||
|
|||
public BJ_PUB_PD_DETAILController(GenericController<PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_PD_DETAIL, PUB_PD_DETAIL> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
|||
public virtual IActionResult Export([FromBody] PaginationModel<PUB_PD_DETAIL, PUB_PD_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
|||
{ |
|||
return this._genericController.Export(model, includeAll, includeDeleted); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Display(Name = "审核通过")] |
|||
public virtual IActionResult? ApprovalPassed() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
|||
|
|||
[Order(4)] |
|||
[Display(Name = "寄售库库存扣减审批")] |
|||
[BJSettlementInvoicingGroup] |
|||
public class BJ_PUB_PD_DETAIL : IResource |
|||
{ } |
@ -0,0 +1,60 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Authorization; |
|||
using Microsoft.AspNetCore.Http; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class BJ_PUB_SAController : BaseController, IResourceService<BJ_PUB_SA> |
|||
{ |
|||
private readonly GenericController<PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA> _genericController; |
|||
|
|||
public BJ_PUB_SAController(GenericController<PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SA, PUB_SA> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
|||
public virtual IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return this._genericController.Delete(guids); |
|||
} |
|||
|
|||
[HttpGet, AllowAnonymous, Multiple, Order(-2), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Import() |
|||
{ |
|||
return this._genericController.Import(); |
|||
} |
|||
|
|||
[Consumes("multipart/form-data")] |
|||
[HttpPost, Multiple, Order(-2), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
|||
{ |
|||
return this._genericController.Import(file, partial, replace); |
|||
} |
|||
} |
|||
|
|||
[Order(1)] |
|||
[BJDataInputGroup] |
|||
[Display(Name = "结算数据")] |
|||
public class BJ_PUB_SA : IResource |
|||
{ |
|||
} |
@ -0,0 +1,46 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using DocumentFormat.OpenXml.Wordprocessing; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class BJ_PUB_SA_DETAILController : BaseController, IResourceService<BJ_PUB_SA_DETAIL> |
|||
{ |
|||
private readonly GenericController<PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL> _genericController; |
|||
|
|||
public BJ_PUB_SA_DETAILController(GenericController<PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SA_DETAIL, PUB_SA_DETAIL> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
|||
public virtual IActionResult Export([FromBody] PaginationModel<PUB_SA_DETAIL, PUB_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
|||
{ |
|||
return this._genericController.Export(model, includeAll, includeDeleted); |
|||
} |
|||
} |
|||
|
|||
[Hidden] |
|||
[Display(Name = "结算数据明细")] |
|||
[BJDataInputGroup] |
|||
public class BJ_PUB_SA_DETAIL : IResource |
|||
{ |
|||
} |
@ -0,0 +1,52 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
using RouteAttribute = Microsoft.AspNetCore.Mvc.RouteAttribute; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
[Route("api/{culture=zh}/[controller]/[action]")]
|
|||
public class BJ_PUB_SE_DETAILController : BaseController, IResourceService<BJ_PUB_SE_DETAIL> |
|||
{ |
|||
private readonly GenericController<PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL> _genericController; |
|||
|
|||
public BJ_PUB_SE_DETAILController(GenericController<PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL> genericController) |
|||
{ |
|||
this._genericController = genericController; |
|||
} |
|||
|
|||
[HttpGet] |
|||
public virtual IActionResult Index() |
|||
{ |
|||
return this._genericController.Index(); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
|||
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SE_DETAIL, PUB_SE_DETAIL> model) |
|||
{ |
|||
return this._genericController.Index(model); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
|||
public virtual IActionResult Export([FromBody] PaginationModel<PUB_SE_DETAIL, PUB_SE_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
|||
{ |
|||
return this._genericController.Export(model, includeAll, includeDeleted); |
|||
} |
|||
|
|||
[HttpPost, Multiple, Display(Name = "同步")] |
|||
public virtual IActionResult? Synchronous() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
|||
|
|||
[Order(2)] |
|||
[BJDataInputGroup] |
|||
[Display(Name = "发运数据")] |
|||
public class BJ_PUB_SE_DETAIL : IResource |
|||
{ |
|||
} |
@ -0,0 +1,34 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Http; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using Microsoft.Extensions.Logging; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Shared.Controllers; |
|||
using WTA.Shared.Data; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
public class CentralizedControlController : GenericController<CentralizedControl, CentralizedControl, CentralizedControl, CentralizedControl, CentralizedControl, CentralizedControl> |
|||
{ |
|||
public CentralizedControlController(ILogger<CentralizedControl> logger, IRepository<CentralizedControl> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
|||
{ |
|||
return base.Import(file, partial, replace); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Create([FromBody] CentralizedControl model) |
|||
{ |
|||
return base.Create(model); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return base.Delete(guids); |
|||
} |
|||
} |
@ -0,0 +1,48 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Http; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using Microsoft.Extensions.Logging; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
using WTA.Shared.Data; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
public class HBPO_CAN_SAController : GenericController<HBPO_CAN_SA, HBPO_CAN_SA, HBPO_CAN_SA, HBPO_CAN_SA, HBPO_CAN_SA, HBPO_CAN_SA> |
|||
{ |
|||
public HBPO_CAN_SAController(ILogger<HBPO_CAN_SA> logger, IRepository<HBPO_CAN_SA> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Create([FromBody] HBPO_CAN_SA model) |
|||
{ |
|||
return base.Create(model); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return base.Delete(guids); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Export([FromBody] PaginationModel<HBPO_CAN_SA, HBPO_CAN_SA> model, bool includeAll = false, bool includeDeleted = false) |
|||
{ |
|||
return base.Export(model, includeAll, includeDeleted); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
|||
{ |
|||
return base.Import(file, partial, replace); |
|||
} |
|||
|
|||
[Multiple, Display(Name = "生成发票数据")] |
|||
public IActionResult? GenerateInvoice() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
@ -0,0 +1,41 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Http; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using Microsoft.Extensions.Logging; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Controllers; |
|||
using WTA.Shared.Data; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
public class HBPO_CAN_SA_DETAILController : GenericController<HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_DETAIL> |
|||
{ |
|||
public HBPO_CAN_SA_DETAILController(ILogger<HBPO_CAN_SA_DETAIL> logger, IRepository<HBPO_CAN_SA_DETAIL> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Create([FromBody] HBPO_CAN_SA_DETAIL model) |
|||
{ |
|||
return base.Create(model); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return base.Delete(guids); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Export([FromBody] PaginationModel<HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
|||
{ |
|||
return base.Export(model, includeAll, includeDeleted); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
|||
{ |
|||
return base.Import(file, partial, replace); |
|||
} |
|||
} |
@ -0,0 +1,48 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Http; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using Microsoft.Extensions.Logging; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Shared.Application; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
using WTA.Shared.Data; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
public class HBPO_NOT_SA_DETAILController : GenericController<HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_DETAIL> |
|||
{ |
|||
public HBPO_NOT_SA_DETAILController(ILogger<HBPO_NOT_SA_DETAIL> logger, IRepository<HBPO_NOT_SA_DETAIL> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Create([FromBody] HBPO_NOT_SA_DETAIL model) |
|||
{ |
|||
return base.Create(model); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return base.Delete(guids); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Export([FromBody] PaginationModel<HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
|||
{ |
|||
return base.Export(model, includeAll, includeDeleted); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
|||
{ |
|||
return base.Import(file, partial, replace); |
|||
} |
|||
|
|||
[Multiple, Display(Name = "生成可结算单")] |
|||
public IActionResult? GenerateSettlementOrder() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
@ -0,0 +1,47 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Microsoft.AspNetCore.Http; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using Microsoft.Extensions.Logging; |
|||
using WTA.Application.Identity.Entities.SystemManagement; |
|||
using WTA.Shared.Attributes; |
|||
using WTA.Shared.Controllers; |
|||
using WTA.Shared.Data; |
|||
|
|||
namespace WTA.Application.Identity.Controllers; |
|||
|
|||
public class HBPO_PD_DETAILController : GenericController<HBPO_PD_DETAIL, HBPO_PD_DETAIL, HBPO_PD_DETAIL, HBPO_PD_DETAIL, HBPO_PD_DETAIL, HBPO_PD_DETAIL> |
|||
{ |
|||
public HBPO_PD_DETAILController(ILogger<HBPO_PD_DETAIL> logger, IRepository<HBPO_PD_DETAIL> repository) : base(logger, repository) |
|||
{ |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Create([FromBody] HBPO_PD_DETAIL model) |
|||
{ |
|||
return base.Create(model); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Delete([FromBody] Guid[] guids) |
|||
{ |
|||
return base.Delete(guids); |
|||
} |
|||
|
|||
[NonAction] |
|||
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
|||
{ |
|||
return base.Import(file, partial, replace); |
|||
} |
|||
|
|||
[Display(Name = "审核通过"), Multiple, HttpPost] |
|||
public IActionResult? ApprovalPassed() |
|||
{ |
|||
return null; |
|||
} |
|||
|
|||
[Display(Name = "退回"), Multiple, HttpPost] |
|||
public IActionResult? Reject() |
|||
{ |
|||
return null; |
|||
} |
|||
} |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue