You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
606 B
18 lines
606 B
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);
|
|
}
|
|
}
|
|
}
|