public async Task TestUpdateUserAsync() { string userId = "10"; SYS_USER user = m_SysUserDal.Get(userId); if (user != null) { user.UPDATE_USERID = "1"; user.REMARK = "测试修改用户" + _rnd.Next(1, 100); await m_SysUserDal.UpdateAsync(user); Console.WriteLine("用户 ID=" + user.ID + " 已修改"); } else { Console.WriteLine("用户 ID=" + userId + " 不存在"); } }