This commit is contained in:
dzc committed 2025-08-12 16:55:51 +08:00
1 parent ea5849ab6a
commit 7584926e62
1 file changed
+1 -1
@@ -207,7 +207,7 @@
ON a.wallet_id = m.id
<where>
a.del_flag = '0'
AND DATE_FORMAT(sub.create_time, '%Y-%m') &lt;= #{dto.walletRecordMonth}
AND DATE_FORMAT(a.create_time, '%Y-%m') &lt;= #{dto.walletRecordMonth}
<if test="dto.userId != null">
AND a.user_id = #{dto.userId}
</if>