zhou.xiaoning před 4 roky
rodič
revize
0b1728c8aa
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      controllers/taaccount/taaccount.go

+ 1 - 1
controllers/taaccount/taaccount.go

@@ -227,7 +227,7 @@ func QueryHisAmountLog(c *gin.Context) {
 	datas := make([]QueryHisAmountLogRsp, 0)
 	engine := db.GetEngine()
 	s := engine.Table("HIS_TAACCOUNTLOG").
-		Join("LEFT", "ENUMDICITEM", "ENUMDICITEM.ENUMITEMSTATUS = 1 and ENUMDICITEM.ENUMDICID = 39 and ENUMDICITEM.ENUMITEMNAME = HIS_TAACCOUNTLOG.OPERATETYPE").
+		Join("INNER", "ENUMDICITEM", "ENUMDICITEM.ENUMITEMSTATUS = 1 and ENUMDICITEM.ENUMDICID = 39 and ENUMDICITEM.ENUMITEMNAME = HIS_TAACCOUNTLOG.OPERATETYPE").
 		Join("LEFT", "MARKET", "MARKET.MARKETID = HIS_TAACCOUNTLOG.MARKETID").
 		Join("LEFT", "GOODS", "GOODS.GOODSID = HIS_TAACCOUNTLOG.GOODSID").
 		Join("LEFT", "HIS_AUCTION_ORDERINFO", "HIS_AUCTION_ORDERINFO.GOODSID = HIS_TAACCOUNTLOG.GOODSID and HIS_AUCTION_ORDERINFO.ISVALIDDATA = 1").