|
@@ -610,15 +610,15 @@
|
610
|
610
|
from prj_feescheme
|
611
|
611
|
where ZB = #{id}
|
612
|
612
|
and DWMC LIKE '%国网陕西省电力%'
|
613
|
|
- ) + (
|
614
|
|
- SELECT SUM(puc.SKJE) skje
|
615
|
|
- from prj_FeeScheme pfs
|
616
|
|
- left join prj_UndertakeCompany puc on puc.ZB = pfs.ID
|
617
|
|
- where
|
618
|
|
- pfs.ZB = #{id}
|
619
|
|
- and pfs.DWMC not like '%国网陕西%'
|
620
|
|
- and puc.DWMC like '%国网陕西%'
|
621
|
|
- )
|
|
613
|
+ ) + ISNULL((
|
|
614
|
+ SELECT SUM(puc.SKJE) skje
|
|
615
|
+ from prj_FeeScheme pfs
|
|
616
|
+ left join prj_UndertakeCompany puc on puc.ZB = pfs.ID
|
|
617
|
+ where
|
|
618
|
+ pfs.ZB = #{id}
|
|
619
|
+ and pfs.DWMC not like '%国网陕西%'
|
|
620
|
+ and puc.DWMC like '%国网陕西%'
|
|
621
|
+ ) , 0 )
|
622
|
622
|
|
623
|
623
|
</select>
|
624
|
624
|
<select id="selectXMZYS_SX" resultType="java.math.BigDecimal">
|