xiangpei
2025-02-25 257ab33f3c19325d07d08240404e34fd34c21bbe
business/src/main/java/com/ycl/domain/form/ProjectInfoForm.java
@@ -160,21 +160,29 @@
        List<Long> competentDepartmentList = form.getCompetentDepartmentList();
        if(!CollectionUtils.isEmpty(competentDepartmentList)){
            entity.setCompetentDepartment(StringUtils.join(competentDepartmentList, ","));
        } else {
            entity.setCompetentDepartment("");
        }
        //资金类型转换
        List<String> fundTypeList = form.getFundTypeList();
        if(!CollectionUtils.isEmpty(fundTypeList)){
            entity.setFundType(StringUtils.join(fundTypeList, ","));
        } else {
            entity.setFundType("");
        }
        //重点分类转换
        List<String> importanceTypeList = form.getImportanceTypeList();
        if(!CollectionUtils.isEmpty(importanceTypeList)){
            entity.setImportanceType(StringUtils.join(importanceTypeList, ","));
        } else {
            entity.setImportanceType("");
        }
        //管理归口转换
        List<String> managementCentralizationList = form.getManagementCentralizationList();
        if(!CollectionUtils.isEmpty(managementCentralizationList)){
            entity.setManagementCentralization(StringUtils.join(managementCentralizationList, ","));
        } else {
            entity.setManagementCentralization("");
        }
        return entity;
    }