feat:顺德人医移动护理采集报错日志打印

广东省中医_gdszy
wyb 1 year ago
parent 3a6801300b
commit 90f76c7d3f

@ -46,9 +46,10 @@ public class TaskDistributeServiceImpl implements TaskDistributeService {
} }
public static void main(String[] args) { public static void main(String[] args) {
String path="111.jpg"; String result="{\"createTime\":\"2024-01-30 08:41:32\",\"hospitals\":[{\"admissTimes\":3,\"disDate\":\"2024-02-01 00:00:00\",\"disDeptName\":\"\",\"patientId\":\"2024013008413200003\",\"wardCode\":\"B060201\",\"wardName\":\"6号楼2楼病区\"}],\"jzh\":\"311618\",\"outPatientNoList\":[\"000997515200\",\"000870572900\",\"000870360700\",\"001041083100\"],\"patient\":{\"inpatientNo\":\"10073479\",\"name\":\"张玖昌\",\"patientId\":\"2024013008413200003\"},\"patientId\":\"2024013008413200003\",\"recordType\":\"1\",\"tasks\":[{\"collectorId\":\"22\",\"patientId\":\"2024013008413200003\",\"taskId\":913954351203971072}]}";
String fh=".jpg"; ReportDownTwoDto reportDownTwoDtoCommonResult = Func.readJson(result, new TypeReference<ReportDownTwoDto>() {
System.out.println(path.endsWith(fh)); });
System.out.println(reportDownTwoDtoCommonResult);
} }
@Override @Override
public CommonResult<String> cancel(Long taskId) { public CommonResult<String> cancel(Long taskId) {

@ -210,6 +210,7 @@ public class ReportJob {
*/ */
@XxlJob("SdRyNurseInsertSugarCollectJob") @XxlJob("SdRyNurseInsertSugarCollectJob")
public void sdRyNurseInsertSugarCollectJob() { public void sdRyNurseInsertSugarCollectJob() {
try {
String reportQueryNurseInsertSugarCollectorId = sdRyReportQueryConfig.getReportQueryNurseInsertSugarCollectorId(); String reportQueryNurseInsertSugarCollectorId = sdRyReportQueryConfig.getReportQueryNurseInsertSugarCollectorId();
ReportDownTwoDto reportDownTwoDto = taskDistributeService.getNoViewTaskByCollectorId(reportQueryNurseInsertSugarCollectorId); ReportDownTwoDto reportDownTwoDto = taskDistributeService.getNoViewTaskByCollectorId(reportQueryNurseInsertSugarCollectorId);
if (reportDownTwoDto == null) { if (reportDownTwoDto == null) {
@ -293,6 +294,10 @@ public class ReportJob {
sendNisDelayVerifyMessage(patientId); sendNisDelayVerifyMessage(patientId);
} }
}catch (Exception ex){
log.error("移动护理采集出错了!"+ex.getMessage(),ex);
}
} }
/** /**
* *

Loading…
Cancel
Save