zhou.xiaoning 4 vuotta sitten
vanhempi
commit
0b1728c8aa
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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").