zhou.xiaoning il y a 4 ans
Parent
commit
0b1728c8aa
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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").