|
|
|
@ -28,14 +28,11 @@ import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.dao.ProjectCategoryDao; |
|
|
|
import com.epmet.dao.ProjectTagsDao; |
|
|
|
import com.epmet.dto.IssueDTO; |
|
|
|
import com.epmet.dto.IssueProjectCategoryDictDTO; |
|
|
|
import com.epmet.dto.ProjectCategoryDTO; |
|
|
|
import com.epmet.dto.form.ProjectCategoryTagListFormDTO; |
|
|
|
import com.epmet.dto.form.ProjectSaveCategoryFormDTO; |
|
|
|
import com.epmet.dto.result.ProjectCategoryTagListResultDTO; |
|
|
|
import com.epmet.dto.result.ProjectCategoryTagResultDTO; |
|
|
|
import com.epmet.dto.result.ProjectIssueCategoryResultDTO; |
|
|
|
import com.epmet.entity.ProjectCategoryEntity; |
|
|
|
import com.epmet.feign.GovIssueOpenFeignClient; |
|
|
|
import com.epmet.redis.ProjectCategoryRedis; |
|
|
|
@ -45,7 +42,6 @@ import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.Arrays; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
@ -155,7 +151,7 @@ public class ProjectCategoryServiceImpl extends BaseServiceImpl<ProjectCategoryD |
|
|
|
public void saveCategory(ProjectSaveCategoryFormDTO formDTO) { |
|
|
|
|
|
|
|
//1.查询项目所属客户和所属网格信息以及分类对应的分类信息
|
|
|
|
Result<ProjectIssueCategoryResultDTO> result = govIssueOpenFeignClient.getProjectAndCategoryInfo(formDTO); |
|
|
|
/*Result<ProjectIssueCategoryResultDTO> result = govIssueOpenFeignClient.getProjectAndCategoryInfo(formDTO); |
|
|
|
if (!result.success()) { |
|
|
|
throw new RenException(String.format("保存项目分类,获取项目对应的议题信息以及分类信息失败,projiectId->%s", formDTO.getProjectId())); |
|
|
|
} |
|
|
|
@ -184,7 +180,7 @@ public class ProjectCategoryServiceImpl extends BaseServiceImpl<ProjectCategoryD |
|
|
|
//4.批量保存议题分类信息
|
|
|
|
if (!insertBatch(entityList)) { |
|
|
|
throw new RenException(String.format("项目分类信息保存失败")); |
|
|
|
} |
|
|
|
}*/ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|