|
|
@@ -117,7 +117,7 @@ public interface UserMapper {
|
|
|
*/
|
|
|
@Select("select BU_ID as id, BU_NAME as name, BU_DEPARTMENT as department, BU_POST as post, BU_ROLE as role," +
|
|
|
"user_name as userName, pass_word as passWord, create_date as createDate " +
|
|
|
- "from bi_users WHERE BU_CLASS <> '离职'")
|
|
|
+ "from bi_users WHERE BU_CLASS <> '离职' AND BU_ROLE <> 'superAdmin'")
|
|
|
List<User> getUserList();
|
|
|
|
|
|
@Select("select BU_ID as id, BU_NAME as name, BU_DEPARTMENT as department, BU_POST as post, BU_ROLE as role," +
|
|
|
@@ -129,7 +129,7 @@ public interface UserMapper {
|
|
|
匹配用户20个
|
|
|
*/
|
|
|
@Select("select BU_ID as id, BU_NAME as name, BU_DEPARTMENT as department, BU_POST as post, BU_ROLE as role " +
|
|
|
- "from bi_users where bu_name ${condition} AND BU_CLASS <> '离职' and rownum < #{count, jdbcType=INTEGER}")
|
|
|
+ "from bi_users where bu_name ${condition} AND BU_CLASS <> '离职' AND BU_ROLE <> 'superAdmin' and rownum < #{count, jdbcType=INTEGER}")
|
|
|
List<User> getNameList(@Param("condition") String condition, @Param("count") Long count);
|
|
|
|
|
|
/*
|