|
|
|
@ -27,9 +27,9 @@ |
|
|
|
SUM(CASE WHEN Item_classification = '5' THEN 1 ELSE 0 END) AS six, |
|
|
|
SUM(CASE WHEN Item_classification = '5' THEN 1 ELSE 0 END) AS six, |
|
|
|
SUM(CASE WHEN Item_classification = '6' THEN 1 ELSE 0 END) AS seven |
|
|
|
SUM(CASE WHEN Item_classification = '6' THEN 1 ELSE 0 END) AS seven |
|
|
|
FROM |
|
|
|
FROM |
|
|
|
jnpf_cloud.bidding_project_subscribe main |
|
|
|
bidding_project_subscribe main |
|
|
|
where main.id in ( |
|
|
|
where main.id in ( |
|
|
|
select main_id from jnpf_cloud.bidding_project_subscribe_child child where 1=1 and root_child_flag='0'and main.main_status='7' |
|
|
|
select main_id from bidding_project_subscribe_child child where 1=1 and root_child_flag='0'and main.main_status='7' |
|
|
|
<if test="sql != null and sql !=''"> |
|
|
|
<if test="sql != null and sql !=''"> |
|
|
|
and ${sql} |
|
|
|
and ${sql} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
@ -51,9 +51,9 @@ |
|
|
|
</foreach> |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
from |
|
|
|
from |
|
|
|
jnpf_cloud.bidding_project_subscribe main |
|
|
|
bidding_project_subscribe main |
|
|
|
where main.id in ( |
|
|
|
where main.id in ( |
|
|
|
select main_id from jnpf_cloud.bidding_project_subscribe_child child where 1=1 and root_child_flag='0'and main.main_status='7' |
|
|
|
select main_id from bidding_project_subscribe_child child where 1=1 and root_child_flag='0'and main.main_status='7' |
|
|
|
<if test="sql != null and sql !=''"> |
|
|
|
<if test="sql != null and sql !=''"> |
|
|
|
and ${sql} |
|
|
|
and ${sql} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
@ -75,9 +75,9 @@ |
|
|
|
SUM(CASE WHEN Item_classification = '5' THEN project_amount ELSE 0 END) AS six, |
|
|
|
SUM(CASE WHEN Item_classification = '5' THEN project_amount ELSE 0 END) AS six, |
|
|
|
SUM(CASE WHEN Item_classification = '6' THEN project_amount ELSE 0 END) AS seven |
|
|
|
SUM(CASE WHEN Item_classification = '6' THEN project_amount ELSE 0 END) AS seven |
|
|
|
FROM |
|
|
|
FROM |
|
|
|
jnpf_cloud.bidding_project_subscribe main |
|
|
|
bidding_project_subscribe main |
|
|
|
where main.id in ( |
|
|
|
where main.id in ( |
|
|
|
select main_id from jnpf_cloud.bidding_project_subscribe_child child where 1=1 and root_child_flag='0'and main.main_status='7' |
|
|
|
select main_id from bidding_project_subscribe_child child where 1=1 and root_child_flag='0'and main.main_status='7' |
|
|
|
<if test="sql != null and sql !=''"> |
|
|
|
<if test="sql != null and sql !=''"> |
|
|
|
and ${sql} |
|
|
|
and ${sql} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
@ -99,7 +99,7 @@ |
|
|
|
main.project_name |
|
|
|
main.project_name |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
FROM |
|
|
|
FROM |
|
|
|
jnpf_cloud.bidding_project_subscribe main |
|
|
|
bidding_project_subscribe main |
|
|
|
<where> |
|
|
|
<where> |
|
|
|
main.reporting_corp=#{param.projectName} |
|
|
|
main.reporting_corp=#{param.projectName} |
|
|
|
<if test="param.statisticalType != null and (param.statisticalType =='1'.toString() or param.statisticalType =='3'.toString())"> |
|
|
|
<if test="param.statisticalType != null and (param.statisticalType =='1'.toString() or param.statisticalType =='3'.toString())"> |
|
|
|
@ -110,7 +110,7 @@ |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
and main.id in ( |
|
|
|
and main.id in ( |
|
|
|
select main_id from jnpf_cloud.bidding_project_subscribe_child child |
|
|
|
select main_id from bidding_project_subscribe_child child |
|
|
|
where |
|
|
|
where |
|
|
|
root_child_flag='0' |
|
|
|
root_child_flag='0' |
|
|
|
and main.main_status='7' |
|
|
|
and main.main_status='7' |
|
|
|
|