zhou.xiaoning hace 3 años
padre
commit
daf68d2fcb
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      models/guangzuan.go

+ 4 - 2
models/guangzuan.go

@@ -602,7 +602,8 @@ func (r *SellOrder) buildSql() string {
 		t.ATTACHMENT2          ,
 		t.APPLYID              ,
 		t.EXCHANGERATE         ,
-		t.ORDERAMOUNT          
+		t.ORDERAMOUNT          ,
+		t.USERID
 	FROM WRTrade_OrderDetail t
 	INNER JOIN View_GZ_WRStandard_Ex_Query q ON t.wrstandardid = q.wrstandardid
 	WHERE t.marketid=67201 AND t.BuyOrSell = 1 AND t.WRTradeOrderStatus IN (3,7) 
@@ -719,7 +720,8 @@ func (r *SellOrder) buildQueryDiamond() string {
 		t.ATTACHMENT2          ,
 		t.APPLYID              ,
 		t.EXCHANGERATE         ,
-		t.ORDERAMOUNT 
+		t.ORDERAMOUNT,
+		t.USERID 
 	FROM WRTrade_OrderDetail t
 	INNER JOIN View_GZ_WRStandard_Ex_Query q ON t.wrstandardid = q.wrstandardid
 	WHERE t.marketid=67201 AND t.BuyOrSell = 1 AND t.WRTradeOrderStatus IN (3,7)