Documentation ¶
Index ¶
- type SectionEntries
- type Service
- func (s *Service) AvChargeDBStore(c context.Context, table string, avChargeMap map[int64]*model.AvCharge) error
- func (s *Service) AvChargeStatisDBStore(c context.Context, chargeStatisMap map[int64]*model.AvChargeStatis) error
- func (s *Service) BatchInsertUpCharge(c context.Context, table string, us map[int64]*model.UpCharge) (err error)
- func (s *Service) CalAvChargeStatis(dailyCharge *model.AvCharge, chargeStatisMap map[int64]*model.AvChargeStatis)
- func (s *Service) CheckTaskColumn(c context.Context, date string) (err error)
- func (s *Service) GetAvCharge(c context.Context, date time.Time, fn dao.IAvCharge) (avCharges []*model.AvCharge, err error)
- func (s *Service) GetAvChargeStatis(c context.Context) (avChargeStatis []*model.AvChargeStatis, err error)
- func (s *Service) GetAvChargeStatisMap(c context.Context) (chargeStatisMap map[int64]*model.AvChargeStatis, err error)
- func (s *Service) GetBgms(c context.Context, limit int64) (bm map[int64][]*model.Bgm, err error)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) RunAndSendMail(c context.Context, date time.Time) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SectionEntries ¶
type SectionEntries struct {
// contains filtered or unexported fields
}
SectionEntries section entries
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service struct
func (*Service) AvChargeDBStore ¶
func (s *Service) AvChargeDBStore(c context.Context, table string, avChargeMap map[int64]*model.AvCharge) error
AvChargeDBStore store data
func (*Service) AvChargeStatisDBStore ¶
func (s *Service) AvChargeStatisDBStore(c context.Context, chargeStatisMap map[int64]*model.AvChargeStatis) error
AvChargeStatisDBStore store data
func (*Service) BatchInsertUpCharge ¶
func (s *Service) BatchInsertUpCharge(c context.Context, table string, us map[int64]*model.UpCharge) (err error)
BatchInsertUpCharge batch insert up charge
func (*Service) CalAvChargeStatis ¶
func (s *Service) CalAvChargeStatis(dailyCharge *model.AvCharge, chargeStatisMap map[int64]*model.AvChargeStatis)
CalAvChargeStatis cal av charge statis
func (*Service) CheckTaskColumn ¶
CheckTaskColumn check column count by date
func (*Service) GetAvCharge ¶
func (s *Service) GetAvCharge(c context.Context, date time.Time, fn dao.IAvCharge) (avCharges []*model.AvCharge, err error)
GetAvCharge get av charge
func (*Service) GetAvChargeStatis ¶
func (s *Service) GetAvChargeStatis(c context.Context) (avChargeStatis []*model.AvChargeStatis, err error)
GetAvChargeStatis get av charge statistics
func (*Service) GetAvChargeStatisMap ¶
func (s *Service) GetAvChargeStatisMap(c context.Context) (chargeStatisMap map[int64]*model.AvChargeStatis, err error)
GetAvChargeStatisMap get av charge statistics map
Click to show internal directories.
Click to hide internal directories.