From 740f44d9b33a8245ec77c2452b614ef3fe3ef6f8 Mon Sep 17 00:00:00 2001 From: dhy1725534722 <1725534722@qq.com> Date: Thu, 19 Oct 2023 08:53:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/tcZz/controller/TcWbController.java | 22 +++++++++++------- .../tcZz/controller/TcWlaqzcqyController.java | 22 +++++++++++------- .../tcZz/controller/TcWldvController.java | 13 +++++++++++ .../tcZz/controller/TcWljgController.java | 22 +++++++++++------- .../tcZz/controller/TcWljgtjController.java | 22 +++++++++++------- .../tcZz/controller/TcWlmqfzrController.java | 22 +++++++++++------- .../tcZz/controller/TcWlwmzyzController.java | 22 +++++++++++------- .../tcZz/controller/TcWpwzlyqkController.java | 22 +++++++++++------- .../tcZz/controller/TcWpyController.java | 22 +++++++++++------- .../tcZz/controller/TcWpyrwwclController.java | 22 +++++++++++------- .../ruoyi/tcZz/controller/TcWzController.java | 12 ++++++++++ .../tcZz/controller/TcXtjcController.java | 22 +++++++++++------- .../tcZz/controller/TcYqbgController.java | 22 +++++++++++------- .../tcZz/controller/TcYqxxlnumController.java | 22 +++++++++++------- .../tcZz/controller/TcYqxxltjController.java | 12 ++++++++++ .../tcZz/controller/TcYqyjController.java | 13 +++++++++++ .../tcZz/controller/TcYqzsController.java | 12 ++++++++++ .../tcZz/controller/TcYtlcController.java | 13 +++++++++++ .../tcZz/controller/TcZbxqController.java | 13 +++++++++++ .../tcZz/controller/TcZdgzxmController.java | 13 +++++++++++ .../tcZz/controller/TcZdlyjgController.java | 13 +++++++++++ .../tcZz/controller/TcZdqymlController.java | 14 +++++++++++ .../tcZz/controller/TcZfwzController.java | 14 +++++++++++ .../tcZz/controller/TcZxyhController.java | 23 ++++++++++++------- .../com/ruoyi/tcZz/mapper/TcWbMapper.java | 8 +++++++ .../ruoyi/tcZz/mapper/TcWlaqzcqyMapper.java | 8 +++++++ .../com/ruoyi/tcZz/mapper/TcWldvMapper.java | 8 +++++++ .../com/ruoyi/tcZz/mapper/TcWljgMapper.java | 8 ++++++- .../com/ruoyi/tcZz/mapper/TcWljgtjMapper.java | 8 +++++++ .../ruoyi/tcZz/mapper/TcWlmqfzrMapper.java | 8 +++++++ .../ruoyi/tcZz/mapper/TcWlwmzyzMapper.java | 8 +++++++ .../ruoyi/tcZz/mapper/TcWpwzlyqkMapper.java | 9 ++++++++ .../com/ruoyi/tcZz/mapper/TcWpyMapper.java | 8 +++++++ .../ruoyi/tcZz/mapper/TcWpyrwwclMapper.java | 8 +++++++ .../com/ruoyi/tcZz/mapper/TcWzMapper.java | 8 +++++++ .../com/ruoyi/tcZz/mapper/TcXtjcMapper.java | 8 +++++++ .../com/ruoyi/tcZz/mapper/TcYqbgMapper.java | 8 +++++++ .../ruoyi/tcZz/mapper/TcYqxxlnumMapper.java | 8 +++++++ .../ruoyi/tcZz/mapper/TcYqxxltjMapper.java | 8 +++++++ .../com/ruoyi/tcZz/mapper/TcYqyjMapper.java | 8 +++++++ .../com/ruoyi/tcZz/mapper/TcYqzsMapper.java | 9 ++++++-- .../com/ruoyi/tcZz/mapper/TcYtlcMapper.java | 8 +++++++ .../com/ruoyi/tcZz/mapper/TcZbxqMapper.java | 8 +++++++ .../com/ruoyi/tcZz/mapper/TcZdgzxmMapper.java | 8 +++++++ .../com/ruoyi/tcZz/mapper/TcZdlyjgMapper.java | 8 +++++++ .../com/ruoyi/tcZz/mapper/TcZdqymlMapper.java | 8 +++++++ .../com/ruoyi/tcZz/mapper/TcZfwzMapper.java | 9 ++++++++ .../com/ruoyi/tcZz/mapper/TcZxyhMapper.java | 8 +++++++ .../com/ruoyi/tcZz/service/ITcWbService.java | 7 ++++++ .../tcZz/service/ITcWlaqzcqyService.java | 6 +++++ .../ruoyi/tcZz/service/ITcWldvService.java | 7 ++++++ .../ruoyi/tcZz/service/ITcWljgService.java | 8 +++++++ .../ruoyi/tcZz/service/ITcWljgtjService.java | 7 ++++++ .../ruoyi/tcZz/service/ITcWlmqfzrService.java | 7 ++++++ .../ruoyi/tcZz/service/ITcWlwmzyzService.java | 7 ++++++ .../tcZz/service/ITcWpwzlyqkService.java | 8 +++++++ .../com/ruoyi/tcZz/service/ITcWpyService.java | 8 +++++++ .../tcZz/service/ITcWpyrwwclService.java | 7 ++++++ .../com/ruoyi/tcZz/service/ITcWzService.java | 7 ++++++ .../ruoyi/tcZz/service/ITcXtjcService.java | 7 ++++++ .../ruoyi/tcZz/service/ITcYqbgService.java | 7 ++++++ .../tcZz/service/ITcYqxxlnumService.java | 6 +++++ .../ruoyi/tcZz/service/ITcYqxxltjService.java | 7 ++++++ .../ruoyi/tcZz/service/ITcYqyjService.java | 11 ++++++++- .../ruoyi/tcZz/service/ITcYqzsService.java | 7 +++++- .../ruoyi/tcZz/service/ITcYtlcService.java | 7 ++++++ .../ruoyi/tcZz/service/ITcZbxqService.java | 7 ++++++ .../ruoyi/tcZz/service/ITcZdgzxmService.java | 7 ++++++ .../ruoyi/tcZz/service/ITcZdlyjgService.java | 7 ++++++ .../ruoyi/tcZz/service/ITcZdqymlService.java | 8 +++++++ .../ruoyi/tcZz/service/ITcZfwzService.java | 7 ++++++ .../ruoyi/tcZz/service/ITcZxyhService.java | 7 ++++++ .../tcZz/service/impl/TcWbServiceImpl.java | 5 ++++ .../service/impl/TcWlaqzcqyServiceImpl.java | 5 ++++ .../tcZz/service/impl/TcWldvServiceImpl.java | 5 ++++ .../tcZz/service/impl/TcWljgServiceImpl.java | 5 ++++ .../service/impl/TcWljgtjServiceImpl.java | 5 ++++ .../service/impl/TcWlmqfzrServiceImpl.java | 5 ++++ .../service/impl/TcWlwmzyzServiceImpl.java | 5 ++++ .../service/impl/TcWpwzlyqkServiceImpl.java | 5 ++++ .../tcZz/service/impl/TcWpyServiceImpl.java | 5 ++++ .../service/impl/TcWpyrwwclServiceImpl.java | 5 ++++ .../tcZz/service/impl/TcWzServiceImpl.java | 5 ++++ .../tcZz/service/impl/TcXtjcServiceImpl.java | 5 ++++ .../tcZz/service/impl/TcYqbgServiceImpl.java | 4 ++++ .../service/impl/TcYqxxlnumServiceImpl.java | 5 ++++ .../service/impl/TcYqxxltjServiceImpl.java | 5 ++++ .../tcZz/service/impl/TcYqyjServiceImpl.java | 9 ++++++++ .../tcZz/service/impl/TcYqzsServiceImpl.java | 5 ++++ .../tcZz/service/impl/TcYtlcServiceImpl.java | 5 ++++ .../tcZz/service/impl/TcZbxqServiceImpl.java | 6 +++++ .../service/impl/TcZdgzxmServiceImpl.java | 5 ++++ .../service/impl/TcZdlyjgServiceImpl.java | 5 ++++ .../service/impl/TcZdqymlServiceImpl.java | 5 ++++ .../tcZz/service/impl/TcZfwzServiceImpl.java | 5 ++++ .../tcZz/service/impl/TcZxyhServiceImpl.java | 5 ++++ .../mapper/tcZz/netManage/TcWbMapper.xml | 8 +++++++ .../mapper/tcZz/netManage/TcWzMapper.xml | 8 +++++++ .../mapper/tcZz/netManage/TcYtlcMapper.xml | 8 +++++++ .../mapper/tcZz/netManage/TcZdgzxmMapper.xml | 8 +++++++ .../mapper/tcZz/netManage/TcZdlyjgMapper.xml | 8 +++++++ .../mapper/tcZz/netManage/TcZdqymlMapper.xml | 8 +++++++ .../mapper/tcZz/netWorkYq/TcCyMapper.xml | 1 + .../mapper/tcZz/netWorkYq/TcDtsxMapper.xml | 1 + .../mapper/tcZz/netWorkYq/TcMtlxMapper.xml | 1 + .../mapper/tcZz/netWorkYq/TcSslxMapper.xml | 1 + .../mapper/tcZz/netWorkYq/TcYqbgMapper.xml | 12 +++++++++- .../tcZz/netWorkYq/TcYqxxlnumMapper.xml | 9 ++++++++ .../mapper/tcZz/netWorkYq/TcYqxxltjMapper.xml | 12 +++++++++- .../mapper/tcZz/netWorkYq/TcYqyjMapper.xml | 12 +++++++++- .../mapper/tcZz/netWorkYq/TcYqzsMapper.xml | 11 ++++++++- .../mapper/tcZz/netWorkYq/TcZbxqMapper.xml | 12 +++++++++- .../tcZz/networkEcology/TcWlaqzcqyMapper.xml | 8 +++++++ .../tcZz/networkEcology/TcWldvMapper.xml | 8 +++++++ .../tcZz/networkEcology/TcWlmqfzrMapper.xml | 8 +++++++ .../tcZz/networkEcology/TcWlwmzyzMapper.xml | 8 +++++++ .../tcZz/networkEcology/TcWpwzlyqkMapper.xml | 8 +++++++ .../tcZz/networkEcology/TcWpyMapper.xml | 8 +++++++ .../tcZz/networkEcology/TcWpyrwwclMapper.xml | 8 +++++++ .../tcZz/networkSecurity/TcAqyhMapper.xml | 1 + .../tcZz/networkSecurity/TcBmtbMapper.xml | 4 +++- .../tcZz/networkSecurity/TcDbdwMapper.xml | 4 +++- .../tcZz/networkSecurity/TcDbxtMapper.xml | 4 +++- .../tcZz/networkSecurity/TcFbqkMapper.xml | 1 + .../tcZz/networkSecurity/TcIdcdwMapper.xml | 4 +++- .../tcZz/networkSecurity/TcJgdwMapper.xml | 4 +++- .../tcZz/networkSecurity/TcMapMapper.xml | 1 + .../tcZz/networkSecurity/TcSdtbMapper.xml | 4 +++- .../networkSecurity/TcSgjipTop5Mapper.xml | 1 + .../tcZz/networkSecurity/TcSjlyMapper.xml | 4 +++- .../tcZz/networkSecurity/TcSjlytjMapper.xml | 1 + .../tcZz/networkSecurity/TcTbczMapper.xml | 4 +++- .../tcZz/networkSecurity/TcTbwcMapper.xml | 1 + .../tcZz/networkSecurity/TcWljgMapper.xml | 12 +++++++++- .../tcZz/networkSecurity/TcWljgtjMapper.xml | 9 ++++++++ .../tcZz/networkSecurity/TcXtjcMapper.xml | 12 +++++++++- .../tcZz/networkSecurity/TcZfwzMapper.xml | 12 +++++++++- .../tcZz/networkSecurity/TcZxyhMapper.xml | 12 +++++++++- 138 files changed, 1067 insertions(+), 126 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWbController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWbController.java index 94786255..c7c2ae25 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWbController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWbController.java @@ -8,14 +8,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -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.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -116,4 +109,17 @@ public class TcWbController extends BaseController tcWbService.importUser(tcWbList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) { + tcWbService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWlaqzcqyController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWlaqzcqyController.java index 10e4095b..c86cf44b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWlaqzcqyController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWlaqzcqyController.java @@ -8,14 +8,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -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.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -117,4 +110,17 @@ public class TcWlaqzcqyController extends BaseController tcWlaqzcqyService.importUser(tcWlaqzcqyList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) { + tcWlaqzcqyService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWldvController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWldvController.java index f4c27f09..671fe805 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWldvController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWldvController.java @@ -102,4 +102,17 @@ public class TcWldvController extends BaseController { tcWldvService.importUser(tcWldvList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) { + tcWldvService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWljgController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWljgController.java index ca7990c7..9051c496 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWljgController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWljgController.java @@ -8,14 +8,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -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.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -117,4 +110,17 @@ public class TcWljgController extends BaseController tcWljgService.importUser(tcWljgList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) { + tcWljgService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWljgtjController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWljgtjController.java index ff125cac..011c9767 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWljgtjController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWljgtjController.java @@ -8,14 +8,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -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.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -109,4 +102,17 @@ public class TcWljgtjController extends BaseController { tcWljgtjService.importUser(tcWljgtjList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) { + tcWljgtjService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWlmqfzrController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWlmqfzrController.java index 136239ca..2d20fe64 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWlmqfzrController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWlmqfzrController.java @@ -8,14 +8,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -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.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -109,4 +102,17 @@ public class TcWlmqfzrController extends BaseController { tcWlmqfzrService.importUser(tcWlmqfzrList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) { + tcWlmqfzrService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWlwmzyzController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWlwmzyzController.java index d56d6e00..bf2a7618 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWlwmzyzController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWlwmzyzController.java @@ -8,14 +8,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -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.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -109,4 +102,17 @@ public class TcWlwmzyzController extends BaseController { tcWlwmzyzService.importUser(tcWlwmzyzList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) { + tcWlwmzyzService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWpwzlyqkController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWpwzlyqkController.java index 04522f64..8dd07981 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWpwzlyqkController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWpwzlyqkController.java @@ -8,14 +8,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -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.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -109,4 +102,17 @@ public class TcWpwzlyqkController extends BaseController { tcWpwzlyqkService.importUser(tcWpwzlyqkList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) { + tcWpwzlyqkService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWpyController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWpyController.java index 0adbe51d..7778d2b9 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWpyController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWpyController.java @@ -8,14 +8,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -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.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -110,4 +103,17 @@ public class TcWpyController extends BaseController { tcWpyService.importUser(tcWpyList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) { + tcWpyService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWpyrwwclController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWpyrwwclController.java index e38af52d..750737a5 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWpyrwwclController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWpyrwwclController.java @@ -8,14 +8,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -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.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -109,4 +102,17 @@ public class TcWpyrwwclController extends BaseController { tcWpyrwwclService.importUser(tTcWpyrwwclList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) { + tcWpyrwwclService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWzController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWzController.java index 060fd233..89d7854b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWzController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcWzController.java @@ -102,5 +102,17 @@ public class TcWzController extends BaseController { tcWzService.importUser(tcWzList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) { + tcWzService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcXtjcController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcXtjcController.java index c2dede91..e6c04938 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcXtjcController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcXtjcController.java @@ -8,14 +8,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -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.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -110,4 +103,17 @@ public class TcXtjcController extends BaseController { tcXtjcService.importUser(tcXtjcList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) { + tcXtjcService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqbgController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqbgController.java index a7c1821f..24f71669 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqbgController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqbgController.java @@ -9,14 +9,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -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.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -117,4 +110,17 @@ public class TcYqbgController extends BaseController tcYqbgService.importUser(tcYqbgList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) { + tcYqbgService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqxxlnumController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqxxlnumController.java index 2d4a0316..c247ae21 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqxxlnumController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqxxlnumController.java @@ -8,14 +8,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -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.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -116,4 +109,17 @@ public class TcYqxxlnumController extends BaseController tcYqxxlnumService.importUser(tcYqxxlnumList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) { + tcYqxxlnumService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqxxltjController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqxxltjController.java index ab0afb53..5b36d1bc 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqxxltjController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqxxltjController.java @@ -112,5 +112,17 @@ public class TcYqxxltjController extends BaseController { tcYqxxltjService.importUser(YqxxltjList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus,@RequestParam("ids") List<String> ids) { + tcYqxxltjService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqyjController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqyjController.java index 1f3c35a7..ebbcb1c4 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqyjController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqyjController.java @@ -101,4 +101,17 @@ public class TcYqyjController extends BaseController { tcYqyjService.importUser(tcYqyjList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus,@RequestParam("ids") List<String> ids) { + tcYqyjService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqzsController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqzsController.java index 8c995590..d1ed307d 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqzsController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqzsController.java @@ -99,5 +99,17 @@ public class TcYqzsController extends BaseController { tcYqzsService.importUser(tcYqzsList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus,@RequestParam("ids") List<String> ids) { + tcYqzsService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYtlcController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYtlcController.java index 10281543..c56985b5 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYtlcController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYtlcController.java @@ -99,4 +99,17 @@ public class TcYtlcController extends BaseController { tcYtlcService.importUser(tcYtlcList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus,@RequestParam("ids") List<String> ids) { + tcYtlcService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZbxqController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZbxqController.java index 01a366b7..2593f24b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZbxqController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZbxqController.java @@ -102,4 +102,17 @@ public class TcZbxqController extends BaseController { tcZbxqService.importUser(tcZbxqList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus,@RequestParam("ids") List<String> ids) { + tcZbxqService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZdgzxmController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZdgzxmController.java index 2eacec33..b68c497a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZdgzxmController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZdgzxmController.java @@ -103,4 +103,17 @@ public class TcZdgzxmController extends BaseController { tcZdgzxmService.importUser(tcZdgzxmList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus,@RequestParam("ids") List<String> ids) { + tcZdgzxmService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZdlyjgController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZdlyjgController.java index bc7a3337..2e50d843 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZdlyjgController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZdlyjgController.java @@ -98,4 +98,17 @@ public class TcZdlyjgController extends BaseController { tcZdlyjgService.importUser(tcZdlyjgList); return AjaxResult.success(); } + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus,@RequestParam("ids") List<String> ids) { + tcZdlyjgService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZdqymlController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZdqymlController.java index eac8cb39..cac04a58 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZdqymlController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZdqymlController.java @@ -99,4 +99,18 @@ public class TcZdqymlController extends BaseController { tcZdqymlService.importUser(tcZdqymlList); return AjaxResult.success(); } + + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus,@RequestParam("ids") List<String> ids) { + tcZdqymlService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZfwzController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZfwzController.java index 5cf6db42..3474f81f 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZfwzController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZfwzController.java @@ -103,4 +103,18 @@ public class TcZfwzController extends BaseController { tcZfwzService.importUser(tcZfwzList); return AjaxResult.success(); } + + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus,@RequestParam("ids") List<String> ids) { + tcZfwzService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZxyhController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZxyhController.java index cc08bc5f..0c2d1b6d 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZxyhController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZxyhController.java @@ -8,14 +8,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -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.*; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; @@ -109,4 +102,18 @@ public class TcZxyhController extends BaseController { tcZxyhService.importUser(tcZxyhList); return AjaxResult.success(); } + + /** + * 批量启用禁用 + * + * @param isStatus 启用禁用状态 + * @return + */ + + @ApiOperation("批量启用禁用") + @GetMapping("/isStatus") + public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) { + tcZxyhService.updateByisStatus(isStatus,ids); + return AjaxResult.success(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWbMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWbMapper.java index 43918354..666a1fad 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWbMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWbMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcWb; +import org.apache.ibatis.annotations.Param; /** * 微博Mapper接口 @@ -58,4 +59,11 @@ public interface TcWbMapper * @return 结果 */ public int deleteTcWbByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWlaqzcqyMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWlaqzcqyMapper.java index a771e0e8..a464b248 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWlaqzcqyMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWlaqzcqyMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcWlaqzcqy; +import org.apache.ibatis.annotations.Param; /** * 网络安全支持单位Mapper接口 @@ -58,4 +59,11 @@ public interface TcWlaqzcqyMapper * @return 结果 */ public int deleteTcWlaqzcqyByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWldvMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWldvMapper.java index fd122bd7..2f650134 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWldvMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWldvMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcWldv; +import org.apache.ibatis.annotations.Param; /** * 网络大VMapper接口 @@ -58,4 +59,11 @@ public interface TcWldvMapper * @return 结果 */ public int deleteTcWldvByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWljgMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWljgMapper.java index 7e124141..d2f063d6 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWljgMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWljgMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcWljg; +import org.apache.ibatis.annotations.Param; /** * 网络监测Mapper接口 @@ -60,5 +61,10 @@ public interface TcWljgMapper public int deleteTcWljgByIds(Long[] ids); - + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWljgtjMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWljgtjMapper.java index 3f73fd8f..af80d5bd 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWljgtjMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWljgtjMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcWljgtj; +import org.apache.ibatis.annotations.Param; /** * 网络监测统计Mapper接口 @@ -58,4 +59,11 @@ public interface TcWljgtjMapper * @return 结果 */ public int deleteTcWljgtjByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWlmqfzrMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWlmqfzrMapper.java index e6a7bd46..c64b9c38 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWlmqfzrMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWlmqfzrMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcWlmqfzr; +import org.apache.ibatis.annotations.Param; /** * 网络民情负责人Mapper接口 @@ -58,4 +59,11 @@ public interface TcWlmqfzrMapper * @return 结果 */ public int deleteTcWlmqfzrByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWlwmzyzMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWlwmzyzMapper.java index ab90b4d8..aaa056e7 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWlwmzyzMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWlwmzyzMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcWlwmzyz; +import org.apache.ibatis.annotations.Param; /** * 网络文明志愿者Mapper接口 @@ -58,4 +59,11 @@ public interface TcWlwmzyzMapper * @return 结果 */ public int deleteTcWlwmzyzByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWpwzlyqkMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWpwzlyqkMapper.java index 1368042b..4bc03067 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWpwzlyqkMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWpwzlyqkMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcWpwzlyqk; +import org.apache.ibatis.annotations.Param; /** * 网评文章录用情况Mapper接口 @@ -58,4 +59,12 @@ public interface TcWpwzlyqkMapper * @return 结果 */ public int deleteTcWpwzlyqkByIds(Long[] ids); + + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWpyMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWpyMapper.java index a6cd3127..2c1f72c8 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWpyMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWpyMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcWpy; +import org.apache.ibatis.annotations.Param; /** * 网评员Mapper接口 @@ -58,4 +59,11 @@ public interface TcWpyMapper * @return 结果 */ public int deleteTcWpyByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWpyrwwclMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWpyrwwclMapper.java index af6f1d1a..04ed4ad0 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWpyrwwclMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWpyrwwclMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcWpyrwwcl; +import org.apache.ibatis.annotations.Param; /** * 网评员任务完成率(网评系统)Mapper接口 @@ -58,4 +59,11 @@ public interface TcWpyrwwclMapper * @return 结果 */ public int deleteTcWpyrwwclByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWzMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWzMapper.java index 6ebf13e1..8b8c7a94 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWzMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcWzMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcWz; +import org.apache.ibatis.annotations.Param; /** * 网站Mapper接口 @@ -58,4 +59,11 @@ public interface TcWzMapper * @return 结果 */ public int deleteTcWzByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcXtjcMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcXtjcMapper.java index 4105d4b5..56ab2eee 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcXtjcMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcXtjcMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcXtjc; +import org.apache.ibatis.annotations.Param; /** * 系统监测Mapper接口 @@ -58,4 +59,11 @@ public interface TcXtjcMapper * @return 结果 */ public int deleteTcXtjcByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqbgMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqbgMapper.java index 039af919..f263e207 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqbgMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqbgMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcYqbg; +import org.apache.ibatis.annotations.Param; /** * 舆情报告Mapper接口 @@ -58,4 +59,11 @@ public interface TcYqbgMapper * @return 结果 */ public int deleteTcYqbgByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqxxlnumMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqxxlnumMapper.java index 7c9627bd..b68d1494 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqxxlnumMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqxxlnumMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcYqxxlnum; +import org.apache.ibatis.annotations.Param; /** * 舆情信息量统计Mapper接口 @@ -58,4 +59,11 @@ public interface TcYqxxlnumMapper * @return 结果 */ public int deleteTcYqxxlnumByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqxxltjMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqxxltjMapper.java index 8449c9a2..3752dba9 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqxxltjMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqxxltjMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcYqxxltj; +import org.apache.ibatis.annotations.Param; /** * 舆情信息量统计明細Mapper接口 @@ -58,4 +59,11 @@ public interface TcYqxxltjMapper * @return 结果 */ public int deleteTcYqxxltjByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqyjMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqyjMapper.java index 10b33d50..40482d64 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqyjMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqyjMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcYqyj; +import org.apache.ibatis.annotations.Param; /** * 舆情预警Mapper接口 @@ -58,4 +59,11 @@ public interface TcYqyjMapper * @return 结果 */ public int deleteTcYqyjByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqzsMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqzsMapper.java index 92470ad0..93d3e19a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqzsMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqzsMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcYqzs; +import org.apache.ibatis.annotations.Param; /** * 舆情走势图Mapper接口 @@ -60,6 +61,10 @@ public interface TcYqzsMapper public int deleteTcYqzsByIds(Long[] ids); - - + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYtlcMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYtlcMapper.java index 31c06a19..18103906 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYtlcMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYtlcMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcYtlc; +import org.apache.ibatis.annotations.Param; /** * 约谈流程Mapper接口 @@ -58,4 +59,11 @@ public interface TcYtlcMapper * @return 结果 */ public int deleteTcYtlcByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZbxqMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZbxqMapper.java index 27097fcd..08eac0ad 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZbxqMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZbxqMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcZbxq; +import org.apache.ibatis.annotations.Param; /** * 转办量、转办详情Mapper接口 @@ -58,4 +59,11 @@ public interface TcZbxqMapper * @return 结果 */ public int deleteTcZbxqByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZdgzxmMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZdgzxmMapper.java index a3d77c95..38bc3a89 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZdgzxmMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZdgzxmMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcZdgzxm; +import org.apache.ibatis.annotations.Param; /** * 重点工作项目Mapper接口 @@ -58,4 +59,11 @@ public interface TcZdgzxmMapper * @return 结果 */ public int deleteTcZdgzxmByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZdlyjgMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZdlyjgMapper.java index e8dd7b96..0f8f4b4e 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZdlyjgMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZdlyjgMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcZdlyjg; +import org.apache.ibatis.annotations.Param; /** * 重点领域监管Mapper接口 @@ -58,4 +59,11 @@ public interface TcZdlyjgMapper * @return 结果 */ public int deleteTcZdlyjgByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZdqymlMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZdqymlMapper.java index 9f09f620..f5ea7f8e 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZdqymlMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZdqymlMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcZdqyml; +import org.apache.ibatis.annotations.Param; /** * 重点企业名录Mapper接口 @@ -58,4 +59,11 @@ public interface TcZdqymlMapper * @return 结果 */ public int deleteTcZdqymlByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZfwzMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZfwzMapper.java index 04980061..2fa84a3c 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZfwzMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZfwzMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcZfwz; +import org.apache.ibatis.annotations.Param; /** * 政府网站Mapper接口 @@ -58,4 +59,12 @@ public interface TcZfwzMapper * @return 结果 */ public int deleteTcZfwzByIds(Long[] ids); + + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZxyhMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZxyhMapper.java index b415ee7f..74a83760 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZxyhMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZxyhMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.mapper; import java.util.List; import com.ruoyi.tcZz.domain.TcZxyh; +import org.apache.ibatis.annotations.Param; /** * 最新隐患Mapper接口 @@ -58,4 +59,11 @@ public interface TcZxyhMapper * @return 结果 */ public int deleteTcZxyhByIds(Long[] ids); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWbService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWbService.java index 4c408e3f..2d5f9bed 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWbService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWbService.java @@ -68,4 +68,11 @@ public interface ITcWbService * @return 结果 */ public String importUser(List<TcWb> tcWbList); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWlaqzcqyService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWlaqzcqyService.java index 2a488090..d0e340f4 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWlaqzcqyService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWlaqzcqyService.java @@ -69,4 +69,10 @@ public interface ITcWlaqzcqyService */ public String importUser(List<TcWlaqzcqy> tcWlaqzcqyList); + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWldvService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWldvService.java index c7d6fb6e..d32b855c 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWldvService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWldvService.java @@ -68,4 +68,11 @@ public interface ITcWldvService * @return 结果 */ public String importUser(List<TcWldv> tcWldvList); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWljgService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWljgService.java index 76a4d511..ccf002f4 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWljgService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWljgService.java @@ -66,4 +66,12 @@ public interface ITcWljgService * @return 结果 */ public String importUser(List<TcWljg> tcWljgList); + + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWljgtjService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWljgtjService.java index 5ef5492c..aef9fcd4 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWljgtjService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWljgtjService.java @@ -68,4 +68,11 @@ public interface ITcWljgtjService * @return 结果 */ public String importUser(List<TcWljgtj> tcWljgtjList); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWlmqfzrService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWlmqfzrService.java index 18da1ec7..e4fb66d7 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWlmqfzrService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWlmqfzrService.java @@ -68,4 +68,11 @@ public interface ITcWlmqfzrService * @return 结果 */ public String importUser(List<TcWlmqfzr> tcWlmqfzrList); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWlwmzyzService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWlwmzyzService.java index 7d6a6d1f..2c03c135 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWlwmzyzService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWlwmzyzService.java @@ -69,4 +69,11 @@ public interface ITcWlwmzyzService * @return 结果 */ public String importUser(List<TcWlwmzyz> tcWlwmzyzList); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWpwzlyqkService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWpwzlyqkService.java index 089ff0d0..724293be 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWpwzlyqkService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWpwzlyqkService.java @@ -68,4 +68,12 @@ public interface ITcWpwzlyqkService * @return 结果 */ public String importUser(List<TcWpwzlyqk> tcWpwzlyqkList); + + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWpyService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWpyService.java index b954ccf8..a8743e61 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWpyService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWpyService.java @@ -68,4 +68,12 @@ public interface ITcWpyService * @return 结果 */ public String importUser(List<TcWpy> tcWpyList); + + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWpyrwwclService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWpyrwwclService.java index 85140b5c..e57f69bd 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWpyrwwclService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWpyrwwclService.java @@ -68,4 +68,11 @@ public interface ITcWpyrwwclService * @return 结果 */ public String importUser(List<TcWpyrwwcl> tTcWpyrwwclList); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWzService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWzService.java index 46168f35..29bfa1d9 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWzService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcWzService.java @@ -68,4 +68,11 @@ public interface ITcWzService * @return 结果 */ public String importUser(List<TcWz> tcWzList); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcXtjcService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcXtjcService.java index 790f7a42..8408889f 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcXtjcService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcXtjcService.java @@ -69,4 +69,11 @@ public interface ITcXtjcService * @return 结果 */ public String importUser(List<TcXtjc> tcXtjcList); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqbgService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqbgService.java index 46cb2b22..787e13da 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqbgService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqbgService.java @@ -68,4 +68,11 @@ public interface ITcYqbgService * @return 结果 */ public String importUser(List<TcYqbg> tcYqbgList); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqxxlnumService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqxxlnumService.java index 33329892..f86c2818 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqxxlnumService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqxxlnumService.java @@ -69,4 +69,10 @@ public interface ITcYqxxlnumService * @return 结果 */ public String importUser(List<TcYqxxlnum> tcYqxxlnumList); + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqxxltjService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqxxltjService.java index 0ad16d10..4d658512 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqxxltjService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqxxltjService.java @@ -69,4 +69,11 @@ public interface ITcYqxxltjService * @return 结果 */ public String importUser(List<TcYqxxltj> tcJgdwList); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqyjService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqyjService.java index 61fbf2cc..ab4c9505 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqyjService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqyjService.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.service; import java.util.List; +import com.ruoyi.tcZz.domain.TcVx; import com.ruoyi.tcZz.domain.TcWljgtj; import com.ruoyi.tcZz.domain.TcYqyj; @@ -64,9 +65,17 @@ public interface ITcYqyjService /** - * 导入舆情预警信息 + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); + + /** + * 导入信信息 * * @return 结果 */ public String importUser(List<TcYqyj> tcYqyjList); + } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqzsService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqzsService.java index 74aaca08..ce732092 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqzsService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqzsService.java @@ -68,5 +68,10 @@ public interface ITcYqzsService { public String importUser(List<TcYqzs> tcYqzsList); - + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYtlcService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYtlcService.java index e19b4319..6b326236 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYtlcService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYtlcService.java @@ -66,4 +66,11 @@ public interface ITcYtlcService { * @return 结果 */ public String importUser(List<TcYtlc> tcYtlcList); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZbxqService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZbxqService.java index f794182c..e0b8cb2c 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZbxqService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZbxqService.java @@ -68,4 +68,11 @@ public interface ITcZbxqService * @return 结果 */ public String importUser(List<TcZbxq> tcZbxqList); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZdgzxmService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZdgzxmService.java index 9ab76b01..68c76613 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZdgzxmService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZdgzxmService.java @@ -69,4 +69,11 @@ public interface ITcZdgzxmService * @return 结果 */ public String importUser(List<TcZdgzxm> tcZdgzxmList); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZdlyjgService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZdlyjgService.java index 9be16698..f3a0860f 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZdlyjgService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZdlyjgService.java @@ -69,4 +69,11 @@ public interface ITcZdlyjgService * @return 结果 */ public String importUser(List<TcZdlyjg> tcZdlyjgList); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZdqymlService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZdqymlService.java index 2cbd9e72..15d874c8 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZdqymlService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZdqymlService.java @@ -70,4 +70,12 @@ public interface ITcZdqymlService * @return 结果 */ public String importUser(List<TcZdqyml> tcZdqymlList); + + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZfwzService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZfwzService.java index 27eb139b..515b0363 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZfwzService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZfwzService.java @@ -69,4 +69,11 @@ public interface ITcZfwzService * @return 结果 */ public String importUser(List<TcZfwz> tcZfwzList); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZxyhService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZxyhService.java index 1b72a899..20f4029b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZxyhService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZxyhService.java @@ -69,4 +69,11 @@ public interface ITcZxyhService * @return 结果 */ public String importUser(List<TcZxyh> tcZxyhList); + + /** + * 批量启用禁用 + * + * + */ + public void updateByisStatus(Integer isStatus,List<String> ids); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWbServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWbServiceImpl.java index 87013dfd..c4648160 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWbServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWbServiceImpl.java @@ -106,4 +106,9 @@ public class TcWbServiceImpl implements ITcWbService } return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcWbMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWlaqzcqyServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWlaqzcqyServiceImpl.java index d88f4fb9..a53ddd9b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWlaqzcqyServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWlaqzcqyServiceImpl.java @@ -106,4 +106,9 @@ public class TcWlaqzcqyServiceImpl implements ITcWlaqzcqyService } return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcWlaqzcqyMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWldvServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWldvServiceImpl.java index 2dd953ea..04284135 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWldvServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWldvServiceImpl.java @@ -106,4 +106,9 @@ public class TcWldvServiceImpl implements ITcWldvService } return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcWldvMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWljgServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWljgServiceImpl.java index 0c4d9ac5..bd308b89 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWljgServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWljgServiceImpl.java @@ -106,4 +106,9 @@ public class TcWljgServiceImpl implements ITcWljgService return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcWljgMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWljgtjServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWljgtjServiceImpl.java index 7a17a863..f4709343 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWljgtjServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWljgtjServiceImpl.java @@ -106,4 +106,9 @@ public class TcWljgtjServiceImpl implements ITcWljgtjService } return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcWljgtjMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWlmqfzrServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWlmqfzrServiceImpl.java index 89a87389..eed770ee 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWlmqfzrServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWlmqfzrServiceImpl.java @@ -106,4 +106,9 @@ public class TcWlmqfzrServiceImpl implements ITcWlmqfzrService } return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcWlmqfzrMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWlwmzyzServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWlwmzyzServiceImpl.java index 057c9b72..19b2593d 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWlwmzyzServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWlwmzyzServiceImpl.java @@ -102,4 +102,9 @@ public class TcWlwmzyzServiceImpl implements ITcWlwmzyzService { return successMsg.toString(); } + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcWlwmzyzMapper.updateByisStatus(isStatus,ids); + } + } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWpwzlyqkServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWpwzlyqkServiceImpl.java index 53a2a509..890940e4 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWpwzlyqkServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWpwzlyqkServiceImpl.java @@ -108,4 +108,9 @@ public class TcWpwzlyqkServiceImpl implements ITcWpwzlyqkService return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcWpwzlyqkMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWpyServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWpyServiceImpl.java index cc15a036..30b48e14 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWpyServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWpyServiceImpl.java @@ -107,4 +107,9 @@ public class TcWpyServiceImpl implements ITcWpyService return successMsg.toString(); } + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcWpyMapper.updateByisStatus(isStatus,ids); + } + } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWpyrwwclServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWpyrwwclServiceImpl.java index cbedeef6..41d5f696 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWpyrwwclServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWpyrwwclServiceImpl.java @@ -106,4 +106,9 @@ public class TcWpyrwwclServiceImpl implements ITcWpyrwwclService } return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcWpyrwwclMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWzServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWzServiceImpl.java index 8958c4fa..a5713b8b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWzServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcWzServiceImpl.java @@ -107,4 +107,9 @@ public class TcWzServiceImpl implements ITcWzService } return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcWzMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcXtjcServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcXtjcServiceImpl.java index f3a793cf..97dfc2b8 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcXtjcServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcXtjcServiceImpl.java @@ -108,4 +108,9 @@ public class TcXtjcServiceImpl implements ITcXtjcService return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcXtjcMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqbgServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqbgServiceImpl.java index 26a9850d..84ccd30f 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqbgServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqbgServiceImpl.java @@ -107,4 +107,8 @@ public class TcYqbgServiceImpl implements ITcYqbgService return successMsg.toString(); } + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcYqbgMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqxxlnumServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqxxlnumServiceImpl.java index 8c16a9c5..ad35d57f 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqxxlnumServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqxxlnumServiceImpl.java @@ -106,4 +106,9 @@ public class TcYqxxlnumServiceImpl implements ITcYqxxlnumService } return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcYqxxlnumMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqxxltjServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqxxltjServiceImpl.java index a5584c33..913be7c9 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqxxltjServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqxxltjServiceImpl.java @@ -108,4 +108,9 @@ public class TcYqxxltjServiceImpl implements ITcYqxxltjService return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcYqxxltjMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqyjServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqyjServiceImpl.java index 6516f1b8..9915f148 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqyjServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqyjServiceImpl.java @@ -2,6 +2,7 @@ package com.ruoyi.tcZz.service.impl; import java.util.List; import com.ruoyi.common.utils.DateUtils; +import com.ruoyi.tcZz.domain.TcVx; import com.ruoyi.tcZz.domain.TcWljgtj; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @@ -95,6 +96,7 @@ public class TcYqyjServiceImpl implements ITcYqyjService return tcYqyjMapper.deleteTcYqyjById(id); } + @Override public String importUser(List<TcYqyj> tcYqyjList) { StringBuilder successMsg = new StringBuilder(); @@ -106,4 +108,11 @@ public class TcYqyjServiceImpl implements ITcYqyjService } return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcYqyjMapper.updateByisStatus(isStatus,ids); + } + + } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqzsServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqzsServiceImpl.java index 075a2c2d..81f36465 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqzsServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqzsServiceImpl.java @@ -107,5 +107,10 @@ public class TcYqzsServiceImpl implements ITcYqzsService return successMsg.toString(); } + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcYqzsMapper.updateByisStatus(isStatus,ids); + } + } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYtlcServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYtlcServiceImpl.java index 17680a59..2c261b62 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYtlcServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYtlcServiceImpl.java @@ -106,4 +106,9 @@ public class TcYtlcServiceImpl implements ITcYtlcService } return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcYtlcMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZbxqServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZbxqServiceImpl.java index 0b373113..aba8ebd7 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZbxqServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZbxqServiceImpl.java @@ -106,4 +106,10 @@ public class TcZbxqServiceImpl implements ITcZbxqService } return successMsg.toString(); } + + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcZbxqMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZdgzxmServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZdgzxmServiceImpl.java index 3e42fd2d..bce694ef 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZdgzxmServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZdgzxmServiceImpl.java @@ -106,4 +106,9 @@ public class TcZdgzxmServiceImpl implements ITcZdgzxmService } return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcZdgzxmMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZdlyjgServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZdlyjgServiceImpl.java index face0498..5f1ea045 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZdlyjgServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZdlyjgServiceImpl.java @@ -106,4 +106,9 @@ public class TcZdlyjgServiceImpl implements ITcZdlyjgService } return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcZdlyjgMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZdqymlServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZdqymlServiceImpl.java index 60c09787..8a27e9b5 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZdqymlServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZdqymlServiceImpl.java @@ -106,4 +106,9 @@ public class TcZdqymlServiceImpl implements ITcZdqymlService } return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcZdqymlMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZfwzServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZfwzServiceImpl.java index 66fc2734..5df5777a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZfwzServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZfwzServiceImpl.java @@ -106,4 +106,9 @@ public class TcZfwzServiceImpl implements ITcZfwzService } return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcZfwzMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZxyhServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZxyhServiceImpl.java index f8302216..6b1dcc96 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZxyhServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZxyhServiceImpl.java @@ -101,4 +101,9 @@ public class TcZxyhServiceImpl implements ITcZxyhService { return successMsg.toString(); } + + @Override + public void updateByisStatus(Integer isStatus,List<String> ids) { + tcZxyhMapper.updateByisStatus(isStatus,ids); + } } diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcWbMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcWbMapper.xml index 2d8a7b8b..af985c2f 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcWbMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcWbMapper.xml @@ -83,6 +83,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_wb + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcWbById" parameterType="Long"> delete from tc_wb where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcWzMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcWzMapper.xml index 9f9a15c8..9460f187 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcWzMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcWzMapper.xml @@ -93,6 +93,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_wz + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcWzById" parameterType="Long"> delete from tc_wz where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcYtlcMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcYtlcMapper.xml index bcdd07c1..b781f7ab 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcYtlcMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcYtlcMapper.xml @@ -78,6 +78,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_ytlc + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcYtlcById" parameterType="Long"> delete from tc_ytlc where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcZdgzxmMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcZdgzxmMapper.xml index 15bb60c6..56971ce8 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcZdgzxmMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcZdgzxmMapper.xml @@ -98,6 +98,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_zdgzxm + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcZdgzxmById" parameterType="Long"> delete from tc_zdgzxm where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcZdlyjgMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcZdlyjgMapper.xml index a12471b9..e8b51027 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcZdlyjgMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcZdlyjgMapper.xml @@ -98,6 +98,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_zdlyjg + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcZdlyjgById" parameterType="Long"> delete from tc_zdlyjg where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcZdqymlMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcZdqymlMapper.xml index 93ec474b..b3ee069f 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcZdqymlMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netManage/TcZdqymlMapper.xml @@ -118,6 +118,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_zdqyml + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcZdqymlById" parameterType="Long"> delete from tc_zdqyml where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcCyMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcCyMapper.xml index 6c1d41f3..ec25c3b2 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcCyMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcCyMapper.xml @@ -27,6 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="cyCount != null "> and cy_count = #{cyCount}</if> <if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if> </where> + order by create_time desc </select> <select id="selectTcCyById" parameterType="Long" resultMap="TcCyResult"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcDtsxMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcDtsxMapper.xml index a80e7d8d..3a116a0d 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcDtsxMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcDtsxMapper.xml @@ -34,6 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> </where> + order by create_time desc </select> <select id="selectTcDtsxById" parameterType="Long" resultMap="TcDtsxResult"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcMtlxMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcMtlxMapper.xml index b85f4399..250b5b1e 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcMtlxMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcMtlxMapper.xml @@ -31,6 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> </where> + order by create_time desc </select> <select id="selectTcMtlxById" parameterType="Long" resultMap="TcMtlxResult"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcSslxMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcSslxMapper.xml index 346e88bf..2440fc53 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcSslxMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcSslxMapper.xml @@ -31,6 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> </where> + order by create_time desc </select> <select id="selectTcSslxById" parameterType="Long" resultMap="TcSslxResult"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqbgMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqbgMapper.xml index 61dbb2ed..3a60ae76 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqbgMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqbgMapper.xml @@ -28,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <where> <if test="id != null "> and id = #{id}</if> <if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if> - <if test="isStatus != null "> and isStatus = #{isStatus}</if> +<!-- <if test="isStatus != null "> and isStatus = #{isStatus}</if>--> <if test="type != null "> and type = #{type}</if> <if test="title != null and title != ''"> and title = #{title}</if> <if test="fileName != null and fileName != ''"> and file_name like concat('%', #{fileName}, '%')</if> @@ -38,7 +38,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if> <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> + and isStatus = 1 </where> + order by create_time desc </select> <select id="selectTcYqbgById" parameterType="Long" resultMap="TcYqbgResult"> @@ -93,6 +95,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_yqbg + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcYqbgById" parameterType="Long"> delete from tc_yqbg where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqxxlnumMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqxxlnumMapper.xml index 0e9cd46d..388ba21c 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqxxlnumMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqxxlnumMapper.xml @@ -35,6 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> </where> + order by create_time desc </select> <select id="selectTcYqxxlnumById" parameterType="Long" resultMap="TcYqxxlnumResult"> @@ -83,6 +84,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_yqxxlnum + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcYqxxlnumById" parameterType="Long"> delete from tc_yqxxlnum where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqxxltjMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqxxltjMapper.xml index b4bf42bd..f72ba8e7 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqxxltjMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqxxltjMapper.xml @@ -29,7 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <where> <if test="id != null "> and id = #{id}</if> <if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if> - <if test="isStatus != null "> and isStatus = #{isStatus}</if> +<!-- <if test="isStatus != null "> and isStatus = #{isStatus}</if>--> <if test="type != null "> and type = #{type}</if> <if test="title != null and title != ''"> and title = #{title}</if> <if test="source != null and source != ''"> and source = #{source}</if> @@ -40,7 +40,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if> <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> + and isStatus = 1 </where> + order by create_time desc </select> <select id="selectTcYqxxltjById" parameterType="Long" resultMap="TcYqxxltjResult"> @@ -98,6 +100,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_yqxxltj + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcYqxxltjById" parameterType="Long"> delete from tc_yqxxltj where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqyjMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqyjMapper.xml index ba5f7bf3..5fedfa17 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqyjMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqyjMapper.xml @@ -28,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <where> <if test="id != null "> and id = #{id}</if> <if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if> - <if test="isStatus != null "> and isStatus = #{isStatus}</if> +<!-- <if test="isStatus != null "> and isStatus = #{isStatus}</if>--> <if test="title != null and title != ''"> and title = #{title}</if> <if test="source != null and source != ''"> and source = #{source}</if> <if test="params.beginDateTime != null and params.beginDateTime != '' and params.endDateTime != null and params.endDateTime != ''"> and date_time between #{params.beginDateTime} and #{params.endDateTime}</if> @@ -38,7 +38,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if> <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> + and isStatus = 1 </where> + order by create_time desc </select> <select id="selectTcYqyjById" parameterType="Long" resultMap="TcYqyjResult"> @@ -93,6 +95,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_yqyj + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcYqyjById" parameterType="Long"> delete from tc_yqyj where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqzsMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqzsMapper.xml index 1342c327..946256ef 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqzsMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqzsMapper.xml @@ -36,7 +36,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="count1 != null "> and count1 = #{count1}</if> <if test="count2 != null "> and count2 = #{count2}</if> </where> - order by date_time asc + order by create_time desc + </select> <select id="selectTcYqzsById" parameterType="Long" resultMap="TcYqzsResult"> @@ -85,6 +86,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_yqzs + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcYqzsById" parameterType="Long"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcZbxqMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcZbxqMapper.xml index 42b92eb7..247e1d6f 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcZbxqMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcZbxqMapper.xml @@ -26,7 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <include refid="selectTcZbxqVo"/> <where> <if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if> - <if test="isStatus != null "> and isStatus = #{isStatus}</if> +<!-- <if test="isStatus != null "> and isStatus = #{isStatus}</if>--> <if test="yqTitle != null and yqTitle != ''"> and yq_title = #{yqTitle}</if> <if test="depName != null and depName != ''"> and dep_name like concat('%', #{depName}, '%')</if> <if test="yqState != null and yqState != ''"> and yq_state = #{yqState}</if> @@ -35,7 +35,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if> <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> + and isStatus = 1 </where> + order by create_time desc </select> <select id="selectTcZbxqById" parameterType="Long" resultMap="TcZbxqResult"> @@ -87,6 +89,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_zbxq + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcZbxqById" parameterType="Long"> delete from tc_zbxq where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWlaqzcqyMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWlaqzcqyMapper.xml index 77ccce2f..84b1bdd2 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWlaqzcqyMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWlaqzcqyMapper.xml @@ -88,6 +88,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_wlaqzcqy + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcWlaqzcqyById" parameterType="Long"> delete from tc_wlaqzcqy where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWldvMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWldvMapper.xml index 22d2f9a1..46e39a20 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWldvMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWldvMapper.xml @@ -98,6 +98,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_wldv + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcWldvById" parameterType="Long"> delete from tc_wldv where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWlmqfzrMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWlmqfzrMapper.xml index d3438932..70e0b5fc 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWlmqfzrMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWlmqfzrMapper.xml @@ -103,6 +103,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_wlmqfzr + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcWlmqfzrById" parameterType="Long"> delete from tc_wlmqfzr where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWlwmzyzMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWlwmzyzMapper.xml index 9f9470ca..1cdcbbcb 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWlwmzyzMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWlwmzyzMapper.xml @@ -108,6 +108,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_wlwmzyz + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcWlwmzyzById" parameterType="Long"> delete from tc_wlwmzyz where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWpwzlyqkMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWpwzlyqkMapper.xml index e7225397..b346f9c5 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWpwzlyqkMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWpwzlyqkMapper.xml @@ -88,6 +88,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_wpwzlyqk + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcWpwzlyqkById" parameterType="Long"> delete from tc_wpwzlyqk where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWpyMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWpyMapper.xml index 8d58a367..ac3cfc0e 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWpyMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWpyMapper.xml @@ -118,6 +118,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_wpy + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcWpyById" parameterType="Long"> delete from tc_wpy where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWpyrwwclMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWpyrwwclMapper.xml index ef19f207..4c329878 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWpyrwwclMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkEcology/TcWpyrwwclMapper.xml @@ -73,6 +73,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_wpyrwwcl + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcWpyrwwclById" parameterType="Long"> delete from tc_wpyrwwcl where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcAqyhMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcAqyhMapper.xml index 55774f16..f726264f 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcAqyhMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcAqyhMapper.xml @@ -31,6 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> </where> + order by create_time desc </select> <select id="selectTcAqyhById" parameterType="Long" resultMap="TcAqyhResult"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcBmtbMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcBmtbMapper.xml index 261fff14..079e4eea 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcBmtbMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcBmtbMapper.xml @@ -25,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <include refid="selectTcBmtbVo"/> <where> <if test="id != null "> and id = #{id}</if> - <if test="isStatus != null "> and isStatus = #{isStatus}</if> +<!-- <if test="isStatus != null "> and isStatus = #{isStatus}</if>--> <if test="depName != null and depName != ''"> and dep_name like concat('%', #{depName}, '%')</if> <if test="fileName != null and fileName != ''"> and file_name like concat('%', #{fileName}, '%')</if> <if test="fileUrl != null and fileUrl != ''"> and file_url = #{fileUrl}</if> @@ -34,7 +34,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if> <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> + and isStatus = 1 </where> + order by create_time desc </select> <select id="selectTcBmtbById" parameterType="Long" resultMap="TcBmtbResult"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcDbdwMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcDbdwMapper.xml index aaf68474..dff5a32b 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcDbdwMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcDbdwMapper.xml @@ -52,13 +52,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="fzrDuty != null and fzrDuty != ''"> and fzr_duty = #{fzrDuty}</if> <if test="fzrTel != null and fzrTel != ''"> and fzr_tel = #{fzrTel}</if> <if test="fzrEmail != null and fzrEmail != ''"> and fzr_email = #{fzrEmail}</if> - <if test="isStatus != null "> and isStatus = #{isStatus}</if> +<!-- <if test="isStatus != null "> and isStatus = #{isStatus}</if>--> <if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if> <if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if> <if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if> <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> + and isStatus = 1 </where> + order by create_time desc </select> <select id="selectTcDbdwById" parameterType="Long" resultMap="TcDbdwResult"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcDbxtMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcDbxtMapper.xml index fc8a9f41..23619832 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcDbxtMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcDbxtMapper.xml @@ -58,13 +58,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="isHavedep != null and isHavedep != ''"> and is_haveDep = #{isHavedep}</if> <if test="systemDjbg != null and systemDjbg != ''"> and system_djbg = #{systemDjbg}</if> <if test="systemState != null and systemState != ''"> and system_state = #{systemState}</if> - <if test="isStatus != null "> and isStatus = #{isStatus}</if> +<!-- <if test="isStatus != null "> and isStatus = #{isStatus}</if>--> <if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if> <if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if> <if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if> <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> + and isStatus = 1 </where> + order by create_time desc </select> <select id="selectTcDbxtById" parameterType="Long" resultMap="TcDbxtResult"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcFbqkMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcFbqkMapper.xml index 21401160..f30f6100 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcFbqkMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcFbqkMapper.xml @@ -31,6 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> </where> + order by create_time desc </select> <select id="selectTcFbqkById" parameterType="Long" resultMap="TcFbqkResult"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcIdcdwMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcIdcdwMapper.xml index f38ca6c1..99332f4e 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcIdcdwMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcIdcdwMapper.xml @@ -26,7 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <where> <if test="id != null "> and id = #{id}</if> <if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if> - <if test="isStatus != null "> and isStatus = #{isStatus}</if> +<!-- <if test="isStatus != null "> and isStatus = #{isStatus}</if>--> <if test="ldcName != null and ldcName != ''"> and ldc_name like concat('%', #{ldcName}, '%')</if> <if test="ipData != null and ipData != ''"> and ip_data = #{ipData}</if> <if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if> @@ -34,7 +34,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if> <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> + and isStatus = 1 </where> + order by create_time desc </select> <select id="selectTcIdcdwById" parameterType="Long" resultMap="TcIdcdwResult"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcJgdwMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcJgdwMapper.xml index 975ad520..b6d9dee4 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcJgdwMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcJgdwMapper.xml @@ -31,7 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <where> <if test="id != null "> and id = #{id}</if> <if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if> - <if test="isStatus != null "> and isStatus = #{isStatus}</if> +<!-- <if test="isStatus != null "> and isStatus = #{isStatus}</if>--> <if test="unitName != null and unitName != ''"> and unit_name like concat('%', #{unitName}, '%')</if> <if test="systemName != null and systemName != ''"> and system_name like concat('%', #{systemName}, '%')</if> <if test="systemUrl != null and systemUrl != ''"> and system_url = #{systemUrl}</if> @@ -44,7 +44,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if> <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> + and isStatus = 1 </where> + order by create_time desc </select> <select id="selectTcJgdwById" parameterType="Long" resultMap="TcJgdwResult"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcMapMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcMapMapper.xml index 09ddfc1d..ca8b6610 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcMapMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcMapMapper.xml @@ -33,6 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> </where> + order by create_time desc </select> <select id="selectTcMapById" parameterType="Long" resultMap="TcMapResult"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSdtbMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSdtbMapper.xml index f26c34df..471cb9ac 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSdtbMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSdtbMapper.xml @@ -26,7 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <where> <if test="id != null "> and id = #{id}</if> <if test="area != null "> and area = #{area}</if> - <if test="isStatus != null "> and isStatus = #{isStatus}</if> +<!-- <if test="isStatus != null "> and isStatus = #{isStatus}</if>--> <if test="fileName != null and fileName != ''"> and file_name like concat('%', #{fileName}, '%')</if> <if test="fileUrl != null and fileUrl != ''"> and file_url = #{fileUrl}</if> <if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if> @@ -34,7 +34,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if> <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> + and isStatus = 1 </where> + order by create_time desc </select> <select id="selectTcSdtbById" parameterType="Long" resultMap="TcSdtbResult"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSgjipTop5Mapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSgjipTop5Mapper.xml index 2cb53601..532cafec 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSgjipTop5Mapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSgjipTop5Mapper.xml @@ -31,6 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> </where> + order by create_time desc </select> <select id="selectTcSgjipTop5ById" parameterType="Long" resultMap="TcSgjipTop5Result"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSjlyMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSjlyMapper.xml index 714f42fc..7b3951f3 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSjlyMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSjlyMapper.xml @@ -31,7 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="id != null "> and id = #{id}</if> <if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if> <if test="type != null "> and type = #{type}</if> - <if test="isStatus != null "> and isStatus = #{isStatus}</if> +<!-- <if test="isStatus != null "> and isStatus = #{isStatus}</if>--> <if test="zcName != null and zcName != ''"> and zc_name like concat('%', #{zcName}, '%')</if> <if test="affUnit != null and affUnit != ''"> and aff_unit = #{affUnit}</if> <if test="sysyemIp != null and sysyemIp != ''"> and sysyem_ip = #{sysyemIp}</if> @@ -42,7 +42,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if> <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> + and isStatus = 1 </where> + order by create_time desc </select> <select id="selectTcSjlyById" parameterType="Long" resultMap="TcSjlyResult"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSjlytjMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSjlytjMapper.xml index ba502962..80a46976 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSjlytjMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcSjlytjMapper.xml @@ -35,6 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> </where> + order by create_time desc </select> <select id="selectTcSjlytjById" parameterType="Long" resultMap="TcSjlytjResult"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcTbczMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcTbczMapper.xml index ce6fa47b..4ef1a863 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcTbczMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcTbczMapper.xml @@ -29,7 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <where> <if test="id != null "> and id = #{id}</if> <if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if> - <if test="isStatus != null "> and isStatus = #{isStatus}</if> +<!-- <if test="isStatus != null "> and isStatus = #{isStatus}</if>--> <if test="unitName != null and unitName != ''"> and unit_name like concat('%', #{unitName}, '%')</if> <if test="ipAddress != null and ipAddress != ''"> and ip_address = #{ipAddress}</if> <if test="czState != null and czState != ''"> and cz_state = #{czState}</if> @@ -40,7 +40,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if> <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> + and isStatus = 1 </where> + order by create_time desc </select> <select id="selectTcTbczById" parameterType="Long" resultMap="TcTbczResult"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcTbwcMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcTbwcMapper.xml index bdb2da7e..da62c130 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcTbwcMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcTbwcMapper.xml @@ -37,6 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> </where> + order by create_time desc </select> <select id="selectTcTbwcById" parameterType="Long" resultMap="TcTbwcResult"> diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcWljgMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcWljgMapper.xml index 3f2a5600..b41ab983 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcWljgMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcWljgMapper.xml @@ -35,7 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <where> <if test="id != null ">and id = #{id}</if> <if test="areaId != null and areaId != ''">and area_id = #{areaId}</if> - <if test="isStatus != null ">and isStatus = #{isStatus}</if> +<!-- <if test="isStatus != null ">and isStatus = #{isStatus}</if>--> <if test="params.beginStartTime != null and params.beginStartTime != '' and params.endStartTime != null and params.endStartTime != ''"> and start_time between #{params.beginStartTime} and #{params.endStartTime} </if> @@ -58,7 +58,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime} </if> <if test="remark != null and remark != ''">and remark = #{remark}</if> + and isStatus = 1 </where> + order by create_time desc </select> <select id="selectTcWljgById" parameterType="Long" resultMap="TcWljgResult"> @@ -135,6 +137,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_wljg + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcWljgById" parameterType="Long"> delete from tc_wljg where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcWljgtjMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcWljgtjMapper.xml index 21a8531b..cde2701f 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcWljgtjMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcWljgtjMapper.xml @@ -35,6 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> </where> + order by create_time desc </select> <select id="selectTcWljgtjById" parameterType="Long" resultMap="TcWljgtjResult"> @@ -83,6 +84,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_wljgtj + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcWljgtjById" parameterType="Long"> delete from tc_wljgtj where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcXtjcMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcXtjcMapper.xml index 521aa376..fe534c68 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcXtjcMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcXtjcMapper.xml @@ -30,14 +30,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <where> <if test="id != null "> and id = #{id}</if> <if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if> - <if test="isStatus != null "> and isStatus = #{isStatus}</if> +<!-- <if test="isStatus != null "> and isStatus = #{isStatus}</if>--> <if test="unitName != null and unitName != ''"> and unit_name like concat('%', #{unitName}, '%')</if> <if test="systemName != null and systemName != ''"> and system_name like concat('%', #{systemName}, '%')</if> <if test="systemUrl != null and systemUrl != ''"> and system_url = #{systemUrl}</if> <if test="sysyemIp != null and sysyemIp != ''"> and sysyem_ip = #{sysyemIp}</if> <if test="isFocus != null and isFocus != ''"> and is_focus = #{isFocus}</if> <if test="level != null and level != ''"> and level = #{level}</if> + and isStatus = 1 </where> + order by create_time desc </select> <select id="selectTcXtjcById" parameterType="Long" resultMap="TcXtjcResult"> @@ -98,6 +100,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_xtjc + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcXtjcById" parameterType="Long"> delete from tc_xtjc where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcZfwzMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcZfwzMapper.xml index 968ea8f1..dcda4b29 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcZfwzMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcZfwzMapper.xml @@ -27,7 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <where> <if test="id != null "> and id = #{id}</if> <if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if> - <if test="isStatus != null "> and isStatus = #{isStatus}</if> +<!-- <if test="isStatus != null "> and isStatus = #{isStatus}</if>--> <if test="webUrl != null and webUrl != ''"> and web_url = #{webUrl}</if> <if test="assetName != null and assetName != ''"> and asset_name like concat('%', #{assetName}, '%')</if> <if test="assetLevel != null and assetLevel != ''"> and asset_level = #{assetLevel}</if> @@ -36,7 +36,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if> <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> + and isStatus = 1 </where> + order by create_time desc </select> <select id="selectTcZfwzById" parameterType="Long" resultMap="TcZfwzResult"> @@ -88,6 +90,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_zfwz + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcZfwzById" parameterType="Long"> delete from tc_zfwz where id = #{id} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcZxyhMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcZxyhMapper.xml index fa454d09..232aeb64 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcZxyhMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/networkSecurity/TcZxyhMapper.xml @@ -30,7 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <where> <if test="id != null "> and id = #{id}</if> <if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if> - <if test="isStatus != null "> and isStatus = #{isStatus}</if> +<!-- <if test="isStatus != null "> and isStatus = #{isStatus}</if>--> <if test="unitName != null and unitName != ''"> and unit_name like concat('%', #{unitName}, '%')</if> <if test="yhName != null and yhName != ''"> and yh_name like concat('%', #{yhName}, '%')</if> <if test="level != null and level != ''"> and level = #{level}</if> @@ -42,7 +42,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if> <if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if> <if test="remark != null and remark != ''"> and remark = #{remark}</if> + and isStatus = 1 </where> + order by create_time desc </select> <select id="selectTcZxyhById" parameterType="Long" resultMap="TcZxyhResult"> @@ -103,6 +105,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" </trim> where id = #{id} </update> + <update id="updateByisStatus"> + UPDATE tc_zxyh + SET isStatus = #{isStatus} + WHERE id IN + <foreach collection="ids" item="item" index="index" separator="," open="(" close=")"> + #{item} + </foreach> + </update> <delete id="deleteTcZxyhById" parameterType="Long"> delete from tc_zxyh where id = #{id}