This commit is contained in:
liqionghai
2025-07-15 18:38:45 +08:00
parent b6aee23267
commit e8da4d5199
41 changed files with 214 additions and 1330 deletions

View File

@@ -93,6 +93,8 @@ namespace Pilot.Report.Exploitation.AccountsReceivableStatements
header.AddChild("IsEnded", new LocaleValue("是否已完结"), SqlStorageType.Sqlvarchar);
header.AddChild("FSalerId", new LocaleValue("销售员"), SqlStorageType.Sqlvarchar);
header.AddChild("Remark", new LocaleValue("备注"), SqlStorageType.Sqlvarchar);
header.AddChild("K3专票金额", new LocaleValue("K3专票金额"), SqlStorageType.SqlDecimal);
header.AddChild("K3普票金额", new LocaleValue("K3普票金额"), SqlStorageType.SqlDecimal);
foreach (var item in header.GetChilds())
{

View File

@@ -12,6 +12,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Data;
using Kingdee.BOS.Core.Enums;
using Kingdee.BOS.Log;
namespace Pilot.Report.Exploitation.AccountsReceivableStatements
{
@@ -102,6 +103,8 @@ namespace Pilot.Report.Exploitation.AccountsReceivableStatements
header.AddChild("IsEnded", new LocaleValue("是否已完结"), SqlStorageType.Sqlvarchar);
header.AddChild("FSalerId", new LocaleValue("销售员"), SqlStorageType.Sqlvarchar);
header.AddChild("Remark", new LocaleValue("备注"), SqlStorageType.Sqlvarchar);
header.AddChild("K3专票金额", new LocaleValue("K3专票金额"), SqlStorageType.SqlDecimal);
header.AddChild("K3普票金额", new LocaleValue("K3普票金额"), SqlStorageType.SqlDecimal);
foreach (var item in header.GetChilds())
{
@@ -197,6 +200,7 @@ namespace Pilot.Report.Exploitation.AccountsReceivableStatements
{
sql += string.Format("AND FID IN (SELECT FID FROM YingShouZhanKuanMX_GZTH WHERE IsEnded = '未完结')");
}
Logger.Error("sql脚本", sql, new Exception());
DBUtils.Execute(this.Context, sql);
}