Procházet zdrojové kódy

Merge branch 'fix_report_view_list' into debug

Roc před 4 měsíci
rodič
revize
40890b4b36
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      controllers/company_user.go

+ 1 - 1
controllers/company_user.go

@@ -3341,7 +3341,7 @@ func (this *CompanyUserController) ViewReportList() {
 			secondCondition += `AND create_time <  ?`
 			secondPars = append(secondPars, lastViewTime)
 
-			_, items, err = obj.GetViewReportList(lastViewTimeT.Year(), secondCondition, secondPars, pageSize-int(total))
+			_, items, err = obj.GetViewReportList(lastViewTimeT.Year()-1, secondCondition, secondPars, pageSize-int(total))
 			if err != nil {
 				br.Msg = "获取失败"
 				br.Msg = "获取失败,Err:" + err.Error()