@@ -208,7 +208,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
t.start_time AS startTime,
t.end_time AS endTime,
t.type,
IF(type=1,(SELECT COUNT(1) FROM t_community),0) AS coummunityNum,
IF(type=1,(SELECT COUNT(1) FROM t_community com where com.id in (select re.relation_id from t_task_relation_info re where re.task_id = t.id and re.type = '1')),0) AS coummunityNum,
(case type
when 1 then
IF(ISNULL(t.task_type),
...
...
@@ -272,5 +272,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"