|
@@ -40,7 +40,9 @@ public class ViewController extends Controller {
|
|
|
report.setDescription(record.getStr("DESCRIPTION"));
|
|
|
report.setExamId(exams2.getId());
|
|
|
report.setCreatedAt(new Date());
|
|
|
-// report.setReportResult(record.getStr("FITEM_RESULT_CODE").contains("阴")?"1":"2");
|
|
|
+ if (record.getStr("FITEM_RESULT_CODE") != null) {
|
|
|
+ report.setReportResult(record.getStr("FITEM_RESULT_CODE").contains("阴")?"1":"2");
|
|
|
+ }
|
|
|
report.setReportDoctorId(getDoctorIdByName(record.getStr("REPORTDOCTOR")));
|
|
|
report.setReviewDoctorId(getDoctorIdByName(record.getStr("REVIEWDOCTOR")));
|
|
|
report.setReviewDatetime(aaa(record.getStr("REPORTDATE")));
|