增加商机线索管理修复若干bug

This commit is contained in:
2026-09-11 11:11:43 +08:00
parent b9cdabe045
commit 9c07af2b59
39 changed files with 6219 additions and 42 deletions
+3 -2
View File
@@ -2,7 +2,8 @@ package models
import "time"
// ErpCompanyContact 客户/供应商联系人表
// ErpCompanyContact 正式客户/供应商联系人通用表: yz_backend_contact_company
// 全模块共用的「公司联系人」正式库(客户/供应商对接人)。
type ErpCompanyContact struct {
ID uint64 `orm:"column(id);pk;auto" json:"id"`
TenantID string `orm:"column(tenant_id);size(64)" json:"tenant_id"`
@@ -28,5 +29,5 @@ type ErpCompanyContact struct {
}
func (m *ErpCompanyContact) TableName() string {
return "yz_backend_erp_company_contact"
return "yz_backend_contact_company"
}