38 lines
1.6 KiB
C#
38 lines
1.6 KiB
C#
using SJZY.Track.Domain.Dtos.Common;
|
|
using SJZY.Track.Domain.Dtos.TrackPush;
|
|
|
|
namespace SJZY.Track.Domain.Aggregates.TrackPushAggregate;
|
|
|
|
public interface ITrackPushConfigRepository : IBasicRepository<TrackPushConfigEntity>
|
|
{
|
|
Task<UnifyPageResultDto<GetTrackPushConfigPageOutputVO>> GetPageAsync(KeywordsInputVO input);
|
|
|
|
Task<UnifyPageResultDto<GetTrackPushContentPageOutputVO>> GetContentPageAsync(GetTrackPushContentPageInputVO input);
|
|
|
|
Task<GetTrackPushConfigDetailOutputVO> GetDetailAsync(int id);
|
|
|
|
Task<GetTrackPushContentDetailOutputVO> GetContentDetailAsync(int id);
|
|
|
|
Task<bool> SoftDeleteContentAsync(Expression<Func<TrackPushContentConfigEntity, bool>> whereExpression);
|
|
|
|
Task<bool> IsContentAnyAsync(Expression<Func<TrackPushContentConfigEntity, bool>> whereExpression);
|
|
|
|
Task<bool> InsertContentAsync(TrackPushContentConfigEntity insertObj);
|
|
|
|
Task<TrackPushContentConfigEntity> GetContentByIdAsync(int id);
|
|
|
|
Task<bool> UpdateContentAsync(TrackPushContentConfigEntity updateObj);
|
|
|
|
Task<List<TrackPushContentConfigEntity>> GetContentListAsync(
|
|
Expression<Func<TrackPushContentConfigEntity, bool>> whereExpression);
|
|
|
|
Task<List<TrackPushContentConfigVO>> GetContentListAsync(int configId);
|
|
|
|
Task<bool> UpdateContentRangeAsync(List<TrackPushContentConfigEntity> updateObjs);
|
|
|
|
Task<T> ContentMaxAsync<T>(Expression<Func<TrackPushContentConfigEntity, T>> columns,
|
|
Expression<Func<TrackPushContentConfigEntity, bool>> whereExpression);
|
|
|
|
Task<bool> UpdateContentAsync(Expression<Func<TrackPushContentConfigEntity, bool>> columns,
|
|
Expression<Func<TrackPushContentConfigEntity, bool>> whereExpression);
|
|
} |