diff --git a/go.mod b/go.mod index d335dcb..850e451 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/NpoolPlatform/inspire-middleware v0.0.0-20230907035923-c90b50a84df2 github.com/NpoolPlatform/ledger-middleware v0.0.0-20230908093825-dace2fee13a1 github.com/NpoolPlatform/libent-cruder v0.0.0-20230825073905-d23e4d838f99 - github.com/NpoolPlatform/message v0.0.0-20230910114939-93fab576f50a + github.com/NpoolPlatform/message v0.0.0-20230911022549-8cfbdcf1d22d github.com/NpoolPlatform/order-middleware v0.0.0-20230910111152-0dc718973845 github.com/NpoolPlatform/sphinx-proxy v0.0.0-20230216075025-a90a86bfd19b github.com/dtm-labs/dtm v1.17.1 diff --git a/go.sum b/go.sum index 121e0aa..d4601a7 100644 --- a/go.sum +++ b/go.sum @@ -68,8 +68,8 @@ github.com/NpoolPlatform/ledger-middleware v0.0.0-20230908093825-dace2fee13a1 h1 github.com/NpoolPlatform/ledger-middleware v0.0.0-20230908093825-dace2fee13a1/go.mod h1:t484//GSJFuy3Flc9puq2MJ628QotxoqA8Gy1Cou0W4= github.com/NpoolPlatform/libent-cruder v0.0.0-20230825073905-d23e4d838f99 h1:boB4NuhQxXWeV0Z1qSxgIqbiMYU30dqFGDLtgNTqYbE= github.com/NpoolPlatform/libent-cruder v0.0.0-20230825073905-d23e4d838f99/go.mod h1:1B4hvnPiGavpCYaEjW5H6xDz+UizFdRTIRBtNIGbx5s= -github.com/NpoolPlatform/message v0.0.0-20230910114939-93fab576f50a h1:TDB0pOYgbmGY7Ka1HU5A+Q/Sv2QNJCnG/7GP/RtiGb8= -github.com/NpoolPlatform/message v0.0.0-20230910114939-93fab576f50a/go.mod h1:PxJpF0vSSOke+NJskbRBRQ2fK2K3SRe8zaEja+GxSHk= +github.com/NpoolPlatform/message v0.0.0-20230911022549-8cfbdcf1d22d h1:jbVRZ1oLrCUaJl6qO23z9/XlAn2Vyf8in/lzX75aOhA= +github.com/NpoolPlatform/message v0.0.0-20230911022549-8cfbdcf1d22d/go.mod h1:PxJpF0vSSOke+NJskbRBRQ2fK2K3SRe8zaEja+GxSHk= github.com/NpoolPlatform/order-middleware v0.0.0-20230910111152-0dc718973845 h1:RsnoFXjSwG4hV2Op/c8088ylbYZ8NknlUTs2+oVLg2c= github.com/NpoolPlatform/order-middleware v0.0.0-20230910111152-0dc718973845/go.mod h1:sou8KMb443BSROjGWE+CrIGF9k1Uv0draCpkj9jE+Ls= github.com/NpoolPlatform/sphinx-proxy v0.0.0-20230216075025-a90a86bfd19b h1:Ks5kNee/mPcBnjdBugi/VC1mdcsWxETagVL3a+0e3v0= diff --git a/pkg/order/query.go b/pkg/order/query.go index 02fea94..1328262 100644 --- a/pkg/order/query.go +++ b/pkg/order/query.go @@ -233,9 +233,11 @@ func (h *queryHandler) formalize(ctx context.Context) { //nolint PayWithBalanceAmount: ord.BalanceAmount, TransferAmount: ord.TransferAmount, OrderType: ord.OrderType, + OrderState: ord.OrderState, + CancelState: ord.CancelState, PaymentType: ord.PaymentType, + PaymentState: ord.PaymentState, CreatedAt: ord.CreatedAt, - State: ord.OrderState, StartAt: ord.StartAt, EndAt: ord.EndAt, InvestmentType: ord.InvestmentType,