|
@@ -1238,7 +1238,7 @@
|
|
|
from report a
|
|
|
left join task_group b on a.group_id=b.id
|
|
|
left join project c on a.project_id=c.id
|
|
|
- where c.company_id=#{companyId} and a.state=1
|
|
|
+ where c.company_id=#{companyId}
|
|
|
<if test="startDate!=null and endDate!=null">
|
|
|
and a.create_date >=#{startDate} and a.create_date <=#{endDate}
|
|
|
</if>
|
|
@@ -1274,7 +1274,7 @@
|
|
|
from report a
|
|
|
left join task_group b on a.group_id=b.id
|
|
|
left join project c on a.project_id=c.id
|
|
|
- where c.company_id=#{companyId} and a.state=1
|
|
|
+ where c.company_id=#{companyId}
|
|
|
<if test="startDate!=null and endDate!=null">
|
|
|
and a.create_date >=#{startDate} and a.create_date <=#{endDate}
|
|
|
</if>
|
|
@@ -1313,7 +1313,7 @@
|
|
|
<if test="projectCategorySub!=null and projectCategorySub!=''">
|
|
|
left join project_separate ps on ps.id=c.id
|
|
|
</if>
|
|
|
- where c.company_id=#{companyId} and a.state=1
|
|
|
+ where c.company_id=#{companyId}
|
|
|
<if test="startDate!=null and endDate!=null">
|
|
|
and a.create_date >=#{startDate} and a.create_date <=#{endDate}
|
|
|
</if>
|
|
@@ -1357,7 +1357,7 @@
|
|
|
<if test="projectCategorySub!=null and projectCategorySub!=''">
|
|
|
left join project_separate ps on ps.id=c.id
|
|
|
</if>
|
|
|
- where c.company_id=#{companyId} and a.state=1
|
|
|
+ where c.company_id=#{companyId}
|
|
|
<if test="startDate!=null and endDate!=null">
|
|
|
and a.create_date >=#{startDate} and a.create_date <=#{endDate}
|
|
|
</if>
|