IDEVCmdService.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132
  1. using Ropin.Inspection.Model.Entities;
  2. using Ropin.Inspection.Model.SearchModel.DEV;
  3. using Ropin.Inspection.Model.ViewModel.DEV;
  4. using Ropin.Inspection.Service.Interface;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Linq;
  8. using System.Security.Claims;
  9. using System.Text;
  10. using System.Threading.Tasks;
  11. namespace Ropin.Inspection.Service.DEV.Interface
  12. {
  13. public interface IDEVCmdService : IBaseService<DevCmdViewModel>, IBaseServiceById<DevCmdViewModel, string>
  14. {
  15. Task DisableAsync(string id);
  16. Task UpdateAsync(string code, DevCmdViewModel updateModel);
  17. Task<IEnumerable<DevCmdViewModel>> GetConditionAsync(DevCmdSearchModel searchModel);
  18. Task InstructionCreateOneAsync(DevInstructionViewModel viewModel);
  19. Task InstructionDeleteAsync(string id, bool bol = false);
  20. Task<DevInstructionViewModel> GetInstructionByIdAsync(string id);
  21. Task InstructionUpdateAsync(string code, DevInstructionViewModel updateModel);
  22. Task<IEnumerable<DevInstructionViewModel>> GetInstructionConditionAsync(DevInstructionSearchModel searchModel);
  23. Task<List<DevInstructionInfo>> GetInstructionByCmdCode(DevInstructionSearchModel searchModel);
  24. Task CmdInstructionCreateOneAsync(DevCmdInstructionViewModel viewModel);
  25. Task CmdInstructionDeleteAsync(string id);
  26. Task<DevCmdInstructionViewModel> GetCmdInstructionByIdAsync(string id);
  27. Task CmdInstructionUpdateAsync(string code, DevCmdInstructionViewModel updateModel); Task<IEnumerable<DevCmdInstructionViewModel>> GetCmdInstructionConditionAsync(DevCmdInstructionSearchModel searchModel);
  28. }
  29. }