### Question:
UserDao { public int updateById(UserDO entity) { return template.update("UPDATE users SET password = ? WHERE id = ?", entity.getPassword(), entity.getId()); }  int insert(UserDO entity); int insert0(UserDO entity); int updateById(UserDO entity); int deleteById(Integer id); UserDO selectById(Integer id); UserDO selectByUsername(String username); List<UserDO> selectByIds(List<Integer> ids);  }### Answer:
@Test public void testUpdateById() { UserDO updateUser = new UserDO().setId(1) .setPassword("wobucai"); userDao.updateById(updateUser); }