瀏覽代碼

getTimeCost用于工时成本统计图形展示,只算审核通过的工时数据。 去掉or b.state=0

seyason 2 年之前
父節點
當前提交
58250f3240

+ 1 - 1
fhKeeper/formulahousekeeper/management-platform/src/main/resources/mapper/ProjectMapper.xml

@@ -152,7 +152,7 @@
                 </if>
             </otherwise>
         </choose>
-        AND (b.state = 1 or b.state=0)
+        AND b.state = 1
         GROUP BY a.id
         ORDER BY a.id ASC
     </select>