u
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user