@@ -75,7 +75,7 @@ public interface UserMapper {
/*
查询id
*/
- @Select("select bu_id as id from bi_users where user_name = #{userName}")
+ @Select("select bu_id as id from bi_users where user_name = #{userName,jdbcType=VARCHAR} or bu_phone = #{userName,jdbcType=VARCHAR}")
int getUserId(String userName);