feat/prescription: more flow on medicine
This commit is contained in:
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package medicine
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
e "simrs-vx/internal/domain/main-entities/medicine"
|
||||
|
||||
plh "simrs-vx/pkg/lib-helper"
|
||||
@@ -47,6 +48,7 @@ func ReadListData(input e.ReadListDto, event *pl.Event, dbx ...*gorm.DB) ([]e.Me
|
||||
tx = dg.I
|
||||
}
|
||||
|
||||
fmt.Println(input.Includes)
|
||||
tx = tx.
|
||||
Model(&e.Medicine{}).
|
||||
Scopes(gh.Preload(input.Includes)).
|
||||
|
||||
Reference in New Issue
Block a user