Documentation ¶
Index ¶
- func GetFirstDateOfWeek() (weekMonday time.Time)
- func GetLastWeekFirstDate() (weekMonday time.Time)
- type Simple
- func (s *Simple) DB() *gorm.DB
- func (s *Simple) DeleteGood(goodID string, account string) (err error)
- func (s *Simple) GetUserCenter(account string) (*models.UserCenter, error)
- func (s *Simple) Good(barcodes string, account string) (*models.TemporaryGoodsInventories, error)
- func (s *Simple) Goods()
- func (s *Simple) IOHistory(goodsID string, account string) (resp []models.InventoryHistoryDetailed, err error)
- func (s *Simple) IOList(account string, limit int, offset int) (count int64, ids []models.InventoryHistoryDetailed, err error)
- func (s *Simple) IORevoke(orderID string, account string) (result []models.InventoryHistoryDetailed, err error)
- func (s *Simple) OutStock(goodsId string, barcode string, account string, cost float64, ...) (err error)
- func (s *Simple) ResetStatistics() (err error)
- func (s *Simple) Search(keyword string, account string) ([]models.TemporaryGoodsInventories, error)
- func (s *Simple) Statistics(account string) (scs []models.StatisticsBand, err error)
- func (s *Simple) WareHousing(goodsId string, barcode string, account string, cost float64, ...) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Simple ¶
type Simple struct {
// contains filtered or unexported fields
}
func (*Simple) GetUserCenter ¶
func (s *Simple) GetUserCenter(account string) (*models.UserCenter, error)
func (*Simple) ResetStatistics ¶
func (*Simple) Statistics ¶
func (s *Simple) Statistics(account string) (scs []models.StatisticsBand, err error)
Click to show internal directories.
Click to hide internal directories.