fix
wangpengfei
2023-08-11 460e591f215fe64d6a097ff4b1ee836d181298ac
model/plan.go
@@ -3,7 +3,6 @@
import (
   "aps_crm/pkg/mysqlx"
   "gorm.io/gorm"
   "time"
)
type (
@@ -16,8 +15,8 @@
      SubOrder       SubOrder     `json:"subOrder" gorm:"foreignKey:SubOrderId"`
      SalesDetailsId int          `json:"salesDetailsId" gorm:"column:sales_details_id;type:int;comment:销售明细id"`
      SalesDetails   SalesDetails `json:"salesDetails" gorm:"foreignKey:SalesDetailsId"`
      StartTime      *time.Time   `json:"startTime" gorm:"column:start_time;type:datetime;comment:开始时间"`
      EndTime        *time.Time   `json:"endTime" gorm:"column:end_time;type:datetime;comment:结束时间"`
      StartTime      *CustomTime  `json:"startTime" gorm:"column:start_time;type:datetime;comment:开始时间"`
      EndTime        *CustomTime  `json:"endTime" gorm:"column:end_time;type:datetime;comment:结束时间"`
      Content        string       `json:"content" gorm:"column:content;type:varchar(255);comment:计划内容"`
      File           string       `json:"file" gorm:"column:file;type:varchar(255);comment:附件"`
      gorm.Model     `json:"-"`