Commit cde6b12a by wangxin

活动日历

parent cfbe2210
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
COALESCE(COUNT(nc.id), 0) as commentCount COALESCE(COUNT(nc.id), 0) as commentCount
FROM data_classification dcl FROM data_classification dcl
LEFT JOIN information i ON dcl.id = i.type_two AND i.state = 2 LEFT JOIN information i ON dcl.id = i.type_two AND i.state = 2
LEFT JOIN cloud_trainning_project.tp_comment nc ON i.id = nc.training_project_id AND nc.state != 0 LEFT JOIN cloud_trainning_project.tp_comment nc ON i.id = nc.training_project_id and nc.audit_status = 0
WHERE dcl.id IN WHERE dcl.id IN
<foreach item="id" collection="classificationIds" open="(" separator="," close=")"> <foreach item="id" collection="classificationIds" open="(" separator="," close=")">
#{id} #{id}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment