zou.yingbin 4 gadi atpakaļ
vecāks
revīzija
a3d6020588
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      models/wrTrade2.go

+ 3 - 1
models/wrTrade2.go

@@ -2597,13 +2597,15 @@ type WrTradeOrderDetail struct {
 }
 
 func (r *WrTradeOrderDetail) calc() {
-
+	r.USERNAME = EncryptByStar(r.USERNAME)
 }
 
 func (r *WrTradeOrderDetail) buildSql() string {
 	var sqlId utils.SQLVal = "select t.orderid," +
 		"       t.buyorsell," +
+		"       t.goodsid," +
 		"       t.orderprice," +
+		"       u.userid," +
 		"       u.accountname username," +
 		"       t.orderstatus" +
 		"  from trade_orderdetail t" +