|
|
@@ -1527,6 +1527,9 @@
|
|
|
<if test="screen ==0">
|
|
|
and a.project_status in(0,1,2,3)
|
|
|
</if>
|
|
|
+ <if test="screen ==1">
|
|
|
+ and ttm.complete_count > 0
|
|
|
+ </if>
|
|
|
<if test="screen ==2">
|
|
|
and a.project_status > 3
|
|
|
</if>
|
|
|
@@ -1629,6 +1632,7 @@
|
|
|
<select id="selectProjectStatisticsCount" resultType="java.lang.Integer">
|
|
|
select count(*)
|
|
|
from t_order_task a left join t_order_new b on a.order_no =b.order_no
|
|
|
+ left join t_task_mid ttm on a.id=ttm.tid
|
|
|
<if test="province !=null">
|
|
|
left join department c on b.order_dep =c.id
|
|
|
</if>
|
|
|
@@ -1669,6 +1673,9 @@
|
|
|
<if test="screen ==0">
|
|
|
and a.project_status in(0,1,2,3)
|
|
|
</if>
|
|
|
+ <if test="screen ==1">
|
|
|
+ and ttm.complete_count > 0
|
|
|
+ </if>
|
|
|
<if test="screen ==2">
|
|
|
and a.project_status > 3
|
|
|
</if>
|