From cb3a433d0831236f365dbbbae96b92e377d3f0cf Mon Sep 17 00:00:00 2001 From: wangxy <1481820854@qq.com> Date: Mon, 18 Nov 2024 16:43:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=AF=86=E5=93=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ruoyi/system/mapper/SysLogininforMapper.java | 2 +- .../src/main/java/com/ruoyi/system/mapper/SysOperLogMapper.java | 2 +- .../com/ruoyi/system/service/impl/SysLogininforServiceImpl.java | 2 +- .../com/ruoyi/system/service/impl/SysOperLogServiceImpl.java | 2 +- .../src/main/resources/mapper/system/SysLogininforMapper.xml | 2 +- .../src/main/resources/mapper/system/SysOperLogMapper.xml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysLogininforMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysLogininforMapper.java index 7ee47dc..4b912f4 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysLogininforMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysLogininforMapper.java @@ -31,7 +31,7 @@ public interface SysLogininforMapper * @param ids 需要删除的数据 * @return 结果 */ - public int deleteLogininforByIds(String[] ids); + public int deleteLogininforByIds(Long[] ids); /** * 清空系统登录日志 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysOperLogMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysOperLogMapper.java index b40bd29..71d6ceb 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysOperLogMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysOperLogMapper.java @@ -31,7 +31,7 @@ public interface SysOperLogMapper * @param ids 需要删除的数据 * @return 结果 */ - public int deleteOperLogByIds(String[] ids); + public int deleteOperLogByIds(Long[] ids); /** * 查询操作日志详细 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysLogininforServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysLogininforServiceImpl.java index 13f5c1a..983532f 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysLogininforServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysLogininforServiceImpl.java @@ -52,7 +52,7 @@ public class SysLogininforServiceImpl implements ISysLogininforService @Override public int deleteLogininforByIds(String ids) { - return logininforMapper.deleteLogininforByIds(Convert.toStrArray(ids)); + return logininforMapper.deleteLogininforByIds(Convert.toLongArray(ids)); } /** diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysOperLogServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysOperLogServiceImpl.java index 78ae353..aedb008 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysOperLogServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysOperLogServiceImpl.java @@ -51,7 +51,7 @@ public class SysOperLogServiceImpl implements ISysOperLogService @Override public int deleteOperLogByIds(String ids) { - return operLogMapper.deleteOperLogByIds(Convert.toStrArray(ids)); + return operLogMapper.deleteOperLogByIds(Convert.toLongArray(ids)); } /** diff --git a/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml index 58927e8..32bb4f3 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml @@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - + delete from sys_logininfor where info_id in #{infoId} diff --git a/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml index a17c18d..05bb57a 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml @@ -64,7 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - + delete from sys_oper_log where oper_id in #{operId}