From b29bc2a1320acbcaddf8126ec0c0f413ee5a586d Mon Sep 17 00:00:00 2001 From: liyj <1003249715@qq.com> Date: Sun, 08 Sep 2024 14:25:05 +0800 Subject: [PATCH] 1、首页工作台待办事项接口2 --- dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/service/CaseInfoUnfoldService.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/service/CaseInfoUnfoldService.java b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/service/CaseInfoUnfoldService.java index ef02010..5ce5c6d 100644 --- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/service/CaseInfoUnfoldService.java +++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/cases/service/CaseInfoUnfoldService.java @@ -7,11 +7,13 @@ import cn.huge.module.cases.domain.po.CaseAssistApply; import cn.huge.module.cases.domain.dto.TransactResultDTO; import cn.huge.module.client.api.impl.CustClientImpl; +import cn.huge.module.client.api.impl.SysClientImpl; import cn.huge.module.client.api.impl.UtilsClientImpl; import cn.huge.module.cases.dao.mapper.CaseInfoUnfoldMapper; import cn.huge.module.cases.domain.po.CaseInfoUnfold; import cn.huge.module.cust.dto.CtUserDTO; import cn.huge.module.mediate.constant.CaseBaseConsts; +import cn.huge.module.sys.dto.FileIdInfoBaseDTO; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.beans.BeanUtils; @@ -52,6 +54,9 @@ @Autowired private CaseAssistApplyService assistApplyService; + + @Autowired + private SysClientImpl sysClient; /** * 更新对象 @@ -183,6 +188,13 @@ transactResultDTO.setApplyAssistUnitName(caseAssistApply.getApplyAssistUnitName()); } } + Map<String, Object> terms = new HashMap<>(); + terms.put("mainId", caseId); + terms.put("ownerIds", "'"+caseId+"'"); + List<FileIdInfoBaseDTO> fileIdInfoBaseDTOList = sysClient.listIdInfoByOwnerIdList(terms); + if(ObjectUtils.isNotEmpty(fileIdInfoBaseDTOList)){ + transactResultDTO.setFileInfoBaseDTOList(fileIdInfoBaseDTOList.get(0).getFileList()); + } return transactResultDTO; } -- Gitblit v1.8.0