|
@@ -370,6 +370,7 @@ func GetApprovedReportApprovePageList(cond string, pars []interface{}, orderRule
|
|
WHERE 1 = 1 %s %s
|
|
WHERE 1 = 1 %s %s
|
|
LIMIT ?,?`, cond, order)
|
|
LIMIT ?,?`, cond, order)
|
|
//_, err = o.Raw(sql, pars...).QueryRows(&items)
|
|
//_, err = o.Raw(sql, pars...).QueryRows(&items)
|
|
|
|
+ pars = append(pars, startSize, pageSize)
|
|
err = global.DmSQL["rddp"].Raw(sql, pars...).Find(&items).Error
|
|
err = global.DmSQL["rddp"].Raw(sql, pars...).Find(&items).Error
|
|
return
|
|
return
|
|
}
|
|
}
|