fix
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 24s
Docker Build & Deploy / Deploy to Production (push) Successful in 6s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 3s
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 24s
Docker Build & Deploy / Deploy to Production (push) Successful in 6s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 3s
This commit is contained in:
@@ -29,12 +29,12 @@ public interface ITransactionPeriodicRepository : IBaseRepository<TransactionPer
|
||||
/// <summary>
|
||||
/// 周期性账单仓储实现
|
||||
/// </summary>
|
||||
public class TransactionPeriodicRepository(IFreeSql freeSql)
|
||||
public class TransactionPeriodicRepository(IFreeSql freeSql)
|
||||
: BaseRepository<TransactionPeriodic>(freeSql), ITransactionPeriodicRepository
|
||||
{
|
||||
public async Task<IEnumerable<TransactionPeriodic>> GetPagedListAsync(
|
||||
int pageIndex,
|
||||
int pageSize,
|
||||
int pageIndex,
|
||||
int pageSize,
|
||||
string? searchKeyword = null)
|
||||
{
|
||||
var query = FreeSql.Select<TransactionPeriodic>();
|
||||
@@ -42,8 +42,8 @@ public class TransactionPeriodicRepository(IFreeSql freeSql)
|
||||
// 搜索关键词
|
||||
if (!string.IsNullOrWhiteSpace(searchKeyword))
|
||||
{
|
||||
query = query.Where(x =>
|
||||
x.Reason.Contains(searchKeyword) ||
|
||||
query = query.Where(x =>
|
||||
x.Reason.Contains(searchKeyword) ||
|
||||
x.Classify.Contains(searchKeyword));
|
||||
}
|
||||
|
||||
@@ -60,8 +60,8 @@ public class TransactionPeriodicRepository(IFreeSql freeSql)
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(searchKeyword))
|
||||
{
|
||||
query = query.Where(x =>
|
||||
x.Reason.Contains(searchKeyword) ||
|
||||
query = query.Where(x =>
|
||||
x.Reason.Contains(searchKeyword) ||
|
||||
x.Classify.Contains(searchKeyword));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user