dcs 5 months ago
parent
commit
402a1b00d2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      virgo.api/src/main/resources/mapper/OperateFlowDataMapper.xml

+ 1 - 1
virgo.api/src/main/resources/mapper/OperateFlowDataMapper.xml

@@ -213,7 +213,7 @@
         WHERE id=#{id}
     </update>
 
-    <select id="projectCount" resultType="map">
+    <select id="deviceCount" resultType="map">
         SELECT COUNT(if(`state`=3,true,null)) as eligibleNumber,
                COUNT(if(`state`!=3,true,null)) as correctionNumber
         FROM  operate_flow_data WHERE deviceId = #{deviceId} and type = #{type}