标签组删除逻辑修改

This commit is contained in:
feng.li
2023-08-10 15:40:28 +08:00
parent 787894b919
commit a853bfb149
5 changed files with 36 additions and 16 deletions

View File

@@ -28,7 +28,6 @@
select <include refid="Base_Column_List"></include>
from hy_partner_label_group
where deleted = 0
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
@@ -191,7 +190,7 @@
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 AND t2.deleted = 0
WHERE t1.deleted = 0
<if test="labelGroupName != null and labelGroupName != ''">
AND t1.label_group_name LIKE CONCAT('%', #{labelGroupName}, '%')
</if>