|
@@ -6,10 +6,7 @@ import com.persagy.dmp.report.common.criteria.JacksonCriteria;
|
|
|
import com.persagy.dmp.report.entity.ReportConfig;
|
|
|
import com.persagy.dmp.report.service.ReportConfigService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
@RestController
|
|
|
@RequestMapping("/report/config")
|
|
@@ -37,4 +34,9 @@ public class ReportConfigController {
|
|
|
public MapResponse delete(@RequestBody ReportConfig param) {
|
|
|
return service.delete(param);
|
|
|
}
|
|
|
+
|
|
|
+ @GetMapping("/groupbyColumns")
|
|
|
+ public MapResponse groupbyColumns(@RequestParam String tableName) {
|
|
|
+ return service.groupbyColumns(tableName);
|
|
|
+ }
|
|
|
}
|