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) > 0 </update> </mapper>