更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -2,34 +2,22 @@ package models
|
||||
|
||||
import "time"
|
||||
|
||||
// =============================================================
|
||||
// 投标方(我要投标):主表 + 文件 + 审批 + 任务(4 张)
|
||||
// =============================================================
|
||||
|
||||
// TenantCrmBiddingBid 投标项目主表: yz_backend_crm_bidding_bid
|
||||
//
|
||||
// 状态机:
|
||||
// 0草稿 -> 1立项审批中 -> 2投标中 -> 3已开标 -> (4中标 | 5落标) -> (6已转合同 | 7已归档)
|
||||
//
|
||||
// 来源关联:
|
||||
// - source_type: 0独立 1商机 2项目
|
||||
// - source_id: 来源ID(商机/项目)
|
||||
type TenantCrmBiddingBid struct {
|
||||
ID uint64 `orm:"column(id);pk;auto" json:"id"`
|
||||
TenantID string `orm:"column(tenant_id);size(64)" json:"tenant_id"`
|
||||
BidNo string `orm:"column(bid_no);size(50)" json:"bid_no"` // 投标编号
|
||||
Title string `orm:"column(title);size(200)" json:"title"` // 投标标题
|
||||
BidNo string `orm:"column(bid_no);size(50)" json:"bid_no"`
|
||||
Title string `orm:"column(title);size(200)" json:"title"`
|
||||
BidType string `orm:"column(bid_type);size(20);default(1)" json:"bid_type"`
|
||||
Status int8 `orm:"column(status);default(0)" json:"status"` // 状态
|
||||
Status int8 `orm:"column(status);default(0)" json:"status"`
|
||||
SourceType int8 `orm:"column(source_type);default(0)" json:"source_type"`
|
||||
SourceID *uint64 `orm:"column(source_id);null" json:"source_id"`
|
||||
BusinessID *uint64 `orm:"column(business_id);null" json:"business_id"` // 关联商机
|
||||
BusinessID *uint64 `orm:"column(business_id);null" json:"business_id"`
|
||||
BusinessName string `orm:"column(business_name);size(200)" json:"business_name"`
|
||||
ProjectID *uint64 `orm:"column(project_id);null" json:"project_id"` // 关联项目(中转)
|
||||
ProjectID *uint64 `orm:"column(project_id);null" json:"project_id"`
|
||||
ProjectName string `orm:"column(project_name);size(200)" json:"project_name"`
|
||||
TenderID *uint64 `orm:"column(tender_id);null" json:"tender_id"` // 关联招标项目
|
||||
TenderID *uint64 `orm:"column(tender_id);null" json:"tender_id"`
|
||||
TenderNo string `orm:"column(tender_no);size(50)" json:"tender_no"`
|
||||
CustomerID *uint64 `orm:"column(customer_id);null" json:"customer_id"` // 招标方
|
||||
CustomerID *uint64 `orm:"column(customer_id);null" json:"customer_id"`
|
||||
CustomerName string `orm:"column(customer_name);size(200)" json:"customer_name"`
|
||||
PublishOrg string `orm:"column(publish_org);size(200)" json:"publish_org"`
|
||||
BidAmount float64 `orm:"column(bid_amount);digits(14);decimals(2);default(0)" json:"bid_amount"`
|
||||
@@ -42,13 +30,13 @@ type TenantCrmBiddingBid struct {
|
||||
ContactPhone string `orm:"column(contact_phone);size(20)" json:"contact_phone"`
|
||||
BidAddress string `orm:"column(bid_address);size(255)" json:"bid_address"`
|
||||
OpenAddress string `orm:"column(open_address);size(255)" json:"open_address"`
|
||||
WinStatus int8 `orm:"column(win_status);default(0)" json:"win_status"` // 0未开标 1中标 2未中标 3废标 4流标
|
||||
WinStatus int8 `orm:"column(win_status);default(0)" json:"win_status"`
|
||||
WinDate *time.Time `orm:"column(win_date);type(datetime);null" json:"win_date"`
|
||||
OurRanking uint32 `orm:"column(our_ranking);default(0)" json:"our_ranking"`
|
||||
TotalScore float64 `orm:"column(total_score);digits(6);decimals(2);default(0)" json:"total_score"`
|
||||
CompetitorCount uint32 `orm:"column(competitor_count);default(0)" json:"competitor_count"`
|
||||
ContractID *uint64 `orm:"column(contract_id);null" json:"contract_id"` // 转合同ID
|
||||
NewProjectID *uint64 `orm:"column(new_project_id);null" json:"new_project_id"` // 中标后新建项目ID
|
||||
ContractID *uint64 `orm:"column(contract_id);null" json:"contract_id"`
|
||||
NewProjectID *uint64 `orm:"column(new_project_id);null" json:"new_project_id"`
|
||||
OwnerUserID string `orm:"column(owner_user_id);size(64)" json:"owner_user_id"`
|
||||
OwnerUserName string `orm:"column(owner_user_name);size(128)" json:"owner_user_name"`
|
||||
DepartmentID uint64 `orm:"column(department_id);default(0)" json:"department_id"`
|
||||
@@ -66,7 +54,6 @@ func (m *TenantCrmBiddingBid) TableName() string {
|
||||
return "yz_backend_crm_bidding_bid"
|
||||
}
|
||||
|
||||
// TenantCrmBiddingBidFile 投标文件: yz_backend_crm_bidding_bid_file
|
||||
type TenantCrmBiddingBidFile struct {
|
||||
ID uint64 `orm:"column(id);pk;auto" json:"id"`
|
||||
TenantID string `orm:"column(tenant_id);size(64)" json:"tenant_id"`
|
||||
@@ -89,7 +76,6 @@ func (m *TenantCrmBiddingBidFile) TableName() string {
|
||||
return "yz_backend_crm_bidding_bid_file"
|
||||
}
|
||||
|
||||
// TenantCrmBiddingBidApproval 投标立项审批: yz_backend_crm_bidding_bid_approval
|
||||
type TenantCrmBiddingBidApproval struct {
|
||||
ID uint64 `orm:"column(id);pk;auto" json:"id"`
|
||||
TenantID string `orm:"column(tenant_id);size(64)" json:"tenant_id"`
|
||||
@@ -114,7 +100,6 @@ func (m *TenantCrmBiddingBidApproval) TableName() string {
|
||||
return "yz_backend_crm_bidding_bid_approval"
|
||||
}
|
||||
|
||||
// TenantCrmBiddingBidTask 投标任务: yz_backend_crm_bidding_bid_task
|
||||
type TenantCrmBiddingBidTask struct {
|
||||
ID uint64 `orm:"column(id);pk;auto" json:"id"`
|
||||
TenantID string `orm:"column(tenant_id);size(64)" json:"tenant_id"`
|
||||
|
||||
Reference in new issue
Block a user