feat:密品修改

hangao
wangxy 5 months ago
parent 200cd5bc60
commit cb3a433d08

@ -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
* @param ids
* @return
*/
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
@Override
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"
</where>
</select>
<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}

Loading…
Cancel
Save