批量更新功能

This commit is contained in:
2026-09-14 16:15:44 +08:00
parent 6f106e43af
commit a26c98b92b
79 changed files with 4529 additions and 724 deletions
+3 -1
View File
@@ -12,7 +12,9 @@ type BackendErpContact struct {
ContactType int8 `orm:"column(contact_type);default(1)" json:"contact_type"`
ContactName string `orm:"column(contact_name);size(64)" json:"contact_name"`
Gender int8 `orm:"column(gender);default(0)" json:"gender"`
Phone *string `orm:"column(phone);size(20);null" json:"phone"`
Phone *string `orm:"column(phone);size(20);null" json:"phone"` // 手机号(保留第一个,兼容旧逻辑)
// 手机号可登记多个(有的人有多个号码):JSON 数组,最多 5 个,phone 始终与其中一个(第一个)保持一致
Mobiles *string `orm:"column(mobiles);type(text);null" json:"mobiles"`
WorkPhone *string `orm:"column(work_phone);size(20);null" json:"work_phone"`
Email *string `orm:"column(email);size(128);null" json:"email"`
Wechat *string `orm:"column(wechat);size(64);null" json:"wechat"`