Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(API调用)超过四位数的金额的transaction无法进行修改和删除 #94

Open
cabin5955 opened this issue Dec 17, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@cabin5955
Copy link

报错提示为:{"code":500,"message":"未找到连续的多行文本片段"},金额低于1000的话是正常的。

另外还有一个问题,统计接口 GET /api/auth/stats/account/percent (账户分布占比)最后的参数levle不起作用。这个接口调用只统计最末尾的账户分布。

举例说明:
假如我有账户Expenses:食物:三餐 和 Expenses:食物:零食,我想统计食物这个大的分类,但返回的结果其实是三餐和零食的结果。

@cabin5955 cabin5955 changed the title (API调用问题)超过四位数的金额的transaction无法进行修改和删除以及一个统计接口的问题 (API调用)超过四位数的金额的transaction无法进行修改和删除 Dec 17, 2024
@BaoXuebin BaoXuebin added the enhancement New feature or request label Dec 18, 2024
@BaoXuebin
Copy link
Owner

GET /api/auth/stats/account/percent 这个接口目前支持按照账户或者账户类型查询。

你可以新建一个 Expenses:食物 的账户类型(https://www.yuque.com/chuyi-ble7p/beancount-gs/uug0di)

level 的使用做了一次调整,可以参照这个文档:
https://www.yuque.com/chuyi-ble7p/beancount-gs/pwgg01#hv2hB

你可以指定 level=1,这个会进行账户类型的统计。

@cabin5955
Copy link
Author

cabin5955 commented Dec 24, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants