dengbiao pirms 5 mēnešiem
vecāks
revīzija
42ea3066b6
1 mainītis faili ar 5 papildinājumiem un 4 dzēšanām
  1. +5
    -4
      src/implement/super_cloud_issuance_user_robot_bind_source_follow_group_db.go

+ 5
- 4
src/implement/super_cloud_issuance_user_robot_bind_source_follow_group_db.go Parādīt failu

@@ -6,16 +6,17 @@ import (
"xorm.io/xorm"
)

func NewSuperCloudIssuanceUserRobotBindSourceFollowGroupDb(engine *xorm.Engine) dao.SuperCloudIssuanceUserRobotBindSourceFollowGroupDao {
return &SuperCloudIssuanceUserRobotBindSourceFollowGroupDb{Db: engine}
func NewSuperCloudIssuanceUserRobotBindSourceFollowGroupDb(engine *xorm.Engine, session *xorm.Session) dao.SuperCloudIssuanceUserRobotBindSourceFollowGroupDao {
return &SuperCloudIssuanceUserRobotBindSourceFollowGroupDb{Db: engine, Session: session}
}

type SuperCloudIssuanceUserRobotBindSourceFollowGroupDb struct {
Db *xorm.Engine
Db *xorm.Engine
Session *xorm.Session
}

func (s SuperCloudIssuanceUserRobotBindSourceFollowGroupDb) BatchAddSuperCloudIssuanceUserRobotBindSourceFollowGroups(data []*models.SuperCloudIssuanceUserRobotBindSourceFollowGroup) (int64, error) {
affected, err := s.Db.Insert(data)
affected, err := s.Session.Insert(data)
if err != nil {
return 0, err
}


Notiek ielāde…
Atcelt
Saglabāt