Roc 1 month ago
parent
commit
3b5ce235be
2 changed files with 2 additions and 2 deletions
  1. 1 1
      controllers/base_from_pb.go
  2. 1 1
      controllers/base_from_pb_finance.go

+ 1 - 1
controllers/base_from_pb.go

@@ -140,7 +140,7 @@ func (this *PbController) Refresh() {
 		return
 	}
 
-	dataItem, err := services.GetEdbDataFromPb(req.EdbCode, startDateTime.Format(utils.FormatDateUnSpace), endDateTime.Format(utils.FormatDateUnSpace), edbInfo.TerminalCode)
+	dataItem, err := services.GetEdbDataFromPb(req.EdbCode, startDateTime.Format(utils.FormatDateUnSpace), endDateStr, edbInfo.TerminalCode)
 	// 日志记录
 	num := 0
 	if dataItem != nil {

+ 1 - 1
controllers/base_from_pb_finance.go

@@ -160,7 +160,7 @@ func (this *PbFinanceController) Refresh() {
 		br.ErrMsg = "指标编码异常,请传入客户编码"
 		return
 	}
-	dataItem, err := services.GetEdbDataFromPbFinance(edbCodeArr[0], edbCodeArr[1], startDateTime.Format(utils.FormatDateUnSpace), endDateTime.Format(utils.FormatDateUnSpace), edbInfo.TerminalCode)
+	dataItem, err := services.GetEdbDataFromPbFinance(edbCodeArr[0], edbCodeArr[1], startDateTime.Format(utils.FormatDateUnSpace), endDateStr, edbInfo.TerminalCode)
 	// 日志记录
 	num := 0
 	if dataItem != nil {