company_no_renewed_ascribe.go 327 B

12345678910111213
  1. package models
  2. import (
  3. "github.com/beego/beego/v2/client/orm"
  4. )
  5. // 删除数据
  6. func DeleteCompanNoRenewedAscribe(companyId , productId int) (err error) {
  7. o := orm.NewOrm()
  8. sql := ` DELETE FROM company_no_renewed_ascribe WHERE company_id = ? AND product_id = ? `
  9. _, err = o.Raw(sql, companyId,productId).Exec()
  10. return
  11. }