소스 검색

TaAccount/QueryAmountLog:资金流水查不到问题
accountIDs := strings.Split(req.OperateType, ",") -->accountIDs := strings.Split(req.AccountID, ",")

deng.yinping 1 년 전
부모
커밋
3991637ea0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      controllers/taaccount/taaccount.go

+ 1 - 1
controllers/taaccount/taaccount.go

@@ -153,7 +153,7 @@ func QueryAmountLog(c *gin.Context) {
 	// 查询数据
 	datas := make([]QueryAmountLogRsp, 0)
 	engine := db.GetEngine()
-	accountIDs := strings.Split(req.OperateType, ",")
+	accountIDs := strings.Split(req.AccountID, ",")
 	// OPERATETYPENAME 显示时,旧的号段用operateType, 新的使用accountBusinessCode
 	s := engine.Table("TAACCOUNTLOG").
 		Join("INNER", "ENUMDICITEM", "ENUMDICITEM.ENUMITEMSTATUS = 1 and ENUMDICITEM.ENUMDICCODE = 'accountBusinessCode' and ENUMDICITEM.ENUMITEMNAME = TAACCOUNTLOG.BUSINESSCODE").