|
|
@ -518,7 +518,7 @@ order by create_date desc |
|
|
|
select u.duty_workplace as dutyWorkplace,count(*) as projectNum, |
|
|
|
sum(u.total_money) as totalMoney, sum(u.urt_estimated_amount) as estimateMoney,sum(central_money) as centralMoney, |
|
|
|
sum(m.contract_total_money) as contractMoney,sum(m.contract_central_money) as contractCentralMoney |
|
|
|
from huzhou_projectinfo u left join huzhou_projectinfo_money m on u.id=m.id where u.id in |
|
|
|
from huzhou_projectinfo u left join huzhou_projectinfo_money m on u.id=m.id where u.stage!='-1' and u.id in |
|
|
|
<foreach item="projectId" index="index" collection="projectIds" open="(" separator="," close=")"> |
|
|
|
#{projectId} |
|
|
|
</foreach> |
|
|
@ -528,7 +528,7 @@ order by create_date desc |
|
|
|
select u.admin_division as adminDivision,count(*) as projectNum, |
|
|
|
sum(u.total_money) as totalMoney, sum(u.urt_estimated_amount) as estimateMoney,sum(central_money) as centralMoney, |
|
|
|
sum(m.contract_total_money) as contractMoney,sum(m.contract_central_money) as contractCentralMoney |
|
|
|
from huzhou_projectinfo u left join huzhou_projectinfo_money m on u.id=m.id where u.id in |
|
|
|
from huzhou_projectinfo u left join huzhou_projectinfo_money m on u.id=m.id where u.stage!='-1' and u.id in |
|
|
|
<foreach item="projectId" index="index" collection="projectIds" open="(" separator="," close=")"> |
|
|
|
#{projectId} |
|
|
|
</foreach> |
|
|
@ -538,7 +538,7 @@ order by create_date desc |
|
|
|
select u.reform_name as reformName,u.super_leader as superLeader,count(*) as projectNum, |
|
|
|
sum(u.total_money) as totalMoney, sum(u.urt_estimated_amount) as estimateMoney,sum(central_money) as centralMoney, |
|
|
|
sum(m.contract_total_money) as contractMoney,sum(m.contract_central_money) as contractCentralMoney |
|
|
|
from huzhou_projectinfo u left join huzhou_projectinfo_money m on u.id=m.id where u.id in |
|
|
|
from huzhou_projectinfo u left join huzhou_projectinfo_money m on u.id=m.id where u.stage!='-1' and u.id in |
|
|
|
<foreach item="projectId" index="index" collection="projectIds" open="(" separator="," close=")"> |
|
|
|
#{projectId} |
|
|
|
</foreach> |
|
|
|