| using System; | 
| using System.Collections.Generic; | 
| using System.Linq; | 
| using System.Text; | 
| using System.Threading.Tasks; | 
| using WIDESEA_Core; | 
| using WIDESEA_Core.BaseServices; | 
| using WIDESEA_IApprovalRepository; | 
| using WIDESEA_Model.Models; | 
|   | 
| namespace WIDESEA_IApprovalService | 
| { | 
|     public interface IApprovalTaskService : IService<Dt_ApprovalTask> | 
|     { | 
|         IApprovalTaskRepository Repository { get; } | 
|   | 
|         /// <summary> | 
|         /// 审批同意 | 
|         /// </summary> | 
|         /// <param name="sourceKey">源主键</param> | 
|         /// <returns></returns> | 
|         WebResponseContent AuditAgree(int sourceKey); | 
|   | 
|         /// <summary> | 
|         /// 审批驳回 | 
|         /// </summary> | 
|         /// <param name="sourceKey">源主键</param> | 
|         /// <returns></returns> | 
|         WebResponseContent AuditReject(int sourceKey); | 
|     } | 
| } |