浏览代码

update

master
dengbiao 4 个月前
父节点
当前提交
39b0bf0408
共有 2 个文件被更改,包括 2 次插入2 次删除
  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 查看文件

@@ -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 查看文件

@@ -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,"+


正在加载...
取消
保存