create.go 248 B

12345678910
  1. package my_chart_log
  2. import "hongze/hongze_yb/global"
  3. func (myCharLogInfo *MyChartLog) Create() (myChartInfoLogId int, err error) {
  4. err = global.MYSQL["data"].Create(myCharLogInfo).Error
  5. myChartInfoLogId = myCharLogInfo.MyChartLogId
  6. return
  7. }