|
@@ -3705,8 +3705,7 @@ public class OrderController : BaseController
|
|
|
var acceptSmsRoleIds = _systemSettingCacheManager.GetSetting(SettingConstants.AcceptSmsRoleIds)?.SettingValue;
|
|
|
//查询部门所有账号
|
|
|
var userlist = await _userRepository.Queryable().Where(x =>
|
|
|
- x.OrgId == orgCode && !string.IsNullOrEmpty(x.PhoneNo) &&
|
|
|
- x.Roles.Any(d => acceptSmsRoleIds.Contains(d.Id))).ToListAsync();
|
|
|
+ x.OrgId == orgCode && !string.IsNullOrEmpty(x.PhoneNo)).ToListAsync();
|
|
|
if (userlist != null && userlist.Count > 0)
|
|
|
{
|
|
|
k.Key = userlist[0].Name;
|