liujc преди 11 месеца
родител
ревизия
97264be94a
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      cooleshow-user/user-biz/src/main/resources/config/mybatis/MusicSheetMapper.xml

+ 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>