yanjinhui
2025-03-19 1067a1298d2d12c217dd94997b6820d879ae5400
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_Core;
using WIDESEAWCS_Core.BaseServices;
using WIDESEAWCS_DTO.SerialPort;
using WIDESEAWCS_Model;
using WIDESEAWCS_Model.Models;
 
namespace WIDESEAWCS_ISystemServices
{
    public interface ISys_UserService : IService<Sys_User>
    {
        WebResponseContent Login(LoginInfo loginInfo);
 
        WebResponseContent GetCurrentUserInfo();
 
        WebResponseContent ModifyPwd(string oldPwd, string newPwd);
 
        /// <summary>
        /// 给前端返回用户表,更具id的不同区分类别2=质检组,3=电气组,4=机械,5=地沟
        /// </summary>
        /// <returns></returns>
        WebResponseContent GetUerType();
 
 
        /// <summary>
        /// 根据用户来决定查看当前作业的权限
        /// </summary>
        /// <param name="type"></param>
        /// <returns></returns>
         WebResponseContent PermissionView(int userId, string group);
 
 
 
 
        /// <summary>
        /// 更新密码
        /// </summary>
        /// <param name="id"></param>
        /// <param name="oldPwd"></param>
        /// <param name="newPwd"></param>
        /// <returns></returns>
        WebResponseContent UpdatePwd(int id, string oldPwd, string newPwd);
 
        /// <summary>
        /// 
        /// </summary>
        /// <param name="files"></param>
        /// <returns></returns>
        WebResponseContent SaveFiles(IFormCollection files);
 
        /// <summary>
        /// 更新用户基础信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        WebResponseContent Upuserbase(UserDTO userDTO);
    }
}