123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- using AutoMapper;
- using OASystem.Domain;
- using OASystem.Domain.Entities.System;
- using OASystem.Domain.ViewModels.System;
- using StackExchange.Redis;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OASystem.Infrastructure.Repositories.System
- {
- public class UsersRepository : BaseRepository<UserInfo, JsonView>
- {
- private readonly IMapper _mapper;
- public UsersRepository(SqlSugarClient sqlSugar, IMapper mapper) : base(sqlSugar)
- {
- _mapper = mapper;
- }
-
-
-
-
-
- public async Task<Result> GetUserList(int portType,string sqlWhere)
- {
- Result result = new Result() { Code = -2 };
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- if (portType == 1)
- {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- }
- else if (portType == 2)
- {
-
-
-
-
-
-
-
-
-
-
-
- }
- else if (portType == 3)
- {
- }
- else
- {
- result.Msg = "暂无数据!";
- }
-
- return result;
- }
- }
- }
|