Quellcode durchsuchen

云发单

master
huangjiajun vor 4 Monaten
Ursprung
Commit
60ff4df848
3 geänderte Dateien mit 19 neuen und 5 gelöschten Zeilen
  1. +6
    -2
      src/dao/super_cloud_issuance_keyword_reply_with_activate_group_list_dao.go
  2. +5
    -2
      src/dao/super_cloud_issuance_user_robot_bind_source_follow_group_dao.go
  3. +8
    -1
      src/implement/super_cloud_issuance_keyword_reply_with_activate_group_list_db.go

+ 6
- 2
src/dao/super_cloud_issuance_keyword_reply_with_activate_group_list_dao.go Datei anzeigen

@@ -1,8 +1,12 @@
package dao
package dao

import "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/models"
import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/models"
"xorm.io/xorm"
)

type SuperCloudIssuanceKeywordReplyWithActivateGroupListDao interface {
BatchAddSuperCloudIssuanceUserRobotBindSourceFollowGroups(data []*models.SuperCloudIssuanceKeywordReplyWithActivateGroupList) (int64, error)
BatchAddSuperCloudIssuanceUserRobotBindSourceFollowGroupsSess(sess *xorm.Session, data []*models.SuperCloudIssuanceKeywordReplyWithActivateGroupList) (int64, error)
FindSuperCloudIssuanceKeywordReplyWithActivateGroupList(activateGroupId int) (mm *[]models.SuperCloudIssuanceKeywordReplyWithActivateGroupList, err error)
}

+ 5
- 2
src/dao/super_cloud_issuance_user_robot_bind_source_follow_group_dao.go Datei anzeigen

@@ -1,6 +1,9 @@
package dao
package dao

import "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/models"
import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/models"
"xorm.io/xorm"
)

type SuperCloudIssuanceUserRobotBindSourceFollowGroupDao interface {
BatchAddSuperCloudIssuanceUserRobotBindSourceFollowGroups(data []*models.SuperCloudIssuanceUserRobotBindSourceFollowGroup) (int64, error)


+ 8
- 1
src/implement/super_cloud_issuance_keyword_reply_with_activate_group_list_db.go Datei anzeigen

@@ -1,4 +1,4 @@
package implement
package implement

import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao"
@@ -30,3 +30,10 @@ func (s SuperCloudIssuanceKeywordReplyWithActivateGroupListDb) BatchAddSuperClou
}
return affected, nil
}
func (s SuperCloudIssuanceKeywordReplyWithActivateGroupListDb) BatchAddSuperCloudIssuanceUserRobotBindSourceFollowGroupsSess(sess *xorm.Session, data []*models.SuperCloudIssuanceKeywordReplyWithActivateGroupList) (int64, error) {
affected, err := sess.Insert(data)
if err != nil {
return 0, err
}
return affected, nil
}

Laden…
Abbrechen
Speichern