소스 검색

云发单

master
huangjiajun 4 달 전
부모
커밋
60ff4df848
3개의 변경된 파일19개의 추가작업 그리고 5개의 파일을 삭제
  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 파일 보기

@@ -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 파일 보기

@@ -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 파일 보기

@@ -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
}

불러오는 중...
취소
저장