소스 검색

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

seyason 2 년 전
부모
커밋
58250f3240
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      fhKeeper/formulahousekeeper/management-platform/src/main/resources/mapper/ProjectMapper.xml

+ 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>