Commit c7aceb43 authored by wei's avatar wei 🎱

移交单过去项目信息接口

parent f38295c3
package com.inet.dcs.document.common.vo;
package com.inet.dcs.document.common.vo.archivesOtherVO;
import com.yonde.dcs.document.common.entity.vo.DxDocumentVO;
import lombok.Data;
......
package com.inet.dcs.document.common.vo.archivesOtherVO;
/**
* @author weihongda
* @Date 2024/11/4 14:46
* @Description: TODO
*/
public class ExtTransferDocProjectVO {
}
package com.inet.dcs.document.core.controller;
import com.inet.dcs.document.common.vo.ExtTransferDocumentVO;
import com.inet.dcs.document.common.vo.archivesOtherVO.ExtTransferDocProjectVO;
import com.inet.dcs.document.core.controller.shadow.ExtTransferDocumentControllerShadow;
import com.inet.dcs.document.core.service.ExtTransferDocumentService;
import com.yonde.dex.basedata.entity.api.ApiResult;
......@@ -38,6 +39,13 @@ public class ExtTransferDocumentController<V extends ExtTransferDocumentVO, S ex
extTransferDocumentService.updateExtFiles(extTransferDocumentVO);
return ApiResult.ok(ApiResult.SUCCESS, "更新案卷部分信息成功");
}
@ApiOperation(value = "获取项目信息", notes = "获取项目信息", httpMethod = "POST")
@GetMapping(value = "/getTransferDocProject")
public ApiResult getTransferDocProjectById(@RequestParam("id") Long id) {
ExtTransferDocProjectVO extTransferDocProjectVO = extTransferDocumentService.getTransferDocProjectById(id);
return ApiResult.ok(extTransferDocProjectVO);
}
}
package com.inet.dcs.document.core.service;
import com.inet.dcs.document.common.vo.ExtFilesDocLinkVO;
import com.inet.dcs.document.common.vo.ExtFilesUpdateVO;
import com.inet.dcs.document.core.service.shadow.ExtFilesDocLinkServiceShadow;
import java.util.List;
......
package com.inet.dcs.document.core.service;
import com.inet.dcs.document.common.vo.ExtFilesUpdateVO;
import com.inet.dcs.document.common.vo.ExtFilesVO;
import com.inet.dcs.document.common.vo.archivesOtherVO.ExtFilesUpdateVO;
import com.inet.dcs.document.core.service.shadow.ExtFilesServiceShadow;
import java.util.List;
......
package com.inet.dcs.document.core.service;
import com.inet.dcs.document.common.vo.ExtTransferDocumentVO;
import com.inet.dcs.document.common.vo.archivesOtherVO.ExtTransferDocProjectVO;
import com.inet.dcs.document.core.service.shadow.ExtTransferDocumentServiceShadow;
/**
* @description: ExtTransferDocument-service
......@@ -13,4 +14,6 @@ public interface ExtTransferDocumentService<V extends ExtTransferDocumentVO> ext
ExtTransferDocumentVO startWorkflow(Long id);
void updateExtFiles(ExtTransferDocumentVO extTransferDocumentVO);
ExtTransferDocProjectVO getTransferDocProjectById(Long id);
}
package com.inet.dcs.document.core.service.impl;
import com.inet.dcs.document.common.vo.ExtFilesDocLinkVO;
import com.inet.dcs.document.common.vo.ExtFilesUpdateVO;
import com.inet.dcs.document.common.vo.ExtFilesVO;
import com.inet.dcs.document.core.repository.ExtFilesDocLinkRepository;
import com.inet.dcs.document.core.service.ExtFilesDocLinkService;
......
package com.inet.dcs.document.core.service.impl;
import com.inet.dcs.document.common.vo.ExtFilesDocLinkVO;
import com.inet.dcs.document.common.vo.ExtFilesUpdateVO;
import com.inet.dcs.document.common.vo.ExtFilesVO;
import com.inet.dcs.document.common.vo.archivesOtherVO.ExtFilesUpdateVO;
import com.inet.dcs.document.core.constants.Constants;
import com.inet.dcs.document.core.repository.ExtFilesRepository;
import com.inet.dcs.document.core.service.ExtFilesDocLinkService;
......
package com.inet.dcs.document.core.service.impl;
import com.inet.dcs.document.common.vo.ExtFilesUpdateVO;
import com.inet.dcs.document.common.vo.ExtTransferDocLinkVO;
import com.inet.dcs.document.common.vo.ExtTransferDocumentVO;
import com.inet.dcs.document.common.vo.archivesOtherVO.ExtFilesUpdateVO;
import com.inet.dcs.document.common.vo.archivesOtherVO.ExtTransferDocProjectVO;
import com.inet.dcs.document.core.constants.Constants;
import com.inet.dcs.document.core.repository.ExtTransferDocumentRepository;
import com.inet.dcs.document.core.service.ExtFilesDocLinkService;
......@@ -101,6 +102,11 @@ public class ExtTransferDocumentServiceImpl<V extends ExtTransferDocumentVO> imp
log.info("=================结束=绑定案卷关系同时反更新案卷信息================");
}
@Override
public ExtTransferDocProjectVO getTransferDocProjectById(Long id) {
return null;
}
private void saveFilesDocLink(List<ExtTransferDocLinkVO> transferDocLinkVOList) {
List<ExtFilesUpdateVO> extFilesUpdateVOList = Lists.newArrayList();
for (ExtTransferDocLinkVO extTransferDocLinkVO : transferDocLinkVOList) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment