porder.go 482 B

123456789101112131415161718
  1. package service
  2. import (
  3. "go-common/app/admin/main/videoup/model/archive"
  4. "go-common/library/database/sql"
  5. "go-common/library/log"
  6. )
  7. // TxUpPorder .
  8. func (s *Service) TxUpPorder(tx *sql.Tx, ap *archive.ArcParam) (err error) {
  9. //区分自首还是审核回查添加
  10. if _, err = s.arc.TxUpPorder(tx, ap.Aid, ap); err != nil {
  11. log.Error("s.arc.TxUpPorder(%d,%+v) error(%v)", ap.Aid, ap, err)
  12. return
  13. }
  14. log.Info("TxUpPorder aid(%d) update archive_porder", ap.Aid)
  15. return
  16. }