feat: 梅州中医院LIS检验单文件标题修改

master
wyb 4 months ago
parent 2c5a8cdea7
commit 9345bb7932

@ -39,7 +39,7 @@ import java.util.Locale;
*/
@Component
@Slf4j
public class MzZyyLisCollectJob {
public class MzZyyReportCollectJob {
@Autowired
private DownPlatformService downPlatformService;
@Autowired
@ -63,7 +63,7 @@ public class MzZyyLisCollectJob {
return;
}
final String fileTitle = "Lis检查报告单";
final String fileTitle = "LIS检查报告单";
ReportDownTwoDto downTwoDto = commonResult.getData();
ReportTaskTwoDto task = downTwoDto.getTasks().get(0);
@ -126,5 +126,21 @@ public class MzZyyLisCollectJob {
downPlatformService.report(reportDownDto);
}
@XxlJob("MzZyyShouMaCollectJob")
public void shouMaCollectJob() {
String configPath = "data-config";
String configName = "mzzyy-ws-config";
TableJsonRead jsonReader = new TableJsonRead();
JSONObject configOjb = jsonReader.Read(configPath, configName, JSONObject.class);
JSONObject lisWsConfig = configOjb.getJSONObject("shouMa");
String collectorId = lisWsConfig.getString("collectorId");
String assortId = lisWsConfig.getString("assortId");
CommonResult<ReportDownTwoDto> commonResult = taskDistributeService.getNoViewTaskByCollectorId(collectorId);
if (!ResultCode.SUCCESS.getCode().equals(commonResult.getCode())
|| commonResult.getData() == null) {
return;
}
}
}
Loading…
Cancel
Save