From 237d0b600b55ecbf3d4f241568862ae7b498e983 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Mon, 31 Aug 2020 18:51:12 +0800 Subject: [PATCH] modify entrsut open order when more/less/bomb/entrustClose --- src/main/java/com/xcong/excoin/rabbit/pricequeue/OrderModel.java | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/xcong/excoin/rabbit/pricequeue/OrderModel.java b/src/main/java/com/xcong/excoin/rabbit/pricequeue/OrderModel.java index abc7c7c..e749028 100644 --- a/src/main/java/com/xcong/excoin/rabbit/pricequeue/OrderModel.java +++ b/src/main/java/com/xcong/excoin/rabbit/pricequeue/OrderModel.java @@ -25,20 +25,24 @@ */ private Integer operateNo; + private Long memberId; - public OrderModel(Long orderId, Integer type, String price, String symbol){ + + public OrderModel(Long orderId, Integer type, String price, String symbol, Long memberId){ this.orderId= orderId; this.type= type; this.price= price; this.symbol= symbol; + this.memberId = memberId; } - public OrderModel(Long orderId,Integer type,String price, String symbol,Integer operateNo){ + public OrderModel(Long orderId,Integer type,String price, String symbol,Integer operateNo, Long memberId){ this.orderId= orderId; this.type= type; this.price= price; this.symbol= symbol; this.operateNo= operateNo; + this.memberId = memberId; } public Integer getOperateNo() { @@ -80,4 +84,12 @@ public void setSymbol(String symbol) { this.symbol = symbol; } + + public Long getMemberId() { + return memberId; + } + + public void setMemberId(Long memberId) { + this.memberId = memberId; + } } -- Gitblit v1.9.1