Skip to content

Commit

Permalink
add orderstate
Browse files Browse the repository at this point in the history
  • Loading branch information
kikakkz committed Sep 11, 2023
1 parent 39ee18b commit 37348af
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
4 changes: 3 additions & 1 deletion pkg/order/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 37348af

Please sign in to comment.