zzw
2023-11-20 a59e33b38560655b279cebfe85e3b62a6b8b0514
modules/mainPart/src/main/java/com/zt/life/modules/mainPart/utils/GetShowDictList.java
@@ -17,13 +17,15 @@
    @Autowired
    private SysDictTypeService sysDictTypeService;
    public String getShowDictList(String values, String DictTYpe, Boolean enter) {
    public String getShowDictList(Object paramValues, String DictTYpe, Boolean enter) {
        String result = "";
        if (paramValues != null) {
        List<DictDto> userDicts = sysDictTypeService.getUserDicts();
        DictDto testType1Dict = userDicts.stream()
                .filter(c -> c.getDictType().equals(DictTYpe))
                .collect(Collectors.toList()).get(0);
        values = "," + values + ",";
        String result = "";
            String values = "," + paramValues.toString() + ",";
        int i = 0;
        for (DictItemDto dictItemDto : ((DictLeafDto) testType1Dict).getDataList()) {
            String value = dictItemDto.getDictValue();
@@ -34,6 +36,7 @@
            }
            result = result + desc;
        }
        }
        return result;
    }
}