49 lines
1.7 KiB
C#
49 lines
1.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using SuperMap.RealEstate.ServiceModel;
|
|
using Business = SuperMap.RealEstate.FrameWork.Test.Business;
|
|
using HCC = HZQR.Common.Common;
|
|
using HZQR.Common;
|
|
|
|
namespace EShang.Common.AutoBuild
|
|
{
|
|
/// <summary>
|
|
/// 交易流水明细表相关方法
|
|
/// 2023/7/13 11:47:31自动生成
|
|
/// </summary>
|
|
public class YSSELLDETAILSHelper
|
|
{
|
|
#region 同步交易流水明细表
|
|
/// <summary>
|
|
/// 赋值交易流水明细表数据对象
|
|
/// </summary>
|
|
/// <param name="transaction">事务管理器</param>
|
|
/// <param name="YsselldetailsModel">交易流水明细表数据对象</param>
|
|
public static bool SynchroYSSELLDETAILS(Transaction transaction, ysselldetailsModel YsselldetailsModel)
|
|
{
|
|
bool SynchroFlag = true;
|
|
|
|
string SQLString;
|
|
List<string> excludeField = new List<string>();
|
|
Dictionary<string, string> dateFieldList = new Dictionary<string, string>();
|
|
string tableName = "HIGHWAY_SELLDATA.T_YSSELLDETAILS", keyField = "SELLMASTER_CODE", seqName = "SEQ_YSSELLDETAILS";
|
|
Business.TEST _TEST = new Business.TEST(transaction);
|
|
|
|
#region 添加SQL语句中需要排除在外的字段
|
|
#endregion
|
|
|
|
#region 添加SQL语句中日期相关字段的执行语句
|
|
#endregion
|
|
|
|
SQLString = OperationDataHelper<ysselldetailsModel>.GetTableExcuteSQL(
|
|
YsselldetailsModel, 0, tableName, keyField, seqName, dateFieldList, excludeField);
|
|
|
|
_TEST.ExecuteNonQuery(SQLString, null);
|
|
|
|
return SynchroFlag;
|
|
}
|
|
#endregion
|
|
}
|
|
}
|