diff --git a/src/dao/super_cloud_issuance_add_group_welcome_message_dao.go b/src/dao/super_cloud_issuance_add_group_welcome_message_dao.go index 709ba43..d603eda 100644 --- a/src/dao/super_cloud_issuance_add_group_welcome_message_dao.go +++ b/src/dao/super_cloud_issuance_add_group_welcome_message_dao.go @@ -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)"` diff --git a/src/implement/super_cloud_issuance_add_group_welcome_message_db.go b/src/implement/super_cloud_issuance_add_group_welcome_message_db.go index 4fd628b..0dea62d 100644 --- a/src/implement/super_cloud_issuance_add_group_welcome_message_db.go +++ b/src/implement/super_cloud_issuance_add_group_welcome_message_db.go @@ -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,"+