updated
This commit is contained in:
+5
-4
@@ -19,6 +19,7 @@ import jakarta.servlet.http.HttpServletResponse;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.commons.lang3.Strings;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
@@ -48,7 +49,7 @@ public class OtherAllotmentDashboardController {
|
||||
private OtherSegmentService segmentService;
|
||||
|
||||
@CheckPermission(routerId="00404",permissionCode="VIEW")
|
||||
@RequestMapping(value = "/app/other_allotment_dashboard/get_dashboard_column", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
|
||||
@RequestMapping(value = "/app/other_allotment_dashboard/get_dashboard_column", method = RequestMethod.POST, produces = "application/json;charset=UTF-8",consumes = MediaType.APPLICATION_JSON_VALUE)
|
||||
public AjaxResult getAllotmentDashboardSegment(@RequestBody(required=false)OtherAllotmentDashboardGetDataRequest otherAllotmentDashboardGetDataRequest) {
|
||||
boolean isSuccess = false;
|
||||
String processMessage="";
|
||||
@@ -73,7 +74,7 @@ public class OtherAllotmentDashboardController {
|
||||
}
|
||||
|
||||
@CheckPermission(routerId="00404",permissionCode="VIEW")
|
||||
@RequestMapping(value = "/app/other_allotment_dashboard/get_dashboard_data", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
|
||||
@RequestMapping(value = "/app/other_allotment_dashboard/get_dashboard_data", method = RequestMethod.POST, produces = "application/json;charset=UTF-8",consumes = MediaType.APPLICATION_JSON_VALUE)
|
||||
public AjaxResult getOtherAllotmentViewById(@RequestBody(required=false) OtherAllotmentDashboardGetDataRequest OtherAllotmentDashboardGetDataRequest) {
|
||||
boolean isSuccess = false;
|
||||
String processMessage="";
|
||||
@@ -99,8 +100,8 @@ public class OtherAllotmentDashboardController {
|
||||
|
||||
@CheckPermission(routerId="00404",permissionCode="EXPORT")
|
||||
@RequestMapping(value = "/app/other_allotment_dashboard/export_excel")
|
||||
public void exportExcel(HttpServletRequest request, HttpServletResponse response,@RequestBody(required=false) OtherAllotmentDashboardGetDataRequest otherAllotmentDashboardGetDataRequest) throws Exception {
|
||||
|
||||
public void exportExcel(HttpServletRequest request, HttpServletResponse response) throws Exception {
|
||||
OtherAllotmentDashboardGetDataRequest otherAllotmentDashboardGetDataRequest = (new QueryFilter(request)).convertToRequest(OtherAllotmentDashboardGetDataRequest.class);
|
||||
ExportDefine reportDef = ExcelUtils.getExportDefineByName("EXPORT_OTHER_DASHBOARD");
|
||||
if(reportDef!=null) {
|
||||
//--
|
||||
|
||||
Reference in New Issue
Block a user