巨石化纤

19 lines
606 B

1 year ago
using SSWMS.Common;
using System.Collections.Generic;
namespace SSWMS.Server
{
public class P_IO_CONTROL_APPLY : P_Base_House<IO_CONTROL_APPLY>
{
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<IO_CONTROL_APPLY> GetListByStatus(int iApplyTaskStatus)
{
return this._sqlMap.QueryForList<IO_CONTROL_APPLY>("IO_CONTROL_APPLY_SELECT_BY_STATUS", iApplyTaskStatus);
}
}
}