mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-08-02 21:50:43 +08:00
Complete team user code
This commit is contained in:
@ -13,5 +13,6 @@ import org.apache.ibatis.annotations.Param;
|
||||
public interface TeamUserCustomMapper extends Mapper<TeamUserDO> {
|
||||
|
||||
IPage<TeamUserDO> comprehensivePageQuery(IPage<TeamUserDO> page, @Param("teamId") Long teamId,
|
||||
@Param("userId") Long userId, @Param("teamRoleCode") String teamRoleCode);
|
||||
@Param("userId") Long userId, @Param("teamRoleCode") String teamRoleCode,
|
||||
@Param("teamSearchKey") String teamSearchKey, @Param("userSearchKey") String userSearchKey);
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
<if test="dataSourceId != null ">
|
||||
and dsa.DATA_SOURCE_ID = #{dataSourceId}
|
||||
</if>
|
||||
<if test="searchKey != null ">
|
||||
<if test="userOrTeamSearchKey != null ">
|
||||
and (t.CODE like concat('%',#{userOrTeamSearchKey},'%') or t.NAME like concat('%',#{userOrTeamSearchKey},'%') or
|
||||
du.USER_NAME like concat('%',#{userOrTeamSearchKey},'%') or du.NICK_NAME like concat('%',#{userOrTeamSearchKey},'%') or
|
||||
du.EMAIL like concat('%',#{userOrTeamSearchKey},'%'))
|
||||
|
Reference in New Issue
Block a user