Zhang-Hong-Lin
5 天以前 232cdf071bfe3bd2b77ba05accba89b67fcc1edc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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;
        }
 
    }
}