fix(erp): 修改应付账款列表接口返回值类型

- 将 List 方法的 total 返回值类型从 int64 改为 error
- 修复了方法签名与实际返回值不匹配的问题
This commit is contained in:
2025-12-09 13:16:01 +08:00
parent 8614837410
commit 5cd534571d

View File

@@ -44,7 +44,7 @@ type PayableItem struct {
}
// List @TITLE 列表
func (p *payable) List(ctx context.Context, args ArgsPayableList) (reply ReplyPayableList, total int64) {
func (p *payable) List(ctx context.Context, args ArgsPayableList) (reply ReplyPayableList, err error) {
xClient, err := client.GetClient(p)
if err != nil {
return