using WIDESEA_Core;
|
using WIDESEA_Core.BaseRepository;
|
using WIDESEA_Core.BaseServices;
|
using WIDESEA_IRepository;
|
using WIDESEA_IServices;
|
using WIDESEA_Model.Models;
|
|
namespace WIDESEA_Services
|
{
|
public class Dt_OutOrderProductionService : ServiceBase<Dt_OutOrderProduction, IDt_OutOrderProductionRepository>, IDt_OutOrderProductionService
|
{
|
private readonly IUnitOfWorkManage _unitOfWorkManage;
|
|
public Dt_OutOrderProductionService(IDt_OutOrderProductionRepository BaseDal, IUnitOfWorkManage unitOfWorkManage) : base(BaseDal)
|
{
|
_unitOfWorkManage = unitOfWorkManage;
|
}
|
|
/// <summary>
|
/// 插入数据返回主键
|
/// </summary>
|
/// <param name="production">实体数据</param>
|
/// <returns>主键ID</returns>
|
public int AddOrderProduction(Dt_OutOrderProduction production)
|
{
|
return BaseDal.AddData(production);
|
}
|
}
|
}
|