Browse Source

云发单

master
huangjiajun 4 months ago
parent
commit
60ff4df848
3 changed files with 19 additions and 5 deletions
  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 View File

@@ -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 { type SuperCloudIssuanceKeywordReplyWithActivateGroupListDao interface {
BatchAddSuperCloudIssuanceUserRobotBindSourceFollowGroups(data []*models.SuperCloudIssuanceKeywordReplyWithActivateGroupList) (int64, error) BatchAddSuperCloudIssuanceUserRobotBindSourceFollowGroups(data []*models.SuperCloudIssuanceKeywordReplyWithActivateGroupList) (int64, error)
BatchAddSuperCloudIssuanceUserRobotBindSourceFollowGroupsSess(sess *xorm.Session, data []*models.SuperCloudIssuanceKeywordReplyWithActivateGroupList) (int64, error)
FindSuperCloudIssuanceKeywordReplyWithActivateGroupList(activateGroupId int) (mm *[]models.SuperCloudIssuanceKeywordReplyWithActivateGroupList, err error) FindSuperCloudIssuanceKeywordReplyWithActivateGroupList(activateGroupId int) (mm *[]models.SuperCloudIssuanceKeywordReplyWithActivateGroupList, err error)
} }

+ 5
- 2
src/dao/super_cloud_issuance_user_robot_bind_source_follow_group_dao.go View File

@@ -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 { type SuperCloudIssuanceUserRobotBindSourceFollowGroupDao interface {
BatchAddSuperCloudIssuanceUserRobotBindSourceFollowGroups(data []*models.SuperCloudIssuanceUserRobotBindSourceFollowGroup) (int64, error) BatchAddSuperCloudIssuanceUserRobotBindSourceFollowGroups(data []*models.SuperCloudIssuanceUserRobotBindSourceFollowGroup) (int64, error)


+ 8
- 1
src/implement/super_cloud_issuance_keyword_reply_with_activate_group_list_db.go View File

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


import ( import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao" "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao"
@@ -30,3 +30,10 @@ func (s SuperCloudIssuanceKeywordReplyWithActivateGroupListDb) BatchAddSuperClou
} }
return affected, nil 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
}

Loading…
Cancel
Save