|
|
|
@ -84,7 +84,7 @@ public class PushDataToLabsCareServiceImpl implements PushDataToLabsCareService |
|
|
|
|
* 做一个定时推送,对于推送失败的委托进行重新推送, 每天凌晨3点推送 |
|
|
|
|
*/ |
|
|
|
|
// @Scheduled(cron = "30 * * * * ?") // 测试
|
|
|
|
|
// @Scheduled(cron = "0 0 3 * * ?") // 每天凌晨 3 点执行
|
|
|
|
|
@Scheduled(cron = "0 0 3 * * ?") // 每天凌晨 3 点执行
|
|
|
|
|
public void timingPushDataToLabsCare() { |
|
|
|
|
log.info("定时推送数据到LabsCare......"); |
|
|
|
|
// 查询检验鉴定推送失败的委托
|
|
|
|
@ -253,7 +253,7 @@ public class PushDataToLabsCareServiceImpl implements PushDataToLabsCareService |
|
|
|
|
jsonObject.set("sjr1List", CollUtil.newArrayList(entrustInfo.getDeliver1Name(), entrustInfo.getDeliver2Name())); // 送检人
|
|
|
|
|
jsonObject.set("slrq", entrustInfo.getAcceptDate().format(DateTimeFormatter.ofPattern("yyyy年MM月dd日"))); |
|
|
|
|
jsonObject.set("wtdw", entrustInfo.getEntrustDepartment()); // 委托单位
|
|
|
|
|
jsonObject.set("zrqm", identifyBookApprove.getProcessUserName()); // 授权签字人
|
|
|
|
|
jsonObject.set("zrqm", NULL_PLACEHOLDER); // 授权签字人
|
|
|
|
|
jsonObject.set("zrzc", NULL_PLACEHOLDER); // 授权签字人专业技术资格或职称
|
|
|
|
|
|
|
|
|
|
// 定性检验报告样品 检测信息
|
|
|
|
|