mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
feat/BE/US-76/TASK-122,133,121,120 Recording
This commit is contained in:
@@ -60,7 +60,13 @@ func (s recordingService) withRelations(db *gorm.DB) *gorm.DB {
|
|||||||
Preload("ProjectFlockKandang.ProjectFlock").
|
Preload("ProjectFlockKandang.ProjectFlock").
|
||||||
Preload("BodyWeights").
|
Preload("BodyWeights").
|
||||||
Preload("Depletions").
|
Preload("Depletions").
|
||||||
Preload("Stocks")
|
Preload("Depletions.ProductWarehouse").
|
||||||
|
Preload("Depletions.ProductWarehouse.Product").
|
||||||
|
Preload("Depletions.ProductWarehouse.Warehouse").
|
||||||
|
Preload("Stocks").
|
||||||
|
Preload("Stocks.ProductWarehouse").
|
||||||
|
Preload("Stocks.ProductWarehouse.Product").
|
||||||
|
Preload("Stocks.ProductWarehouse.Warehouse")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s recordingService) GetAll(c *fiber.Ctx, params *validation.Query) ([]entity.Recording, int64, error) {
|
func (s recordingService) GetAll(c *fiber.Ctx, params *validation.Query) ([]entity.Recording, int64, error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user