日志公共表添加配置id和action导出注解
radius日志导出过滤id和action
This commit is contained in:
@@ -7,7 +7,7 @@ import com.nis.util.excel.ExcelField;
|
||||
public class BaseLogEntity<T> extends BaseEntity<T> {
|
||||
|
||||
private static final long serialVersionUID = 8321337584518281424L;
|
||||
|
||||
@ExcelField(title="cfg_id",sort=1)
|
||||
protected Integer cfgId;
|
||||
@ExcelField(title="found_time",sort=5)
|
||||
protected String foundTime; //发现时间,timestamp
|
||||
@@ -29,6 +29,7 @@ public class BaseLogEntity<T> extends BaseEntity<T> {
|
||||
@Expose
|
||||
@ExcelField(title="client_port",sort=43)
|
||||
protected String sPort; //客户端ip端口
|
||||
|
||||
protected Integer service; //配置表的serviceId
|
||||
@ExcelField(title="entrance_id",dictType="ENTRANCE",sort=7)
|
||||
protected Integer entranceId; //出入口编号
|
||||
@@ -60,6 +61,7 @@ public class BaseLogEntity<T> extends BaseEntity<T> {
|
||||
protected String sceneFile;//现场日志文件地址
|
||||
|
||||
protected Integer functionId;
|
||||
@ExcelField(title="action",dictType="SERVICE_ACTION",sort=2)
|
||||
protected Integer action;
|
||||
|
||||
protected String date;//配置界面日志总量查询时间
|
||||
|
||||
@@ -122,7 +122,7 @@ public class NtcCollectRadiusLogController extends BaseController {
|
||||
}else{
|
||||
hColumns+=",";
|
||||
}
|
||||
String cfgIndexInfoNoExport=","+hColumns;
|
||||
String cfgIndexInfoNoExport=",cfg_id,action,"+hColumns;
|
||||
noExportMap.put("radius_log",cfgIndexInfoNoExport);
|
||||
dataMap.put("radius_log",list);
|
||||
/*}*/
|
||||
|
||||
Reference in New Issue
Block a user