From 34ef7217a034599217a7fdd1e28e1ae6910e1b4b Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 11 十月 2023 20:15:21 +0800 Subject: [PATCH] 菜单获取编码规则 --- model/serviceFollowup.go | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/model/serviceFollowup.go b/model/serviceFollowup.go index fc3b09d..3f457a6 100644 --- a/model/serviceFollowup.go +++ b/model/serviceFollowup.go @@ -33,6 +33,7 @@ OldMember User `json:"oldMember" gorm:"foreignKey:OldMemberId"` Remark string `json:"remark" gorm:"column:remark;type:text;comment:澶囨敞"` File string `json:"file" gorm:"column:file;type:varchar(255);comment:闄勪欢"` + CodeStandID string `json:"codeStandID" gorm:"column:code_stand_id;type:varchar(255);comment:缂栫爜id"` CrmModel } @@ -174,3 +175,8 @@ slf.Orm = slf.Orm.Where("id in (?)", ids) return slf } + +func (slf *ServiceFollowupSearch) UpdateByMap(data map[string]interface{}) error { + var db = slf.build() + return db.Updates(data).Error +} -- Gitblit v1.8.0