repo.go 255 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5 6 7 8 9 10 11 12 13
package mgr_m

import (
	"hilo-group/domain/model"
	"hilo-group/myerr"
)

func (mgrReportGroup *MgrReportGroup) Persistent() error {
	if err := model.Persistent(mgrReportGroup.Db, mgrReportGroup); err != nil {
		return myerr.WrapErr(err)
	}
	return nil
}