|
|
@@ -4,8 +4,8 @@
|
|
|
|
|
|
<select id="count" resultType="java.lang.Integer">
|
|
|
select count(*)
|
|
|
- from distribute_waiting_send_points
|
|
|
- where shared_id = #{userId}
|
|
|
+ from distribute_waiting_send_points dw left join order_don o on o.id = dw.order_id
|
|
|
+ where dw.shared_id = #{userId} and o.is_distribute is true
|
|
|
</select>
|
|
|
|
|
|
<select id="countUserNum" resultType="java.lang.Integer">
|