Browse Source

Merge branch 'new_2.6'

ziwen 1 năm trước cách đây
mục cha
commit
9666fd6883
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      controller/census/invoice_payment.go

+ 1 - 1
controller/census/invoice_payment.go

@@ -1060,7 +1060,7 @@ func getCensusIncomeListV2(ch chan models.CensusIncomeChartResp, req fms.IncomeL
 	if err == utils.ErrNoRow {
 		historyItem, e := fms.GetLatestHistoryIncome(historyCond, historyPars)
 		if e != nil && e != utils.ErrNoRow {
-			err = fmt.Errorf("获取最新的历史开票或到款日期, Err: %s", err.Error())
+			err = fmt.Errorf("获取最新的历史开票或到款日期, Err: %s", e.Error())
 			return
 		}
 		latestTime = historyItem.InvoiceDate