提交 37f42bc0 作者: zhangqiliang

墙盒导出序号

父级 2281322f
...@@ -44,6 +44,7 @@ public class WallBoxExport implements Export<WallboxApplyInstallListVO> { ...@@ -44,6 +44,7 @@ public class WallBoxExport implements Export<WallboxApplyInstallListVO> {
WallboxApplyReqVO condition = mapper.readValue(json, WallboxApplyReqVO.class); WallboxApplyReqVO condition = mapper.readValue(json, WallboxApplyReqVO.class);
List<WallboxApplyInstallListVO> list = wallboxApplyService.selectWallboxApplyListFromOrder(WallboxApplyConvert.INSTANCE.convert(condition)); List<WallboxApplyInstallListVO> list = wallboxApplyService.selectWallboxApplyListFromOrder(WallboxApplyConvert.INSTANCE.convert(condition));
LocalDateTime currentTime = LocalDateTime.now(); LocalDateTime currentTime = LocalDateTime.now();
Long no = 1L;
for (WallboxApplyInstallListVO apply : list) { for (WallboxApplyInstallListVO apply : list) {
Date createdDate = apply.getCreatedTime(); Date createdDate = apply.getCreatedTime();
LocalDateTime createdTime = LocalDateTime.ofInstant(createdDate.toInstant(), ZoneId.systemDefault()); LocalDateTime createdTime = LocalDateTime.ofInstant(createdDate.toInstant(), ZoneId.systemDefault());
...@@ -58,7 +59,6 @@ public class WallBoxExport implements Export<WallboxApplyInstallListVO> { ...@@ -58,7 +59,6 @@ public class WallBoxExport implements Export<WallboxApplyInstallListVO> {
apply.setIfTimeoutName("未超时"); apply.setIfTimeoutName("未超时");
} }
apply.setTimeRemaining(Long.toString(remainingHours)); apply.setTimeRemaining(Long.toString(remainingHours));
Long no = 1L;
apply.setId(no++); apply.setId(no++);
apply.setNumber("1"); apply.setNumber("1");
if (!StringUtils.isEmpty(apply.getInstallStatus())){ if (!StringUtils.isEmpty(apply.getInstallStatus())){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论