1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user