|
@@ -23,7 +23,7 @@ public class ViewController extends Controller {
|
|
|
*/
|
|
|
public void executeSql() {
|
|
|
try {
|
|
|
- List<Record> d = Db.use("connected").find("select * from caller where rownum <= 10");
|
|
|
+ List<Record> d = Db.use("connected").find("select * from reportinfo where rownum <= 10");
|
|
|
this.renderJson(d);
|
|
|
} catch (Exception e) {
|
|
|
// TODO: handle exception
|
|
@@ -51,7 +51,7 @@ public class ViewController extends Controller {
|
|
|
report.setExamId(exams2.getId());
|
|
|
report.setCreatedAt(new Date());
|
|
|
if (record.getStr("FITEM_RESULT_CODE") != null) {
|
|
|
- report.setReportResult(record.getStr("FITEM_RESULT_CODE").contains("阴")?"1":"2");
|
|
|
+ //report.setReportResult(record.getStr("FITEM_RESULT_CODE").contains("阴")?"1":"2");
|
|
|
}
|
|
|
report.setReportDoctorId(getDoctorIdByName(record.getStr("REPORTDOCTOR")));
|
|
|
report.setReviewDoctorId(getDoctorIdByName(record.getStr("REVIEWDOCTOR")));
|
|
@@ -72,7 +72,7 @@ public class ViewController extends Controller {
|
|
|
|
|
|
private String creatId() {
|
|
|
UUID id=UUID.randomUUID();
|
|
|
- String[] idd=id.toString().split("-");
|
|
|
+ String[] idd = id.toString().split("-");
|
|
|
return idd[0]+idd[1]+idd[2];
|
|
|
}
|
|
|
|