jiangqs
2023-06-12 924242a73d62d247f7055ffd0dd86a2700757f5b
ruoyi-modules/ruoyi-system/src/main/resources/mapper/config/SysTagMapper.xml
@@ -25,4 +25,8 @@
        ORDER BY create_time DESC
    </select>
    <update id="deleteStaffSuggestTag">
        UPDATE t_staff_suggest SET suggest_tags = TRIM(BOTH ',' FROM REPLACE(CONCAT(',', suggest_tags, ','), CONCAT(',',#{suggestTag},','), ','))
        WHERE FIND_IN_SET(#{suggestTag}, suggest_tags) &gt; 0
    </update>
</mapper>