Browse Source

update

master
dengbiao 4 months ago
parent
commit
39b0bf0408
2 changed files with 2 additions and 2 deletions
  1. +0
    -1
      src/dao/super_cloud_issuance_keyword_reply_with_activate_group_dao.go
  2. +2
    -1
      src/implement/super_cloud_issuance_keyword_reply_with_activate_group_db.go

+ 0
- 1
src/dao/super_cloud_issuance_keyword_reply_with_activate_group_dao.go View File

@@ -10,7 +10,6 @@ type SuperCloudIssuanceKeywordReplyWithActivateGroupDao interface {
}

type FindSuperCloudIssuanceKeywordReplyWithActivateGroupResponse struct {
Id int `json:"id" xorm:"not null pk autoincr comment('自增id') INT(11)"`
ActivateGroupId int `json:"activate_group_id" xorm:"not null default 0 comment('绑定激活群id') INT(11)"`
State int `json:"state" xorm:"not null default 1 comment('状态(1正常 2暂停)') TINYINT(1)"`
IsFollowOfficial int `json:"is_follow_official"`


+ 2
- 1
src/implement/super_cloud_issuance_keyword_reply_with_activate_group_db.go View File

@@ -32,7 +32,8 @@ func (s SuperCloudIssuanceKeywordReplyWithActivateGroupDb) FindSuperCloudIssuanc
Join("LEFT", "super_cloud_issuance_keyword_reply_with_activate_group", "super_cloud_issuance_user_robot_with_activate_group.id = super_cloud_issuance_keyword_reply_with_activate_group.activate_group_id").
Where("super_cloud_issuance_user_robot_with_activate_group.uid = ?", uid).
OrderBy("super_cloud_issuance_user_robot_with_activate_group.id DESC").
Cols("super_cloud_issuance_keyword_reply_with_activate_group.*,"+
Cols("super_cloud_issuance_keyword_reply_with_activate_group.state,super_cloud_issuance_keyword_reply_with_activate_group.is_follow_official,"+
" super_cloud_issuance_user_robot_with_activate_group.id as activate_group_id,"+
" super_cloud_issuance_user_robot_with_activate_group.uid,"+
" super_cloud_issuance_user_robot_with_activate_group.name,"+
" super_cloud_issuance_user_robot_with_activate_group.robot_id,"+


Loading…
Cancel
Save