添加tagname拼接
This commit is contained in:
parent
d2cf2cb7a2
commit
1f3996bff5
|
@ -27,11 +27,13 @@
|
|||
csd.sys_org_code,
|
||||
csd.mp3_file,
|
||||
csd.mp4_file,
|
||||
cdt.id AS tag_id,
|
||||
cdt.tag_name
|
||||
FROM nu_config_service_directive csd
|
||||
LEFT JOIN nu_directive_tag dt ON csd.id = dt.directive_id
|
||||
LEFT JOIN nu_config_directive_tag cdt ON dt.tag_id = cdt.id
|
||||
LEFT JOIN (
|
||||
select GROUP_CONCAT(c.tag_name) tag_name,b.directive_id from nu_directive_tag b
|
||||
LEFT JOIN nu_config_directive_tag c on b.tag_id = c.id
|
||||
GROUP BY b.directive_id
|
||||
) cdt on csd.id = cdt.directive_id
|
||||
LEFT JOIN nu_config_service_type cst ON csd.type_id = cst.id
|
||||
LEFT JOIN (select * from sys_dict_item where dict_id = '1900374791386140674') dict on csd.cycle_type = dict.item_value
|
||||
) a
|
||||
|
|
Loading…
Reference in New Issue