zhou.xiaoning 4 vuotta sitten
vanhempi
commit
c3a1d51cb2
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      controllers/taaccount/taaccount.go

+ 1 - 1
controllers/taaccount/taaccount.go

@@ -123,7 +123,7 @@ func QueryAmountLog(c *gin.Context) {
 	datas := make([]QueryAmountLogRsp, 0)
 	engine := db.GetEngine()
 	s := engine.Table("TAACCOUNTLOG").
-		Join("LEFT", "ENUMDICITEM", "ENUMDICITEM.ENUMITEMSTATUS = 1 and ENUMDICITEM.ENUMDICID = 39 and ENUMDICITEM.ENUMITEMNAME = TAACCOUNTLOG.OPERATETYPE").
+		Join("INNER", "ENUMDICITEM", "ENUMDICITEM.ENUMITEMSTATUS = 1 and ENUMDICITEM.ENUMDICID = 39 and ENUMDICITEM.ENUMITEMNAME = TAACCOUNTLOG.OPERATETYPE").
 		Join("LEFT", "MARKET", "MARKET.MARKETID = TAACCOUNTLOG.MARKETID").
 		Join("LEFT", "GOODS", "GOODS.GOODSID = TAACCOUNTLOG.GOODSID").
 		Join("LEFT", "AUCTION_ORDERINFO", "AUCTION_ORDERINFO.GOODSID = TAACCOUNTLOG.GOODSID").