|
@@ -87,7 +87,7 @@ public class PoiTiUtils {
|
|
map1.put("name", i.getDeviceName());
|
|
map1.put("name", i.getDeviceName());
|
|
map1.put("xinghao", i.getDeviceModel());
|
|
map1.put("xinghao", i.getDeviceModel());
|
|
map1.put("guanliCode", i.getDeviceNo());
|
|
map1.put("guanliCode", i.getDeviceNo());
|
|
- map1.put("youxiaoqi", i.getDeviceLife());
|
|
|
|
|
|
+ map1.put("youxiaoqi", new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(i.getDeviceLife()));
|
|
return map1;
|
|
return map1;
|
|
}).collect(Collectors.toList());
|
|
}).collect(Collectors.toList());
|
|
|
|
|
|
@@ -226,7 +226,7 @@ public class PoiTiUtils {
|
|
map.put("sname" + i, shebei.getDeviceName());
|
|
map.put("sname" + i, shebei.getDeviceName());
|
|
map.put("sxinghao" + i, shebei.getDeviceModel());
|
|
map.put("sxinghao" + i, shebei.getDeviceModel());
|
|
map.put("sguanliCode" + i, shebei.getDeviceNo());
|
|
map.put("sguanliCode" + i, shebei.getDeviceNo());
|
|
- map.put("syouxiaoqi" + i, shebei.getDeviceLife());
|
|
|
|
|
|
+ map.put("syouxiaoqi" + i, new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(shebei.getDeviceLife()));
|
|
}
|
|
}
|
|
return map;
|
|
return map;
|
|
}
|
|
}
|