liujc 7 months ago
parent
commit
97264be94a

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

@@ -245,11 +245,11 @@
         <if test="param.state != null">
 
             <if test="param.providerType != null">
-                <if test="param.providerType == 'TENANT'">
+                <if test="param.providerType.code == 'TENANT'">
                     and t.tenant_state_ = #{param.state}
                 </if>
 
-                <if test="param.providerType == 'PLATFORM'">
+                <if test="param.providerType.code == 'PLATFORM'">
                     and t.state_ = #{param.state}
                 </if>
             </if>