12345678910111213 |
- package models
- import (
- "github.com/beego/beego/v2/client/orm"
- )
- // 删除数据
- func DeleteCompanNoRenewedAscribe(companyId , productId int) (err error) {
- o := orm.NewOrm()
- sql := ` DELETE FROM company_no_renewed_ascribe WHERE company_id = ? AND product_id = ? `
- _, err = o.Raw(sql, companyId,productId).Exec()
- return
- }
|