ycl-server/src/main/java/com/ycl/platform/controller/CalculateRuleController.java
@@ -30,7 +30,7 @@ /** * 查询核算规则列表 */ // @PreAuthorize("@ss.hasPermi('calculate:rule:list')") @PreAuthorize("@ss.hasPermi('calculate:rule:list')") @GetMapping("/list") public AjaxResult list(CalculateRule calculateRule) { @@ -54,7 +54,7 @@ /** * 获取核算规则详细信息 */ // @PreAuthorize("@ss.hasPermi('calculate:rule:query')") @PreAuthorize("@ss.hasPermi('calculate:rule:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { ycl-server/src/main/java/com/ycl/platform/controller/CheckResultController.java
@@ -31,7 +31,7 @@ /** * 查询考核结果列表 */ // @PreAuthorize("@ss.hasPermi('system:result:list')") @PreAuthorize("@ss.hasPermi('system:result:list')") @GetMapping("/list") public TableDataInfo list(CheckResult checkResult) { @@ -56,7 +56,7 @@ /** * 获取考核结果详细信息 */ // @PreAuthorize("@ss.hasPermi('system:result:query')") @PreAuthorize("@ss.hasPermi('system:result:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { ycl-server/src/main/java/com/ycl/platform/controller/CheckRuleController.java
@@ -34,7 +34,7 @@ /** * 查询考核规则列表 */ // @PreAuthorize("@ss.hasPermi('system:rule:list')") @PreAuthorize("@ss.hasPermi('system:rule:list')") @PostMapping("/list") public TableDataInfo list(@RequestBody CheckRuleQuery checkRuleQuery) { @@ -59,7 +59,7 @@ /** * 获取考核规则详细信息 */ // @PreAuthorize("@ss.hasPermi('system:rule:query')") @PreAuthorize("@ss.hasPermi('system:rule:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { ycl-server/src/main/java/com/ycl/platform/controller/CheckTemplateController.java
@@ -34,7 +34,7 @@ /** * 查询考核模板列表 */ // @PreAuthorize("@ss.hasPermi('system:template:list')") @PreAuthorize("@ss.hasPermi('system:template:list')") @GetMapping("/list") public TableDataInfo list(CheckTemplateQuery checkTemplateDTO) { @@ -46,7 +46,7 @@ /** * 导出考核模板列表 */ // @PreAuthorize("@ss.hasPermi('system:template:export')") @PreAuthorize("@ss.hasPermi('system:template:export')") @Log(title = "考核模板", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, CheckTemplateQuery checkTemplateDTO) @@ -59,7 +59,7 @@ /** * 获取考核模板详细信息 */ // @PreAuthorize("@ss.hasPermi('system:template:query')") @PreAuthorize("@ss.hasPermi('system:template:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -69,7 +69,7 @@ /** * 新增考核模板 */ // @PreAuthorize("@ss.hasPermi('system:template:add')") @PreAuthorize("@ss.hasPermi('system:template:add')") @Log(title = "考核模板", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody CheckTemplateQuery checkTemplateDTO) ycl-server/src/main/java/com/ycl/platform/controller/TContractController.java
@@ -32,7 +32,7 @@ /** * 查询【请填写功能名称】列表 */ // @PreAuthorize("@ss.hasPermi('system:contract:list')") @PreAuthorize("@ss.hasPermi('system:contract:list')") @GetMapping("/list") public TableDataInfo list(TContract tContract) { @@ -44,7 +44,7 @@ /** * 导出【请填写功能名称】列表 */ // @PreAuthorize("@ss.hasPermi('system:contract:export')") @PreAuthorize("@ss.hasPermi('system:contract:export')") @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TContract tContract) @@ -57,7 +57,7 @@ /** * 获取【请填写功能名称】详细信息 */ // @PreAuthorize("@ss.hasPermi('system:contract:query')") @PreAuthorize("@ss.hasPermi('system:contract:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -67,7 +67,7 @@ /** * 新增【请填写功能名称】 */ // @PreAuthorize("@ss.hasPermi('system:contract:add')") @PreAuthorize("@ss.hasPermi('system:contract:add')") @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody TContract tContract) @@ -78,7 +78,7 @@ /** * 修改【请填写功能名称】 */ // @PreAuthorize("@ss.hasPermi('system:contract:edit')") @PreAuthorize("@ss.hasPermi('system:contract:edit')") @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody TContract tContract) @@ -89,7 +89,7 @@ /** * 删除【请填写功能名称】 */ // @PreAuthorize("@ss.hasPermi('system:contract:remove')") @PreAuthorize("@ss.hasPermi('system:contract:remove')") @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) ycl-server/src/main/java/com/ycl/platform/controller/TMonitorController.java
@@ -11,6 +11,7 @@ import enumeration.BusinessType; import jakarta.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.*; import java.util.List; @@ -31,7 +32,7 @@ /** * 查询设备资产列表 */ // @PreAuthorize("@ss.hasPermi('system:monitor:list')") @PreAuthorize("@ss.hasPermi('system:monitor:list')") @GetMapping("/list") public TableDataInfo list(TMonitor tMonitor) { @@ -43,7 +44,7 @@ /** * 导出设备资产列表 */ // @PreAuthorize("@ss.hasPermi('system:monitor:export')") @PreAuthorize("@ss.hasPermi('system:monitor:export')") @Log(title = "设备资产", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TMonitor tMonitor) @@ -56,7 +57,7 @@ /** * 获取设备资产详细信息 */ // @PreAuthorize("@ss.hasPermi('system:monitor:query')") @PreAuthorize("@ss.hasPermi('system:monitor:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -66,7 +67,7 @@ /** * 新增设备资产 */ // @PreAuthorize("@ss.hasPermi('system:monitor:add')") @PreAuthorize("@ss.hasPermi('system:monitor:add')") @Log(title = "设备资产", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody TMonitor tMonitor) @@ -77,7 +78,7 @@ /** * 修改设备资产 */ // @PreAuthorize("@ss.hasPermi('system:monitor:edit')") @PreAuthorize("@ss.hasPermi('system:monitor:edit')") @Log(title = "设备资产", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody TMonitor tMonitor) @@ -88,7 +89,7 @@ /** * 删除设备资产 */ // @PreAuthorize("@ss.hasPermi('system:monitor:remove')") @PreAuthorize("@ss.hasPermi('system:monitor:remove')") @Log(title = "设备资产", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) @@ -99,6 +100,7 @@ /** * 获取视频设备统计数 */ @PreAuthorize("@ss.hasPermi('system:monitor:list')") @GetMapping("/getVideoCount/{cameraFunType}") public AjaxResult getVideoCount(@PathVariable String cameraFunType) { @@ -108,6 +110,7 @@ /** * 获取异常恢复视频设备统计数 */ @PreAuthorize("@ss.hasPermi('system:monitor:list')") @GetMapping("/recoveryException") public AjaxResult recoveryException() { ycl-server/src/main/java/com/ycl/platform/controller/TMonitorVideoController.java
@@ -31,7 +31,7 @@ /** * 查询设备资产列表 */ // @PreAuthorize("@ss.hasPermi('system:video:list')") @PreAuthorize("@ss.hasPermi('system:video:list')") @GetMapping("/list") public TableDataInfo list(TMonitorVideo tMonitorVideo) { @@ -43,7 +43,7 @@ /** * 导出设备资产列表 */ // @PreAuthorize("@ss.hasPermi('system:video:export')") @PreAuthorize("@ss.hasPermi('system:video:export')") @Log(title = "设备资产", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TMonitorVideo tMonitorVideo) @@ -56,7 +56,7 @@ /** * 获取设备资产详细信息 */ // @PreAuthorize("@ss.hasPermi('system:video:query')") @PreAuthorize("@ss.hasPermi('system:video:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -66,7 +66,7 @@ /** * 新增设备资产 */ // @PreAuthorize("@ss.hasPermi('system:video:add')") @PreAuthorize("@ss.hasPermi('system:video:add')") @Log(title = "设备资产", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody TMonitorVideo tMonitorVideo) @@ -77,7 +77,7 @@ /** * 修改设备资产 */ // @PreAuthorize("@ss.hasPermi('system:video:edit')") @PreAuthorize("@ss.hasPermi('system:video:edit')") @Log(title = "设备资产", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody TMonitorVideo tMonitorVideo) @@ -88,7 +88,7 @@ /** * 删除设备资产 */ // @PreAuthorize("@ss.hasPermi('system:video:remove')") @PreAuthorize("@ss.hasPermi('system:video:remove')") @Log(title = "设备资产", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) ycl-server/src/main/java/com/ycl/platform/controller/TPlatformController.java
@@ -10,6 +10,7 @@ import enumeration.BusinessType; import jakarta.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.*; import java.util.List; @@ -29,7 +30,7 @@ /** * 查询平台运行监控列表 */ // @PreAuthorize("@ss.hasPermi('platform:platform:list')") @PreAuthorize("@ss.hasPermi('platform:platform:list')") @GetMapping("/list") public TableDataInfo list(TPlatform tPlatform) { startPage(); @@ -40,7 +41,7 @@ /** * 导出平台运行监控列表 */ // @PreAuthorize("@ss.hasPermi('platform:platform:export')") @PreAuthorize("@ss.hasPermi('platform:platform:export')") @Log(title = "平台运行监控", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TPlatform tPlatform) { @@ -52,7 +53,7 @@ /** * 获取平台运行监控详细信息 */ // @PreAuthorize("@ss.hasPermi('platform:platform:query')") @PreAuthorize("@ss.hasPermi('platform:platform:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return success(tPlatformService.selectTPlatformById(id)); @@ -61,7 +62,7 @@ /** * 新增平台运行监控 */ // @PreAuthorize("@ss.hasPermi('platform:platform:add')") @PreAuthorize("@ss.hasPermi('platform:platform:add')") @Log(title = "平台运行监控", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody TPlatform tPlatform) { @@ -71,7 +72,7 @@ /** * 修改平台运行监控 */ // @PreAuthorize("@ss.hasPermi('platform:platform:edit')") @PreAuthorize("@ss.hasPermi('platform:platform:edit')") @Log(title = "平台运行监控", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody TPlatform tPlatform) { @@ -81,7 +82,7 @@ /** * 删除平台运行监控 */ // @PreAuthorize("@ss.hasPermi('platform:platform:remove')") @PreAuthorize("@ss.hasPermi('platform:platform:remove')") @Log(title = "平台运行监控", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { ycl-server/src/main/java/com/ycl/platform/controller/VehicleDataMonitorController.java
@@ -30,7 +30,7 @@ /** * 查询卡口过车数据一致性列表 */ // @PreAuthorize("@ss.hasPermi('platform:platform:list')") @PreAuthorize("@ss.hasPermi('platform:platform:list')") @GetMapping("/list") public TableDataInfo list(VehicleDataMonitor vehicleDataMonitor) { startPage(); @@ -53,7 +53,7 @@ /** * 获取卡口过车数据一致性详细信息 */ // @PreAuthorize("@ss.hasPermi('platform:platform:query')") @PreAuthorize("@ss.hasPermi('platform:platform:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Integer id) { return success(vehicleDataMonitorService.selectVehicleDataMonitorById(id)); @@ -62,7 +62,7 @@ /** * 新增卡口过车数据一致性 */ // @PreAuthorize("@ss.hasPermi('platform:platform:add')") @PreAuthorize("@ss.hasPermi('platform:platform:add')") @Log(title = "卡口过车数据一致性", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody VehicleDataMonitor vehicleDataMonitor) { @@ -72,7 +72,7 @@ /** * 修改卡口过车数据一致性 */ // @PreAuthorize("@ss.hasPermi('platform:platform:edit')") @PreAuthorize("@ss.hasPermi('platform:platform:edit')") @Log(title = "卡口过车数据一致性", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody VehicleDataMonitor vehicleDataMonitor) { @@ -82,7 +82,7 @@ /** * 删除卡口过车数据一致性 */ // @PreAuthorize("@ss.hasPermi('platform:platform:remove')") @PreAuthorize("@ss.hasPermi('platform:platform:remove')") @Log(title = "卡口过车数据一致性", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Integer[] ids) { ycl-server/src/main/java/com/ycl/platform/controller/YwThresholdController.java
@@ -14,6 +14,7 @@ import enumeration.BusinessType; import jakarta.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; @@ -34,7 +35,7 @@ /** * 查询运维阈值列表 */ // @PreAuthorize("@ss.hasPermi('ycl:threshold:list')") @PreAuthorize("@ss.hasPermi('ycl:threshold:list')") @GetMapping("/list") public TableDataInfo list(YwThreshold ywThreshold) { startPage(); @@ -45,7 +46,7 @@ /** * 导出运维阈值列表 */ // @PreAuthorize("@ss.hasPermi('ycl:threshold:export')") @PreAuthorize("@ss.hasPermi('ycl:threshold:export')") @Log(title = "运维阈值", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, YwThreshold ywThreshold) { @@ -57,7 +58,7 @@ /** * 获取运维阈值详细信息 */ // @PreAuthorize("@ss.hasPermi('ycl:threshold:query')") @PreAuthorize("@ss.hasPermi('ycl:threshold:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Integer id) { return success(ywThresholdService.selectYwThresholdById(id)); @@ -93,7 +94,7 @@ /** * 修改人脸阈值 */ // @PreAuthorize("@ss.hasPermi('ycl:threshold:edit')") @PreAuthorize("@ss.hasPermi('ycl:threshold:edit')") @Log(title = "修改人脸运维阈值", businessType = BusinessType.UPDATE) @PutMapping("/face") public AjaxResult editFace(@RequestBody @Validated FaceThresholdForm form) { @@ -103,7 +104,7 @@ /** * 修改车辆阈值 */ // @PreAuthorize("@ss.hasPermi('ycl:threshold:edit')") @PreAuthorize("@ss.hasPermi('ycl:threshold:edit')") @Log(title = "修改车辆阈值", businessType = BusinessType.UPDATE) @PutMapping("/car") public AjaxResult editCar(@RequestBody @Validated CarThresholdForm form) { @@ -113,7 +114,7 @@ /** * 修改视频阈值 */ // @PreAuthorize("@ss.hasPermi('ycl:threshold:edit')") @PreAuthorize("@ss.hasPermi('ycl:threshold:edit')") @Log(title = "修改视频阈值", businessType = BusinessType.UPDATE) @PutMapping("/video") public AjaxResult editVideo(@RequestBody @Validated VideoThresholdForm form) {