标签组列表排序

This commit is contained in:
陈伏伽
2023-10-20 17:38:00 +08:00
parent 63dd1dd5e2
commit d310587c0e
11 changed files with 90 additions and 18 deletions

View File

@@ -223,4 +223,15 @@
ORDER BY t1.create_time DESC
</select>
<select id="getLabelGroupListOrder" resultType="com.cool.store.vo.LabelGroupListVo">
SELECT t1.id, t1.label_group_name, t2.`name` AS editName, t2.mobile AS editMobile, t1.edit_date
FROM hy_partner_label_group t1
LEFT JOIN enterprise_user t2 ON t1.edit_user_id = t2.user_id
WHERE t1.deleted = 0
<if test="labelGroupName != null and labelGroupName != ''">
AND t1.label_group_name LIKE CONCAT('%', #{labelGroupName}, '%')
</if>
ORDER BY t1.create_time
</select>
</mapper>