|
@@ -56,11 +56,19 @@ public class ViewController extends Controller {
|
|
|
if (recordTemp == null) {
|
|
|
continue;
|
|
|
}
|
|
|
+ Record record;
|
|
|
+ try {
|
|
|
+ record = Db.use("connected").findFirst("select * from yxjK where STUDYUID=?",recordTemp.getStr("F_STU_NO"));
|
|
|
+
|
|
|
+ } catch (Exception e) {
|
|
|
+ // TODO: handle exception
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+ if (record == null) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
examsd.add(recordTemp);
|
|
|
- Record record = Db.use("connected").findFirst("select * from yxjK where STUDYUID=?",recordTemp.getLong("F_STU_NO"));
|
|
|
-// if (record == null) {
|
|
|
-// continue;
|
|
|
-// }
|
|
|
+
|
|
|
// Report report = new Report().use("zskk");
|
|
|
// report.setId(creatId());
|
|
|
// report.setReportDatetime(parseStringToDate(record.getStr("REPORTDATE")));
|