|
|
@@ -26,19 +26,22 @@ type TrainSaleApplySummaryDao struct {
|
|
|
|
|
|
// TrainSaleApplySummaryColumns defines and stores column names for table train_sale_apply_summary.
|
|
|
type trainSaleApplySummaryColumns struct {
|
|
|
- Id string // 主键
|
|
|
- ApplyId string // 申请ID
|
|
|
- ExplainDuration string // 讲解时长
|
|
|
- QuestionRecord string // 提问记录
|
|
|
- TrainSummary string // 培训效果总结
|
|
|
- NextStep string // 下一步工作计划
|
|
|
- CreatedBy string // 创建人
|
|
|
- CreatedName string // 创建人
|
|
|
- CreatedTime string // 创建时间
|
|
|
- UpdatedBy string // 更新人
|
|
|
- UpdatedName string // 更新人
|
|
|
- UpdatedTime string // 更新时间
|
|
|
- DeletedTime string // 删除时间
|
|
|
+ Id string // 主键
|
|
|
+ ApplyId string // 申请ID
|
|
|
+ WorkOrderId string // 关联工单ID
|
|
|
+ FeedbackSupportContent string // 本次支持反馈内容
|
|
|
+ FeedbackSupportTime string // 支持反馈-反馈时间
|
|
|
+ ExplainDuration string // 讲解时长
|
|
|
+ QuestionRecord string // 提问记录
|
|
|
+ TrainSummary string // 培训效果总结
|
|
|
+ NextStep string // 下一步工作计划
|
|
|
+ CreatedBy string // 创建人
|
|
|
+ CreatedName string // 创建人
|
|
|
+ CreatedTime string // 创建时间
|
|
|
+ UpdatedBy string // 更新人
|
|
|
+ UpdatedName string // 更新人
|
|
|
+ UpdatedTime string // 更新时间
|
|
|
+ DeletedTime string // 删除时间
|
|
|
}
|
|
|
|
|
|
var (
|
|
|
@@ -48,19 +51,22 @@ var (
|
|
|
DB: g.DB("default"),
|
|
|
Table: "train_sale_apply_summary",
|
|
|
C: trainSaleApplySummaryColumns{
|
|
|
- Id: "id",
|
|
|
- ApplyId: "apply_id",
|
|
|
- ExplainDuration: "explain_duration",
|
|
|
- QuestionRecord: "question_record",
|
|
|
- TrainSummary: "train_summary",
|
|
|
- NextStep: "next_step",
|
|
|
- CreatedBy: "created_by",
|
|
|
- CreatedName: "created_name",
|
|
|
- CreatedTime: "created_time",
|
|
|
- UpdatedBy: "updated_by",
|
|
|
- UpdatedName: "updated_name",
|
|
|
- UpdatedTime: "updated_time",
|
|
|
- DeletedTime: "deleted_time",
|
|
|
+ Id: "id",
|
|
|
+ ApplyId: "apply_id",
|
|
|
+ WorkOrderId: "work_order_id",
|
|
|
+ FeedbackSupportContent: "feedback_support_content",
|
|
|
+ FeedbackSupportTime: "feedback_support_time",
|
|
|
+ ExplainDuration: "explain_duration",
|
|
|
+ QuestionRecord: "question_record",
|
|
|
+ TrainSummary: "train_summary",
|
|
|
+ NextStep: "next_step",
|
|
|
+ CreatedBy: "created_by",
|
|
|
+ CreatedName: "created_name",
|
|
|
+ CreatedTime: "created_time",
|
|
|
+ UpdatedBy: "updated_by",
|
|
|
+ UpdatedName: "updated_name",
|
|
|
+ UpdatedTime: "updated_time",
|
|
|
+ DeletedTime: "deleted_time",
|
|
|
},
|
|
|
}
|
|
|
)
|
|
|
@@ -72,19 +78,22 @@ func NewTrainSaleApplySummaryDao(tenant string) TrainSaleApplySummaryDao {
|
|
|
DB: g.DB(tenant),
|
|
|
Table: "train_sale_apply_summary",
|
|
|
C: trainSaleApplySummaryColumns{
|
|
|
- Id: "id",
|
|
|
- ApplyId: "apply_id",
|
|
|
- ExplainDuration: "explain_duration",
|
|
|
- QuestionRecord: "question_record",
|
|
|
- TrainSummary: "train_summary",
|
|
|
- NextStep: "next_step",
|
|
|
- CreatedBy: "created_by",
|
|
|
- CreatedName: "created_name",
|
|
|
- CreatedTime: "created_time",
|
|
|
- UpdatedBy: "updated_by",
|
|
|
- UpdatedName: "updated_name",
|
|
|
- UpdatedTime: "updated_time",
|
|
|
- DeletedTime: "deleted_time",
|
|
|
+ Id: "id",
|
|
|
+ ApplyId: "apply_id",
|
|
|
+ WorkOrderId: "work_order_id",
|
|
|
+ FeedbackSupportContent: "feedback_support_content",
|
|
|
+ FeedbackSupportTime: "feedback_support_time",
|
|
|
+ ExplainDuration: "explain_duration",
|
|
|
+ QuestionRecord: "question_record",
|
|
|
+ TrainSummary: "train_summary",
|
|
|
+ NextStep: "next_step",
|
|
|
+ CreatedBy: "created_by",
|
|
|
+ CreatedName: "created_name",
|
|
|
+ CreatedTime: "created_time",
|
|
|
+ UpdatedBy: "updated_by",
|
|
|
+ UpdatedName: "updated_name",
|
|
|
+ UpdatedTime: "updated_time",
|
|
|
+ DeletedTime: "deleted_time",
|
|
|
},
|
|
|
}
|
|
|
return dao
|