更新登陆日志导出可选择部分导出

This commit is contained in:
panshuling321 2022-03-29 09:53:44 +08:00
parent 3e9fe759a2
commit 386e5c4060
2 changed files with 13 additions and 0 deletions

View File

@ -41,6 +41,16 @@ public class SysLogininfor extends BaseEntity
@Excel(name = "访问时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date accessTime;
private String ids;
public String getIds() {
return ids;
}
public void setIds(String ids) {
this.ids = ids;
}
public Long getInfoId()
{
return infoId;

View File

@ -36,6 +36,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
and date_format(access_time,'%y%m%d') &lt;= date_format(#{params.endTime},'%y%m%d')
</if>
<if test="ids != null and ids != ''">
and find_in_set(info_id, #{ids})
</if>
</where>
order by info_id desc
</select>