bug
fwq
2023-12-14 c9270b605a316af346df068ac150b50b701f9b19
bug
2个文件已修改
32 ■■■■ 已修改文件
phi_platform_common/src/main/java/com/hx/phip/tool/AppealTypeTool.java 31 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi_platform_user/src/main/java/com/hx/phip/util/api/OrderCreateUtil.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi_platform_common/src/main/java/com/hx/phip/tool/AppealTypeTool.java
@@ -52,23 +52,24 @@
        AppealTypeVo appealTypeVo;
        //获取子类所有分类,包含自己转载对象
        List<AppealType> appealTypeList;
        for(String appealTypeId : appealTypeIdList){
            if(StringUtils.isEmpty(appealTypeId)){
                continue;
            }
            ////获取子类所有分类,包含自己
            values.clear();
            values.put("sonTypeId", appealTypeId);
            appealTypeList = commonService.selectList(AppealTypeMapper.class,sqlSentence);
            for(AppealType appealType2:appealTypeList){
                appealTypeVo = new AppealTypeVo();
                appealTypeVo.setId(appealType2.getId());
                appealTypeVo.setName(appealType2.getName());
                appealTypeVo.setParentId(appealType2.getFatherId());
                appealTypeVoList.add(appealTypeVo);
        if (appealTypeIdList != null && appealTypeIdList.size() > 0){
            for(String appealTypeId : appealTypeIdList){
                if(StringUtils.isEmpty(appealTypeId)){
                    continue;
                }
                ////获取子类所有分类,包含自己
                values.clear();
                values.put("sonTypeId", appealTypeId);
                appealTypeList = commonService.selectList(AppealTypeMapper.class,sqlSentence);
                for(AppealType appealType2:appealTypeList){
                    appealTypeVo = new AppealTypeVo();
                    appealTypeVo.setId(appealType2.getId());
                    appealTypeVo.setName(appealType2.getName());
                    appealTypeVo.setParentId(appealType2.getFatherId());
                    appealTypeVoList.add(appealTypeVo);
                }
            }
        }
        return appealTypeVoList;
    }
phi_platform_user/src/main/java/com/hx/phip/util/api/OrderCreateUtil.java
@@ -1779,6 +1779,7 @@
            }
            if (appealTypeVoList != null && appealTypeVoList.size() > 0) {
                String str = AppealTypeTool.getStr(appealTypeVoList);
                logger.info("拼接的诉求分类:"+str);
                if (StringUtils.noNull(str)) {
                    String[] split = str.split("-");
                    for (int i = 0; i < split.length; i++) {