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 { /// /// 交易流水明细表相关方法 /// 2023/7/13 11:47:31自动生成 /// public class YSSELLDETAILSHelper { #region 同步交易流水明细表 /// /// 赋值交易流水明细表数据对象 /// /// 事务管理器 /// 交易流水明细表数据对象 public static bool SynchroYSSELLDETAILS(Transaction transaction, ysselldetailsModel YsselldetailsModel) { bool SynchroFlag = true; string SQLString; List excludeField = new List(); Dictionary dateFieldList = new Dictionary(); 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.GetTableExcuteSQL( YsselldetailsModel, 0, tableName, keyField, seqName, dateFieldList, excludeField); _TEST.ExecuteNonQuery(SQLString, null); return SynchroFlag; } #endregion } }