소스 검색

首页统计

zouxuan 1 년 전
부모
커밋
7b27432914
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      cooleshow-user/user-biz/src/main/resources/config/mybatis/SysMusicCompareRecordMapper.xml

+ 2 - 2
cooleshow-user/user-biz/src/main/resources/config/mybatis/SysMusicCompareRecordMapper.xml

@@ -374,7 +374,7 @@
 		left join subject sb ON sb.id_ = st.subject_id_
 		where mprs.user_id_ = st.user_id_
 		<if test="search != null and search != ''">
-			AND su.username_ LIKE CONCAT('%',#{keyword},'%')
+			AND su.username_ LIKE CONCAT('%',#{search},'%')
 		</if>
 		<if test="tenantId != null">
 			AND st.tenant_id_ = #{tenantId}
@@ -435,7 +435,7 @@
 		left join subject sb ON sb.id_ = st.subject_id_
 		where mprs.user_id_ = st.user_id_
 		<if test="search != null and search != ''">
-			AND su.username_ LIKE CONCAT('%',#{keyword},'%')
+			AND su.username_ LIKE CONCAT('%',#{search},'%')
 		</if>
 		<if test="tenantId != null">
 			AND st.tenant_id_ = #{tenantId}