소스 검색

待办数据统计修改

yin_yu820 1 년 전
부모
커밋
4b256580ab
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      jp-console/jeeplus-modules/gw/src/main/java/com/jeeplus/circulation2/mapper/xml/GwCirculationCard2Mapper.xml

+ 1 - 1
jp-console/jeeplus-modules/gw/src/main/java/com/jeeplus/circulation2/mapper/xml/GwCirculationCard2Mapper.xml

@@ -62,7 +62,7 @@
     <select id="getStatistics2" resultType="integer">
         SELECT count(DISTINCT a.id) FROM gw_circulation_card2 a
         left JOIN gw_flow b on a.id=b.gw_id
-        where a.del_flag=0 and b.state=1 and b.next_user=#{userid}
+        where a.del_flag=0 AND b.del_flag =0 and b.state=1 AND a.state = 1 and b.update_by_id=#{userid}
     </select>
 
     <select id="getStatistics3" resultType="integer">