Browse Source

feat:协议

Joburgess 4 years ago
parent
commit
2c019622be

+ 3 - 0
mec-biz/src/main/resources/config/mybatis/MusicGroupQuitMapper.xml

@@ -111,6 +111,9 @@
             <if test="organId != null and organId != ''">
             <if test="organId != null and organId != ''">
                 AND FIND_IN_SET(mg.organ_id_,#{organId})
                 AND FIND_IN_SET(mg.organ_id_,#{organId})
             </if>
             </if>
+            <if test="search != null and search != ''">
+                AND (mgq.user_id_ = #{search} OR mgq.music_group_id_ = #{search})
+            </if>
         </where>
         </where>
     </sql>
     </sql>