...
|
...
|
@@ -68,6 +68,7 @@ func (dao BusinessBonusDao) SearchBusinessBonus(partnerId int64, partnerNameMatc |
|
|
func (dao BusinessBonusDao) CountBusinessBonus(partnerId int64, partnerNameMatch string,
|
|
|
companyId int64, limit int, offset int) (int, error) {
|
|
|
sql := `SELECT count(*)
|
|
|
FROM business_bonus
|
|
|
JOIN partner_info ON business_bonus.partner_info_id=partner_info.id
|
|
|
WHERE business_bonus.is_disable=0 AND business_bonus.company_id = ? `
|
|
|
partnerCondition := []string{}
|
...
|
...
|
|