1
wangxinhui
2025-07-25 b91c166e2da452578c71423138a0291558b36344
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
using HslCommunication.WebSocket;
using NetTaste;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_ApprovalRepository;
using WIDESEA_Common.CommonEnum;
using WIDESEA_Core;
using WIDESEA_Core.BaseRepository;
using WIDESEA_Core.BaseServices;
using WIDESEA_Core.Helper;
using WIDESEA_IApprovalRepository;
using WIDESEA_IApprovalService;
using WIDESEA_ISystemRepository;
using WIDESEA_Model.Models;
 
namespace WIDESEA_ApprovalService
{
    public class ApprovalTaskService : ServiceBase<Dt_ApprovalTask, IApprovalTaskRepository>, IApprovalTaskService
    {
        private readonly IUnitOfWorkManage _unitOfWorkManage;
        private readonly IApprovalFlowRepository _approvalFlowRepository;
        private readonly IApprovalNodeRepository _approvalNodeRepository;
        private readonly WebSocketServer _webSocketServer;
        private readonly ISys_UserRepository _userRepository;
 
        public IApprovalTaskRepository Repository => BaseDal;
 
        public ApprovalTaskService(IApprovalTaskRepository BaseDal, IUnitOfWorkManage unitOfWorkManage, IApprovalFlowRepository approvalFlowRepository, IApprovalNodeRepository approvalNodeRepository,  WebSocketServer webSocketServer, ISys_UserRepository userRepository) : base(BaseDal)
        {
            _unitOfWorkManage = unitOfWorkManage;
            _approvalFlowRepository = approvalFlowRepository;
            _approvalNodeRepository = approvalNodeRepository;
            _webSocketServer = webSocketServer;
            _userRepository = userRepository;
        }
 
    }
}