optimize
wet 2 years ago
parent 256e0f32d4
commit eeb2587284

@ -164,7 +164,7 @@ namespace Myshipping.Application
} }
var user = _repUser.AsQueryable().Where(x => x.CreatedUserName.Trim() == model.CreatedUserName.Trim()).FirstAsync(); var user = _repUser.AsQueryable().Where(x => x.CreatedUserName.Trim() == model.CreatedUserName.Trim()).FirstAsync();
if (user == null) if (user.Result== null)
{ {
throw Oops.Bah("未匹配到创建人"); throw Oops.Bah("未匹配到创建人");
} }

Loading…
Cancel
Save