my_chart_log.go 577 B

1234567891011121314151617181920212223
  1. package data_manage
  2. import (
  3. "eta_gn/eta_api/global"
  4. "time"
  5. )
  6. type MyChartLog struct {
  7. MyChartLogId int `orm:"column(my_chart_log_id);pk" gorm:"primaryKey" `
  8. MyChartId int
  9. ChartInfoId int `description:"图表id"`
  10. SysUserId int
  11. SysUserRealName string
  12. CreateTime time.Time
  13. Content string `description:"内容"`
  14. Status string `description:"状态"`
  15. Method string `description:"执行方法"`
  16. }
  17. func AddMyChartLog(item *MyChartLog) (lastId int64, err error) {
  18. err = global.DmSQL["data"].Create(item).Error
  19. return
  20. }