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