package old import ( "context" "time" "git.kumo.work/shama/service/client" ) type remark struct { } type RemarkItem struct { Id int64 `json:"id"` FactoryId int64 `json:"factoryId"` FactoryName string `json:"factoryName"` FactoryShortName string `json:"factoryShortName"` Remarks string `json:"remarks"` CreatedAt *time.Time `json:"createdAt"` UpdatedAt *time.Time `json:"updatedAt"` } // All @TITLE 获取备注 func (r *remark) All(ctx context.Context, accountingId int64) (reply []RemarkItem, err error) { xClient, err := client.GetClient(r) if err != nil { return } err = xClient.Call(ctx, "All", accountingId, &reply) return }