@ -31,7 +31,7 @@ public interface SysLogininforMapper
* @param ids 需要删除的数据
* @return 结果
*/
public int deleteLogininforByIds(String[] ids);
public int deleteLogininforByIds(Long[] ids);
/**
* 清空系统登录日志
@ -31,7 +31,7 @@ public interface SysOperLogMapper
public int deleteOperLogByIds(String[] ids);
public int deleteOperLogByIds(Long[] ids);
* 查询操作日志详细
@ -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));
}
@ -51,7 +51,7 @@ public class SysOperLogServiceImpl implements ISysOperLogService
public int deleteOperLogByIds(String ids)
return operLogMapper.deleteOperLogByIds(Convert.toStrArray(ids));
return operLogMapper.deleteOperLogByIds(Convert.toLongArray(ids));
@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</where>
</select>
<delete id="deleteLogininforByIds" parameterType="String">
<delete id="deleteLogininforByIds" parameterType="Long">
delete from sys_logininfor where info_id in
<foreach collection="array" item="infoId" open="(" separator="," close=")">
#{infoId}
@ -64,7 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<delete id="deleteOperLogByIds" parameterType="String">
<delete id="deleteOperLogByIds" parameterType="Long">
delete from sys_oper_log where oper_id in
<foreach collection="array" item="operId" open="(" separator="," close=")">
#{operId}