dengbiao 5 months ago
parent
commit
ddc39fca0c
2 changed files with 1 additions and 1 deletions
  1. +0
    -1
      src/dao/super_cloud_issuance_add_group_welcome_message_dao.go
  2. +1
    -0
      src/implement/super_cloud_issuance_add_group_welcome_message_db.go

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

@@ -12,7 +12,6 @@ type SuperCloudIssuanceAddGroupWelcomeMessageDao interface {
}

type FindSuperCloudIssuanceAddGroupWelcomeMessageResponse 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)"`
Content string `json:"content" xorm:"not null default '' comment('内容') VARCHAR(255)"`
State int `json:"state" xorm:"not null default 1 comment('状态(1正常 2暂停)') TINYINT(1)"`


+ 1
- 0
src/implement/super_cloud_issuance_add_group_welcome_message_db.go View File

@@ -21,6 +21,7 @@ func (s SuperCloudIssuanceAddGroupWelcomeMessageDb) FindSuperCloudIssuanceAddGro
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_add_group_welcome_message.*,"+
" 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