浏览历史标签

This commit is contained in:
曹磊 2024-07-13 14:18:49 +08:00
parent 33cc6fd547
commit e33b364d47
2 changed files with 4 additions and 1 deletions

View File

@ -74,6 +74,8 @@ public class CollectMassage implements Serializable {
private Integer type; private Integer type;
@TableField(exist = false) @TableField(exist = false)
private String remarks; private String remarks;
@TableField(exist = false)
private String labels;
/** /**
* 服务分类ID * 服务分类ID
*/ */

View File

@ -18,7 +18,8 @@
else replace(c.labels,',',' ') else replace(c.labels,',',' ')
end) as remarks, end) as remarks,
(case when a.flag = 1 then b.classify_id else c.classify_id end) as classify_id, (case when a.flag = 1 then b.classify_id else c.classify_id end) as classify_id,
(case when a.flag = 1 then x.value else y.value end) as classify_name (case when a.flag = 1 then x.value else y.value end) as classify_name,
ifnull(b.labels,'') as labels
from bl_collect_massage a from bl_collect_massage a
left join massage_type b on a.project_id = b.massage_type_id left join massage_type b on a.project_id = b.massage_type_id
left join bl_massage_package c on a.project_id = c.id left join bl_massage_package c on a.project_id = c.id