feat: 添加报告推送webservice接口
parent
8c7ba9aa68
commit
28a28d9d0d
@ -1,26 +0,0 @@
|
|||||||
package com.docus.server.message.dto;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author YongBin Wen
|
|
||||||
* @date 2025/9/1 0001 9:45
|
|
||||||
*/
|
|
||||||
|
|
||||||
public class ReportFile {
|
|
||||||
|
|
||||||
private String zyh;
|
|
||||||
private Integer zycs;
|
|
||||||
private String jzh;
|
|
||||||
private String fileId;
|
|
||||||
private String fileName;
|
|
||||||
private String fileType;
|
|
||||||
private String fileAfTime;
|
|
||||||
private String fileTime;
|
|
||||||
private String fileUpdateTime;
|
|
||||||
private String source;
|
|
||||||
private String fileModule;
|
|
||||||
private String fileModuleName;
|
|
||||||
private Integer cancel;
|
|
||||||
private Integer filePathType;
|
|
||||||
private String filePath;
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -0,0 +1,23 @@
|
|||||||
|
package com.docus.server.message.feign.service;
|
||||||
|
|
||||||
|
import com.docus.infrastructure.web.api.CommonResult;
|
||||||
|
import com.docus.server.message.feign.dto.ReportFile;
|
||||||
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author wyb
|
||||||
|
*/
|
||||||
|
@FeignClient(url = "${docus.url.downplatform}",name = "downplatform")
|
||||||
|
public interface DownloadPlatformService {
|
||||||
|
|
||||||
|
/**
|
||||||
|
*无视图采集,采集任务补偿
|
||||||
|
* @param reportFile 参数
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@RequestMapping(value = "/hospital/common//reportFile",method = RequestMethod.POST)
|
||||||
|
CommonResult<String> reportFile(@RequestBody ReportFile reportFile);
|
||||||
|
}
|
||||||
@ -0,0 +1,44 @@
|
|||||||
|
package com.docus.server.message.service;
|
||||||
|
|
||||||
|
import javax.jws.WebService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author YongBin Wen
|
||||||
|
* @date 2026/1/7 星期三 9:06
|
||||||
|
*/
|
||||||
|
@WebService
|
||||||
|
public interface ReportFileMessageService {
|
||||||
|
/**
|
||||||
|
* json格式或者xml格式
|
||||||
|
* <Request>
|
||||||
|
* <Format>json</Format>
|
||||||
|
* <ReportFile>reportFile的JSON字符串</ReportFile>
|
||||||
|
* </Request>
|
||||||
|
*
|
||||||
|
* 或者
|
||||||
|
*
|
||||||
|
*<Request>
|
||||||
|
* <Format>xml</Format>
|
||||||
|
* <ReportFile>
|
||||||
|
* <zyh></zyh>
|
||||||
|
* <zycs></zycs>
|
||||||
|
* <jzh></jzh>
|
||||||
|
* <fileId></fileId>
|
||||||
|
* <fileName></fileName>
|
||||||
|
* <fileType></fileType>
|
||||||
|
* <fileAfTime></fileAfTime>
|
||||||
|
* <fileTime></fileTime>
|
||||||
|
* <fileUpdateTime></fileUpdateTime>
|
||||||
|
* <source></source>
|
||||||
|
* <fileModule></fileModule>
|
||||||
|
* <fileModuleName></fileModuleName>
|
||||||
|
* <cancel></cancel>
|
||||||
|
* <filePathType></filePathType>
|
||||||
|
* <filePath></filePath>
|
||||||
|
* </ReportFile>
|
||||||
|
*</Request>
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
String commonFile(String message);
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue