using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using AutoMapper;
|
using SqlSugar;
|
using WIDESEAWCS_Core;
|
using WIDESEAWCS_Core.BaseRepository;
|
using WIDESEAWCS_Core.BaseServices;
|
using WIDESEAWCS_ISystemServices;
|
using WIDESEAWCS_Model.Models;
|
using WIDESEAWCS_Model.Models.System;
|
|
namespace WIDESEAWCS_SystemServices
|
{
|
public class dt_WeightHtyService : ServiceBase<dt_Weight_hty, IRepository<dt_Weight_hty>>, Idt_WeightHtyService
|
{
|
public dt_WeightHtyService(IRepository<dt_Weight_hty> BaseDal) : base(BaseDal)
|
{
|
}
|
|
public IRepository<dt_Weight_hty> Repository => BaseDal;
|
|
public WebResponseContent alldelete()
|
{
|
List<dt_Weight_hty> weights = BaseDal.QueryData();
|
BaseDal.DeleteData(weights);
|
WebResponseContent w = new WebResponseContent();
|
return w;
|
}
|
|
}
|
}
|