This commit is contained in:
oneao committed 2026-02-08 22:01:35 +08:00
1 parent bce259f165
commit dc46d8034d
8 files changed
+430 -259

No files matched your search

@@ -56,6 +56,8 @@ func ListMoneyRecords(ctx context.Context, c *app.RequestContext) {
userID := middleware.GetUserID(ctx)
categoryId := req.CategoryId
// 查询账目列表(统一 SQL)
dbRecords, err := db.Queries.ListMoneyRecords(
ctx,
@@ -65,6 +67,7 @@ func ListMoneyRecords(ctx context.Context, c *app.RequestContext) {
RecordTime_2: pgtypex.TimePtrToPgDate(endTime),
},
)
if err != nil {
errorx.AddError(c, err)
return