更新登陆日志导出可选择部分导出
This commit is contained in:
parent
3e9fe759a2
commit
386e5c4060
@ -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;
|
||||
|
||||
@ -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') <= 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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user