|
|
@@ -14,7 +14,7 @@ func BindAdminWithEnterprise(req md.BindAdminWithEnterpriseReq) (err error) { |
|
|
|
//1、删除 `admin_with_enterprise` |
|
|
|
adminWithEnterpriseDb := db.AdminWithEnterpriseDb{} |
|
|
|
adminWithEnterpriseDb.Set() |
|
|
|
_, err = adminWithEnterpriseDb.AdminWithEnterpriseDeleteBySession(session, req.Ids) |
|
|
|
_, err = adminWithEnterpriseDb.AdminWithEnterpriseDeleteBySession(session, req.AdmId) |
|
|
|
if err != nil { |
|
|
|
_ = session.Rollback() |
|
|
|
return |
|
|
|