src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -25,13 +25,12 @@ <result column="role_id" property="roleId"/> <result column="dept_id" property="deptId"/> <result column="post_id" property="postId"/> <result column="cardid" property="cardid"/> </resultMap> <select id="selectUserPage" resultMap="userResultMap"> select * from blade_user where is_deleted = 0 <if test="tenantId!=null and tenantId != ''"> and tenant_id = #{tenantId} </if> and tenant_id!=000000 <if test="user.tenantId!=null and user.tenantId != ''"> and tenant_id = #{user.tenantId} </if>