...
|
...
|
@@ -56,7 +56,7 @@ func (dao BusinessBonusDao) SearchBusinessBonus(partnerId int64, partnerNameMatc |
|
|
if len(partnerCondition) > 0 {
|
|
|
sql += fmt.Sprintf(" AND (%s)", strings.Join(partnerCondition, " OR "))
|
|
|
}
|
|
|
sql += ` limit ? OFFSET ? `
|
|
|
sql += `ORDER BY business_bonus.id DESC limit ? OFFSET ? `
|
|
|
allParam = append(allParam, limit, offset)
|
|
|
tx := dao.transactionContext.PgTx
|
|
|
var (
|
...
|
...
|
|