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.

29 lines
700 B

5 months ago
using Entity.DbModel;
using HybirdFrameworkCore.Autofac.Attribute;
using Repository.System;
7 months ago
5 months ago
namespace Service.System;
7 months ago
5 months ago
[Scope("SingleInstance")]
public class SysBatteryReplaceLogServices : BaseServices<sysBatteryReplaceLog>
7 months ago
{
5 months ago
private readonly SysBatteryReplaceLogRepository _dal;
public SysBatteryReplaceLogServices(SysBatteryReplaceLogRepository dal)
7 months ago
{
5 months ago
_dal = dal;
BaseDal = dal;
}
public bool AddReplaceOrser(sysBatteryReplaceLog _sysBatteryReplaceLog)
{
var result = false;
if (_sysBatteryReplaceLog != null)
7 months ago
{
_dal.Insert(_sysBatteryReplaceLog);
result = true;
7 months ago
}
5 months ago
return result;
7 months ago
}
5 months ago
}