管道基础大数据平台系统开发-【后端】-Server
13693261870
2024-03-15 f6e52bce9475f2602e963b6d24c1732aaaef9783
src/main/java/com/lf/server/controller/sys/ReportController.java
@@ -12,10 +12,10 @@
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
@@ -28,13 +28,13 @@
@RestController
@RequestMapping("/report")
public class ReportController extends BaseController {
    @Autowired
    @Resource
    ReportService reportService;
    @Autowired
    @Resource
    TokenService tokenService;
    @Autowired
    @Resource
    UploadAttachService uploadAttachService;
    private final static String TAB_NAME = "lf.sys_report";
@@ -62,7 +62,7 @@
            return success(count, rs);
        } catch (Exception ex) {
            return fail(ex.getMessage(), null);
            return fail(ex, null);
        }
    }
@@ -78,7 +78,7 @@
            return success(entity);
        } catch (Exception ex) {
            return fail(ex.getMessage(), null);
            return fail(ex, null);
        }
    }
@@ -99,7 +99,7 @@
            return success(count);
        } catch (Exception ex) {
            return fail(ex.getMessage(), -1);
            return fail(ex, -1);
        }
    }
@@ -115,7 +115,7 @@
            return success(count);
        } catch (Exception ex) {
            return fail(ex.getMessage(), -1);
            return fail(ex, -1);
        }
    }
@@ -135,7 +135,7 @@
            return success(count);
        } catch (Exception ex) {
            return fail(ex.getMessage(), -1);
            return fail(ex, -1);
        }
    }
@@ -157,7 +157,7 @@
            return success(count);
        } catch (Exception ex) {
            return fail(ex.getMessage(), -1);
            return fail(ex, -1);
        }
    }