ComplianceServer/code/Hg.Core.Domain/Impl/IOutComplaintDomain.cs

39 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hg.Core.Domain.Dto.OutComplaint;
namespace Hg.Core.Domain.Impl
{
public interface IOutComplaintDomain : IScopedDependency
{
Task<OutComplaintDto> GetOutComplaint(int id);
Task<PageResult<OutComplaintDto>> GetOutComplaintPage(SearchOutComplaintDto dto);
Task<bool> CreateOutComplaint(CreateOutComplaintDto dto);
Task<bool> UpdateOutComplaint(UpdateOutComplaintDto dto);
Task<bool> CreateOutComlpaintFollowUp(CreateOutComplaintFollowUpDto dto);
Task<ComplaintCustomerInfoDto> GetComplaintCustomerInfo(string? resid);
Task<OutComplaintFollowUpDto> GetOutComplaintFollowUp(int? id);
Task<bool> CreateOutComplaintRestore(CreateOutComplaintRestoreDto dto);
Task<bool> UpdateOutComplaintStatus(UpdateOutComplaintStatusDto dto);
Task SyncOutComplaintStatus();
Task<OutComplaintRestoreDto> GetOutComplaintRestoreInfo(int id);
Task<ComplaintLabelDto> ComplaintLabel(string resId);
Task<bool> Import(List<OutComplaintImportDto> dtos);
Task<bool> UpdateEid();
Task<bool> UpdateOutComlpaintFollowUp(CreateOutComplaintFollowUpDto dto);
}
}