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) {
String path="111.jpg";
String fh=".jpg";
System.out.println(path.endsWith(fh));
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}]}";
ReportDownTwoDto reportDownTwoDtoCommonResult = Func.readJson(result, new TypeReference<ReportDownTwoDto>() {
});
System.out.println(reportDownTwoDtoCommonResult);
}
@Override
public CommonResult<String> cancel(Long taskId) {

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

Loading…
Cancel
Save