Commit dea3bae0 authored by wei's avatar wei 🎱

移交单下文件清单-退档,解除关系,重新计算案卷信息

parent 987dc164
......@@ -56,8 +56,8 @@ public class ExtTransferDocumentController<V extends ExtTransferDocumentVO, S ex
@ApiOperation(value = "移交单下文件清单-退档", notes = "移交单下文件清单退档")
@PostMapping(value = "/returnDocument")
public ApiResult returnDocument(@RequestParam("transferDocLink") Long transferDocLink) {
extTransferDocumentService.returnDocument(transferDocLink);
public ApiResult returnDocument(@RequestParam("transferDocLinkId") Long transferDocLinkId) {
extTransferDocumentService.returnDocument(transferDocLinkId);
return ApiResult.ok(ApiResult.SUCCESS, "退档成功");
}
}
......
......@@ -32,7 +32,7 @@ public interface ExtTransferDocumentService<V extends ExtTransferDocumentVO> ext
void updateArchivingStatus(Long id);
void returnDocument(Long transferDocLink);
void returnDocument(Long transferDocLinkId);
void saveFilesDocLink(List<ExtFilesUpdateVO> extFilesUpdateVOList);
}
......@@ -188,8 +188,8 @@ public class ExtTransferDocumentServiceImpl<V extends ExtTransferDocumentVO> imp
}
@Override
public void returnDocument(Long transferDocLink) {
SearchQueryCondition searchProgram = SearchUtil.buildQuery("id", SearchItem.Operator.EQ, transferDocLink);
public void returnDocument(Long transferDocLinkId) {
SearchQueryCondition searchProgram = SearchUtil.buildQuery("id", SearchItem.Operator.EQ, transferDocLinkId);
List<ExtTransferDocLinkVO> transferDocLinkVOList = extTransferDocLinkService.findRecursion(searchProgram).getContent();
ExtTransferDocLinkVO extTransferDocLinkVO = transferDocLinkVOList.get(0);
// 1.更新文档状态为档案未接收
......
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