1234567891011121314151617181920212223242526272829303132 |
- using Ropin.Inspection.Model.SearchModel;
- using Ropin.Inspection.Model.ViewModel;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Linq.Expressions;
- using System.Text;
- using System.Threading.Tasks;
- namespace Ropin.Inspection.Service.Interface
- {
- /// <summary>
- /// 巡检点服务接口
- /// </summary>
- public interface ITispSpotService : IBaseService<TispSpotViewModel>, IBaseServiceById<TispSpotViewModel, Guid>
- {
- Task<TispSpotViewModel> GetSpotProductByQRCodeTAsync(string qRCode, string storeCode);
- Task<IEnumerable<TispSpotViewModel>> GetAllAsync();
- Task<IEnumerable<TispSpotViewModel>> GetByConditionAsync(Expression<Func<TispSpotViewModel, bool>> expression);
- Task UpdateAsync(Guid id, TispSpotUpdateViewModel updateModel);
- Task CreateOneAsync(TispSpotCreateViewModel viewModel);
- Task CreateOneByDevAsync(TispSpotByDevCreateViewModel viewModel);
- //Task<List<TispSpotViewModel>> GetByAsync(TsysUserSearchModel SearchModel);
- //TispSpotViewModel GetUser(TsysUserSearchModel user);
- Task<TispSpotViewModel> GetSpotByQRCodeAsync(string qRCode, string storeCode);
- Task UpdateConfigureSpotAsync(Guid id, TispSpotConfigureUpdateViewModel updateModel);
- //Task<TispSpotViewModel> GetSpotNewRecordByQRCodeAsync(string QRCode);
- Task<IEnumerable<TispSpotViewModel>> GetSpotsConditionAsync(TispSpotSearchModel searchModel);
- Task<IEnumerable<TispSpotViewModel>> GetSpotsConditionNoDevSpotRepeatAsync(TispSpotSearchModel searchModel);
- Task<TispSpotDevStoreViewModel> GetDevStoreByQRCodeAsync(string qRCode, string storeCode);
- }
- }
|