模拟数据

This commit is contained in:
苏竹红
2024-06-04 22:13:40 +08:00
parent 9d4a9b1f55
commit 008ac8384e
2 changed files with 6 additions and 1 deletions

View File

@@ -101,7 +101,11 @@ public class XfsgEhrServiceImpl implements XfsgEhrService {
log.info("xfsg#getUserExamInfo,staffNumber:{},返回值data为空", staffNumber);
return null;
}
return JSON.parseObject(data.toJSONString(), StaffExamInfoDTO.class);
StaffExamInfoDTO staffExamInfoDTO = new StaffExamInfoDTO();
staffExamInfoDTO.setExamScore("97.8");
staffExamInfoDTO.setExamResult("正考通过");
return staffExamInfoDTO;
// return JSON.parseObject(data.toJSONString(), StaffExamInfoDTO.class);
} catch (Exception e) {
log.info("xfsg#getUserExamInfo,staffNumber:{},Exception:", staffNumber, e);
}