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.

33 lines
952 B

8 months ago
using HybirdFrameworkCore.Autofac.Attribute;
using HybirdFrameworkEntity.DbModel;
9 months ago
using HybirdFrameworkRepository.System;
using HybirdFrameworkRepository.UnitOfWork;
8 months ago
9 months ago
namespace HybirdFrameworkServices.System
{
8 months ago
[Scope("SingleInstance")]
9 months ago
public class SysBatteryReplaceLogServices : BaseServices<sysBatteryReplaceLog>
{
SysBatteryReplaceLogRepository _dal;
public SysBatteryReplaceLogServices(SysBatteryReplaceLogRepository dal)
{
this._dal = dal;
base.BaseDal = dal;
}
public bool AddReplaceOrser(sysBatteryReplaceLog _sysBatteryReplaceLog)
{
bool result = false;
if (_sysBatteryReplaceLog != null)
{
int resuklt = _dal.Insert(_sysBatteryReplaceLog);
if (resuklt > 0)
{
result = true;
}
}
return result;
}
}
}