Browse Source

待办数据统计修改

yin_yu820 1 year ago
parent
commit
4b256580ab

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