using iWareLog.ORM;
|
using iWareLog.LOG.Entity;
|
using iWareLog.LOG.Dao;
|
using iWareCommon.Common.Service;
|
|
namespace iWareLog.LOG.Service
|
{
|
public class InOutStorageDetailService : CommonService<InOutStorageDetailEntity, InOutStorageDetail, DbModelLog>
|
{
|
private static object Lock = new object();
|
|
private InOutStorageDetailService() : base(InOutStorageDetailDao.GetInstance()) { }
|
|
private static InOutStorageDetailService Instance = null;
|
|
/// <summary>
|
/// 获取单例的方法
|
/// </summary>
|
/// <returns>log服务的单例实体</returns>
|
public static InOutStorageDetailService GetInstance()
|
{
|
|
if (Instance == null)
|
{
|
lock (Lock)
|
{
|
if (Instance == null)
|
{
|
Instance = new InOutStorageDetailService();
|
}
|
}
|
}
|
return Instance;
|
}
|
}
|
}
|