|
|
@@ -29,27 +29,30 @@ type CustCustomerBidRecordDao struct {
|
|
|
|
|
|
// CustCustomerBidRecordColumns defines and stores column names for table cust_customer_bid_record.
|
|
|
type custCustomerBidRecordColumns struct {
|
|
|
- Id string // 主键
|
|
|
- CustId string // 关联客户
|
|
|
- CuctName string // 客户名称
|
|
|
- ProductName string // 招标产品名称
|
|
|
- PublishedTime string // 发布招标日期
|
|
|
- Status string // 状态:(10跟进中,20待审批,30已闭环、40已超期)
|
|
|
- Budget string // 项目预算
|
|
|
- ProductLine string // 产品线
|
|
|
- Title string // 招标信息标题
|
|
|
- InfoType string // 信息分类
|
|
|
- Bidder string // 中标单位
|
|
|
- BiddingTime string // 招标时间
|
|
|
- CloseLoopMsg string // 闭环信息描述
|
|
|
- Remark string // 备注
|
|
|
- CreatedBy string // 创建者
|
|
|
- CreatedName string // 创建人
|
|
|
- CreatedTime string // 创建时间
|
|
|
- UpdatedBy string // 更新者
|
|
|
- UpdatedName string // 更新人
|
|
|
- UpdatedTime string // 更新时间
|
|
|
- DeletedTime string // 删除时间
|
|
|
+ Id string // 主键
|
|
|
+ CustId string // 关联客户
|
|
|
+ CuctName string // 客户名称
|
|
|
+ ProductName string // 招标产品名称
|
|
|
+ PublishedTime string // 发布招标日期
|
|
|
+ Status string // 状态:(10跟进中,20待审批,30已闭环、40已超期)
|
|
|
+ Budget string // 项目预算
|
|
|
+ ProductLine string // 产品线
|
|
|
+ Title string // 招标信息标题
|
|
|
+ InfoType string // 信息分类
|
|
|
+ Bidder string // 中标单位
|
|
|
+ BiddingTime string // 招标时间
|
|
|
+ CloseLoopMsg string // 闭环信息描述
|
|
|
+ ChannelPromotionWork string // 渠道推进工作
|
|
|
+ CustomerPromotionWork string // 客户推进工作
|
|
|
+ CustomerSubsequentOpportunity string // 客户后续销售机会
|
|
|
+ Remark string // 备注
|
|
|
+ CreatedBy string // 创建者
|
|
|
+ CreatedName string // 创建人
|
|
|
+ CreatedTime string // 创建时间
|
|
|
+ UpdatedBy string // 更新者
|
|
|
+ UpdatedName string // 更新人
|
|
|
+ UpdatedTime string // 更新时间
|
|
|
+ DeletedTime string // 删除时间
|
|
|
}
|
|
|
|
|
|
var (
|
|
|
@@ -59,27 +62,30 @@ var (
|
|
|
DB: g.DB("default"),
|
|
|
Table: "cust_customer_bid_record",
|
|
|
C: custCustomerBidRecordColumns{
|
|
|
- Id: "id",
|
|
|
- CustId: "cust_id",
|
|
|
- CuctName: "cuct_name",
|
|
|
- ProductName: "product_name",
|
|
|
- PublishedTime: "published_time",
|
|
|
- Status: "status",
|
|
|
- Budget: "budget",
|
|
|
- ProductLine: "product_line",
|
|
|
- Title: "title",
|
|
|
- InfoType: "info_type",
|
|
|
- Bidder: "bidder",
|
|
|
- BiddingTime: "bidding_time",
|
|
|
- CloseLoopMsg: "close_loop_msg",
|
|
|
- Remark: "remark",
|
|
|
- CreatedBy: "created_by",
|
|
|
- CreatedName: "created_name",
|
|
|
- CreatedTime: "created_time",
|
|
|
- UpdatedBy: "updated_by",
|
|
|
- UpdatedName: "updated_name",
|
|
|
- UpdatedTime: "updated_time",
|
|
|
- DeletedTime: "deleted_time",
|
|
|
+ Id: "id",
|
|
|
+ CustId: "cust_id",
|
|
|
+ CuctName: "cuct_name",
|
|
|
+ ProductName: "product_name",
|
|
|
+ PublishedTime: "published_time",
|
|
|
+ Status: "status",
|
|
|
+ Budget: "budget",
|
|
|
+ ProductLine: "product_line",
|
|
|
+ Title: "title",
|
|
|
+ InfoType: "info_type",
|
|
|
+ Bidder: "bidder",
|
|
|
+ BiddingTime: "bidding_time",
|
|
|
+ CloseLoopMsg: "close_loop_msg",
|
|
|
+ ChannelPromotionWork: "channel_promotion_work",
|
|
|
+ CustomerPromotionWork: "customer_promotion_work",
|
|
|
+ CustomerSubsequentOpportunity: "customer_subsequent_opportunity",
|
|
|
+ Remark: "remark",
|
|
|
+ CreatedBy: "created_by",
|
|
|
+ CreatedName: "created_name",
|
|
|
+ CreatedTime: "created_time",
|
|
|
+ UpdatedBy: "updated_by",
|
|
|
+ UpdatedName: "updated_name",
|
|
|
+ UpdatedTime: "updated_time",
|
|
|
+ DeletedTime: "deleted_time",
|
|
|
},
|
|
|
}
|
|
|
)
|
|
|
@@ -91,27 +97,30 @@ func NewCustCustomerBidRecordDao(tenant string) CustCustomerBidRecordDao {
|
|
|
DB: g.DB(tenant),
|
|
|
Table: "cust_customer_bid_record",
|
|
|
C: custCustomerBidRecordColumns{
|
|
|
- Id: "id",
|
|
|
- CustId: "cust_id",
|
|
|
- CuctName: "cuct_name",
|
|
|
- ProductName: "product_name",
|
|
|
- PublishedTime: "published_time",
|
|
|
- Status: "status",
|
|
|
- Budget: "budget",
|
|
|
- ProductLine: "product_line",
|
|
|
- Title: "title",
|
|
|
- InfoType: "info_type",
|
|
|
- Bidder: "bidder",
|
|
|
- BiddingTime: "bidding_time",
|
|
|
- CloseLoopMsg: "close_loop_msg",
|
|
|
- Remark: "remark",
|
|
|
- CreatedBy: "created_by",
|
|
|
- CreatedName: "created_name",
|
|
|
- CreatedTime: "created_time",
|
|
|
- UpdatedBy: "updated_by",
|
|
|
- UpdatedName: "updated_name",
|
|
|
- UpdatedTime: "updated_time",
|
|
|
- DeletedTime: "deleted_time",
|
|
|
+ Id: "id",
|
|
|
+ CustId: "cust_id",
|
|
|
+ CuctName: "cuct_name",
|
|
|
+ ProductName: "product_name",
|
|
|
+ PublishedTime: "published_time",
|
|
|
+ Status: "status",
|
|
|
+ Budget: "budget",
|
|
|
+ ProductLine: "product_line",
|
|
|
+ Title: "title",
|
|
|
+ InfoType: "info_type",
|
|
|
+ Bidder: "bidder",
|
|
|
+ BiddingTime: "bidding_time",
|
|
|
+ CloseLoopMsg: "close_loop_msg",
|
|
|
+ ChannelPromotionWork: "channel_promotion_work",
|
|
|
+ CustomerPromotionWork: "customer_promotion_work",
|
|
|
+ CustomerSubsequentOpportunity: "customer_subsequent_opportunity",
|
|
|
+ Remark: "remark",
|
|
|
+ CreatedBy: "created_by",
|
|
|
+ CreatedName: "created_name",
|
|
|
+ CreatedTime: "created_time",
|
|
|
+ UpdatedBy: "updated_by",
|
|
|
+ UpdatedName: "updated_name",
|
|
|
+ UpdatedTime: "updated_time",
|
|
|
+ DeletedTime: "deleted_time",
|
|
|
},
|
|
|
}
|
|
|
return dao
|