|
@@ -979,6 +979,8 @@ namespace GxPress.Repository.Implement
|
|
|
public async Task<IEnumerable<UserInfoResult>> GetUserInfoResultsAsync(IEnumerable<int> userIds, string keyWord = "")
|
|
|
{
|
|
|
userIds = userIds.Distinct();
|
|
|
+ if (userIds.Count() == 0)
|
|
|
+ return null;
|
|
|
var sqlStr = "";
|
|
|
foreach (var item in userIds)
|
|
|
sqlStr += $"{item},";
|