From 8490eb11583ffdc586436f165860de5cfc39f915 Mon Sep 17 00:00:00 2001
From: cjl <909710561@qq.com>
Date: Mon, 06 Jan 2025 09:18:29 +0800
Subject: [PATCH] fix:sql查询时间调整

---
 screen-api/src/main/java/com/moral/api/controller/AllocationController.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/screen-api/src/main/java/com/moral/api/controller/AllocationController.java b/screen-api/src/main/java/com/moral/api/controller/AllocationController.java
index 7fa6f9a..e2e2ab0 100644
--- a/screen-api/src/main/java/com/moral/api/controller/AllocationController.java
+++ b/screen-api/src/main/java/com/moral/api/controller/AllocationController.java
@@ -173,7 +173,6 @@
         return ResultMessage.ok(ObjectUtils.isEmpty(map1)? "0":map1);
     }
 
-
     @GetMapping("unitExel")
     public void unitExel(HttpServletResponse response,HttpServletRequest request){
         Map<String, Object> params = WebUtils.getParametersStartingWith(request, null);
@@ -244,6 +243,8 @@
         for(int i = 0;i<list.size();i++){
             AllocationExcelExt excelExt = list.get(i);
             AllocationListExcelVo item = AllocationListExcelVo.convert(excelExt);
+            String stateStr = Objects.nonNull(excelExt.getState())?AllocationApproveEnum.getByValue(excelExt.getState()).getName():"���������������";
+            item.setStateStr(stateStr);
             List<String> urls = new ArrayList<>();
             for(FileAddressVo z : excelExt.getFileBaseList()){
                 urls.add(handleFileRealPath(z.getFileAddress()));

--
Gitblit v1.8.0