优化
This commit is contained in:
@ -337,7 +337,7 @@
|
|||||||
where ao.user_id in (select member_id from member_group_member m where m.group_id =#{groupId})
|
where ao.user_id in (select member_id from member_group_member m where m.group_id =#{groupId})
|
||||||
and ao.consume_date between #{startTime} and #{endTime}
|
and ao.consume_date between #{startTime} and #{endTime}
|
||||||
GROUP BY ao.user_id, ao.consume_date
|
GROUP BY ao.user_id, ao.consume_date
|
||||||
HAVING SUM (ao.amount) > 37
|
HAVING SUM(ao.amount) > 37
|
||||||
ORDER BY createTime;
|
ORDER BY createTime;
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
Reference in New Issue
Block a user