...
|
...
|
@@ -146,6 +146,7 @@ func (controller *TableController) SearchQuerySetTables() { |
|
|
domain.SubProcessTable.ToString(), domain.CalculateTable.ToString()}
|
|
|
}
|
|
|
cmd.Module = domain.ModuleQuerySetCenter
|
|
|
//cmd.CurrentModule = domain.ModuleQuerySetCenter
|
|
|
cmd.ReturnDetailStructInfo = true
|
|
|
cmd.Context = ParseContext(controller.BaseController)
|
|
|
data, err := tableService.Search(cmd)
|
...
|
...
|
@@ -160,6 +161,20 @@ func (controller *TableController) TableObjectSearch() { |
|
|
if cmd.ReturnGroupItem == nil {
|
|
|
cmd.ReturnGroupItem = &defaultReturnGroup
|
|
|
}
|
|
|
cmd.CurrentModule = cmd.Module
|
|
|
cmd.Context = ParseContext(controller.BaseController)
|
|
|
data, err := tableService.TableObjectSearch(cmd)
|
|
|
controller.Response(data, err)
|
|
|
}
|
|
|
|
|
|
func (controller *TableController) ApiTableObjectSearch() {
|
|
|
tableService := service.NewTableService(nil)
|
|
|
cmd := &query.SearchTableQuery{}
|
|
|
Must(controller.Unmarshal(cmd))
|
|
|
defaultReturnGroup := true
|
|
|
if cmd.ReturnGroupItem == nil {
|
|
|
cmd.ReturnGroupItem = &defaultReturnGroup
|
|
|
}
|
|
|
cmd.Context = ParseContext(controller.BaseController)
|
|
|
data, err := tableService.TableObjectSearch(cmd)
|
|
|
controller.Response(data, err)
|
...
|
...
|
|