lige
2023-09-13 43592e9607578ed0c7affcc4593a8b32aa9c1199
采样登记医生检查
2个文件已修改
9 ■■■■ 已修改文件
ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysDeptController.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSamplingController.java 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysDeptController.java
@@ -257,7 +257,7 @@
                return AjaxResult.success("暂无数据");
            }
        }
        List<TjCustomer> customerLists = null;
        List<TjCustomer> customerLists = new ArrayList<>();
        if (type == 0) {
            customerLists = redisCache.getCacheMapValue(ksId + "ks", "wj");
        }
ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjSamplingController.java
@@ -110,7 +110,7 @@
             cacheMapValue = redisCache.getCacheMapValue("sampling", "wqs");
        }
        asyncService.saveSampling();
        List<Map<String,Object>>  collect =null;
        List<Map<String,Object>>  collect =new ArrayList<>();
        Map<String,Object>map=new HashMap<>();
        if(null ==cacheMapValue || cacheMapValue.size()==0){
            wq.eq(TjSampling::getIsSignFor,isSignFor);
@@ -121,7 +121,12 @@
            collect = cacheMapValue.stream().skip((long) (pageNum - 1) * pageSize).limit(pageSize).collect(Collectors.toList());
            map.put("total",cacheMapValue.size());
        }
        if (collect!=null){
        map.put("list",collect);
        }else {
            map.put("list",new ArrayList<Map<String,Object>>());
        }
        return AjaxResult.success(map);
    }