优化
This commit is contained in:
@@ -97,7 +97,7 @@ namespace dy.net.service
|
||||
|
||||
else
|
||||
{
|
||||
int update = await sqlSugarClient.Updateable(config).ExecuteCommandAsync();
|
||||
int update = await sqlSugarClient.Updateable(config).IgnoreColumns(x => new { x.IsFirstRunning }).ExecuteCommandAsync();
|
||||
return update > 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -18,9 +18,14 @@ namespace dy.net.service
|
||||
|
||||
public Task<List<DouyinCookie>> GetOpendCookiesAsync(Expression<Func<DouyinCookie, bool>> whereExpression = null)
|
||||
{
|
||||
return _cookieRepository.GetAllCookies(whereExpression);
|
||||
return _cookieRepository.GetAllCookiesAsync(whereExpression);
|
||||
}
|
||||
|
||||
|
||||
public List<DouyinCookie> GetOpendCookies()
|
||||
{
|
||||
return _cookieRepository.GetAllCookies();
|
||||
}
|
||||
public Task<List<DouyinCookie>> GetAllAsync()
|
||||
{
|
||||
return _cookieRepository.GetAllAsync();
|
||||
|
||||
Reference in New Issue
Block a user