buzhanyi 2 лет назад
Родитель
Сommit
e305f21f20
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      purchase-system/src/main/resources/mapper/pm/PmDemandMapper.xml

+ 1 - 1
purchase-system/src/main/resources/mapper/pm/PmDemandMapper.xml

@@ -354,7 +354,7 @@
 
     <select id="selectPurchaseTaskFinishYear" parameterType="com.ozs.pm.doman.vo.requestVo.PmDemandReqVo"
             resultType="java.util.Map">
-        select count(demand_id)                  countNum,
+        select count(a.demand_id)                countNum,
                ifnull(sum(a.evaluation), 0)      evaluation,
                year(a.plan_demand_sub_time)      yy,
                ifnull(sum(b.contract_amount), 0) contractAmount