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