|
@@ -1412,7 +1412,7 @@
|
|
|
</if>
|
|
|
|
|
|
and a.del_flag = 0 and a.project_type in (1,2) and prd.`status`=5
|
|
|
- and a.id not in (select project_id FROM project_flingbatch_relation r left join project_filingbatch f on f.filing_batch=r.filing_batch where f.filing_status in(2,3,5) )
|
|
|
+ and a.id not in (select project_id FROM project_flingbatch_relation r left join project_filingbatch f on f.filing_batch=r.filing_batch where f.filing_status = 4 )
|
|
|
and a.id not in (select project_id FROM project_flingbatch_relation where status in(2,3,5) )
|
|
|
<if test="sqlMap.dsf !=null and sqlMap.dsf!=''">
|
|
|
AND ((w1.user_id = #{currentUser.id} AND w1.del_flag='0' AND a.company_id = #{currentUser.company.id})${sqlMap.dsf} )
|