|
@@ -133,7 +133,7 @@
|
|
|
IFNULL(( b.toll_inflow + b.other_inflow ), 0 ) inflow
|
|
|
FROM
|
|
|
iba_project a
|
|
|
- LEFT JOIN iba_project_fund b ON a.id = b.project_id
|
|
|
+ LEFT JOIN iba_project_fund b ON a.id = b.project_id and b.is_deleted = 0
|
|
|
<where>
|
|
|
<if test="year != null and year != ''">
|
|
|
b.year = #{year}
|
|
@@ -160,7 +160,7 @@
|
|
|
b.*
|
|
|
FROM
|
|
|
iba_project a
|
|
|
- LEFT JOIN iba_project_volume b ON a.id = b.project_id
|
|
|
+ LEFT JOIN iba_project_volume b ON a.id = b.project_id and b.is_deleted = 0
|
|
|
<where>
|
|
|
<choose>
|
|
|
<when test="type == 1">
|