| | |
| | | type ( |
| | | SalesLeads struct { |
| | | Id int `json:"id" gorm:"column:id;primary_key;AUTO_INCREMENT"` |
| | | Name string `json:"name" gorm:"column:name;unique;type:varchar(255);comment:公司名称"` |
| | | Name string `json:"name" gorm:"column:name;uniqueIndex:name_isDeleted_idx;;type:varchar(255);comment:公司名称"` |
| | | IsDeleted bool `json:"-" gorm:"column:is_deleted;uniqueIndex:name_isDeleted_idx;type:tinyint(1);comment:是否删除"` |
| | | Number string `json:"number" gorm:"column:number;type:varchar(255);comment:销售线索编号"` |
| | | ContactName string `json:"contact_name" gorm:"column:contact_name;type:varchar(255);comment:联系人姓名"` |
| | | ContactPhone string `json:"contact_phone" gorm:"column:contact_phone;type:varchar(255);comment:联系人电话"` |
| | |
| | | SalesRefundProductNotExist: "退货产品不存在", |
| | | SalesRefundProductPriceOrAmountErr: "退货产品价格或数量错误", |
| | | SalesRefundProductBeyondTotalAmount: "退货产品对应总价超出应退总价", |
| | | SalesSourceExist: "销售线索已存在", |
| | | SalesLeadsExist: "销售线索已存在", |
| | | } |
| | | |
| | | func GetMsg(errCode int) (errMsg string) { |