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;
|
}
|
|
}
|
}
|