using SSWMS.Common; using System.Collections.Generic; namespace SSWMS.Server { public class P_IO_CONTROL_APPLY : P_Base_House { public int AddHistory(IO_CONTROL_APPLY ica) { return this._sqlMap.Insert("IO_CONTROL_APPLY_HIS_INSERT_" + (AppSettings.IsOracleDatabase ? "ORACLE" : "SQLSERVER"), ica) == null ? 0 : 1; } public IList GetListByStatus(int iApplyTaskStatus) { return this._sqlMap.QueryForList("IO_CONTROL_APPLY_SELECT_BY_STATUS", iApplyTaskStatus); } } }