更新操作日志导出可选择部分导出
This commit is contained in:
parent
386e5c4060
commit
9ffb5dc495
@ -80,6 +80,16 @@ public class SysOperLog extends BaseEntity
|
||||
@Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date operTime;
|
||||
|
||||
private String ids;
|
||||
|
||||
public String getIds() {
|
||||
return ids;
|
||||
}
|
||||
|
||||
public void setIds(String ids) {
|
||||
this.ids = ids;
|
||||
}
|
||||
|
||||
public Long getOperId()
|
||||
{
|
||||
return operId;
|
||||
|
||||
@ -59,6 +59,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
|
||||
and date_format(oper_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
|
||||
</if>
|
||||
<if test="ids != null and ids != ''">
|
||||
and find_in_set(oper_id, #{ids})
|
||||
</if>
|
||||
</where>
|
||||
order by oper_id desc
|
||||
</select>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user