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
513 B
18 lines
513 B
using SSWMS.Common;
|
|
|
|
namespace SSWMS.Server
|
|
{
|
|
public class P_SYS_CONFIG : P_Base_House<SYS_CONFIG>
|
|
{
|
|
public SYS_CONFIG GetModelByConfigCode(string sConfigCode)
|
|
{
|
|
return this._sqlMap.QueryForObject<SYS_CONFIG>("SYS_CONFIG_SELECT_BY_CONFIG_CODE", sConfigCode);
|
|
}
|
|
|
|
public string GetConfigValue(string sConfigCode)
|
|
{
|
|
SYS_CONFIG sc = GetModelByConfigCode(sConfigCode);
|
|
return sc == null ? null : sc.CONFIG_VALUE;
|
|
}
|
|
}
|
|
}
|