 `src/Dao/GeneralDaoImpl.php `中update方法会调用updateById()和updateByConditions(),前者返回更新后的资源,后者确返回生效条数。 期望都返回更新后的资源。