From 39b0bf040857c54bd0121ca9f9b4d146ac0d9028 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Thu, 4 Jul 2024 21:04:22 +0800 Subject: [PATCH] update --- ...per_cloud_issuance_keyword_reply_with_activate_group_dao.go | 1 - ...uper_cloud_issuance_keyword_reply_with_activate_group_db.go | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dao/super_cloud_issuance_keyword_reply_with_activate_group_dao.go b/src/dao/super_cloud_issuance_keyword_reply_with_activate_group_dao.go index 7e2d4d8..6f1450d 100644 --- a/src/dao/super_cloud_issuance_keyword_reply_with_activate_group_dao.go +++ b/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"` diff --git a/src/implement/super_cloud_issuance_keyword_reply_with_activate_group_db.go b/src/implement/super_cloud_issuance_keyword_reply_with_activate_group_db.go index 73d1373..6eec82b 100644 --- a/src/implement/super_cloud_issuance_keyword_reply_with_activate_group_db.go +++ b/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,"+