|
|
@@ -42,12 +42,11 @@ func (svc *StudentService) v1(appInstance *application.App) {
|
|
|
CreateJsonBody: &student.CreateStudentJsonBody{},
|
|
|
DeleteQueryParams: &student.DeleteStudentQueryParams{},
|
|
|
UpdateJsonBody: &student.UpdateStudentJsonBody{},
|
|
|
- QueryQueryParams: &student.GetStudentsQueryParams{},
|
|
|
GetByIDQueryParams: &student.GetStudentByIDQueryParams{},
|
|
|
- })
|
|
|
+ }, entity_crud.WithDisableQuery[student.Info]())
|
|
|
|
|
|
binding.GetBind(v1Binder, &binding.SimpleBindItem[response.InfosData[student.Info]]{
|
|
|
- Path: "/student/query/withRule",
|
|
|
+ Path: "/student/query",
|
|
|
SendResponseFunc: response.SendInfosResponse[student.Info],
|
|
|
RequestParams: &student.GetStudentsQueryParams{},
|
|
|
Objects: []domain.Object{&student.Entity{}},
|