|
@@ -128,9 +128,9 @@
|
|
|
SELECT sm.*, GROUP_CONCAT(o.name_) AS organ_name_ FROM sys_music_score_categories sm
|
|
|
LEFT JOIN organization o ON FIND_IN_SET(o.id_,sm.organ_id_)
|
|
|
<where>
|
|
|
- <if test="organId != null and organId != ''">
|
|
|
+ <!-- <if test="organId != null and organId != ''">
|
|
|
AND INTE_ARRAY(sm.organ_id_,#{organId})
|
|
|
- </if>
|
|
|
+ </if> -->
|
|
|
<if test="parentId != null">
|
|
|
AND sm.parent_id_ = #{parentId}
|
|
|
</if>
|
|
@@ -149,9 +149,9 @@
|
|
|
<select id="queryCount" resultType="int">
|
|
|
SELECT COUNT(sm.id_) FROM sys_music_score_categories sm
|
|
|
<where>
|
|
|
- <if test="organId != null and organId != ''">
|
|
|
+ <!-- <if test="organId != null and organId != ''">
|
|
|
AND INTE_ARRAY(sm.organ_id_,#{organId})
|
|
|
- </if>
|
|
|
+ </if> -->
|
|
|
<if test="parentId != null">
|
|
|
AND sm.parent_id_ = #{parentId}
|
|
|
</if>
|
|
@@ -191,9 +191,9 @@
|
|
|
<if test="parentId != null">
|
|
|
AND sm.parent_id_ = #{parentId}
|
|
|
</if>
|
|
|
- <if test="organId != null">
|
|
|
+ <!-- <if test="organId != null">
|
|
|
AND INTE_ARRAY(#{organId},sm.organ_id_)
|
|
|
- </if>
|
|
|
+ </if> -->
|
|
|
</where>
|
|
|
</sql>
|
|
|
|