|
@@ -4,9 +4,10 @@ import (
|
|
|
"eta_gn/eta_api/global"
|
|
|
"eta_gn/eta_api/utils"
|
|
|
"fmt"
|
|
|
- "github.com/rdlucklib/rdluck_tools/paging"
|
|
|
"strings"
|
|
|
"time"
|
|
|
+
|
|
|
+ "github.com/rdlucklib/rdluck_tools/paging"
|
|
|
)
|
|
|
|
|
|
// ReportApprove 报告审批表
|
|
@@ -338,6 +339,7 @@ func GetApprovingReportApprovePageList(cond string, pars []interface{}, orderRul
|
|
|
WHERE 1 = 1 %s %s
|
|
|
LIMIT ?,?`, cond, order)
|
|
|
//_, err = o.Raw(sql, pars...).QueryRows(&items)
|
|
|
+ pars = append(pars, startSize, pageSize)
|
|
|
err = global.DmSQL["rddp"].Raw(sql, pars...).Find(&items).Error
|
|
|
return
|
|
|
}
|