|
@@ -168,15 +168,15 @@ public class ViewController extends Controller {
|
|
|
// });
|
|
|
|
|
|
//上传报告附件
|
|
|
- Map<String, String> annex_params = new HashMap<>();
|
|
|
- annex_params.put("institution_id", PropKit.get("institution_id"));
|
|
|
- annex_params.put("type", "1");
|
|
|
- annex_params.put("code", examid);
|
|
|
- //附件类型1.mp4 2.pdf 3.jpeg
|
|
|
- annex_params.put("annex_class_code", "3");
|
|
|
- dService.saveAnnex(annex_params, record.getStr("report_url"));
|
|
|
+// Map<String, String> annex_params = new HashMap<>();
|
|
|
+// annex_params.put("institution_id", PropKit.get("institution_id"));
|
|
|
+// annex_params.put("type", "1");
|
|
|
+// annex_params.put("code", examid);
|
|
|
+// //附件类型1.mp4 2.pdf 3.jpeg
|
|
|
+// annex_params.put("annex_class_code", "3");
|
|
|
+// dService.saveAnnex(annex_params, record.getStr("report_url"));
|
|
|
|
|
|
- Record usinfo = new Record().set("code", record.getStr("studyuid"))
|
|
|
+ Record usinfo = new Record().set("code", examid)
|
|
|
.set("createAt", parseStringToDateTime()).set("updateAt", parseStringToDateTime());
|
|
|
Db.use("local").save("usexam", usinfo);
|
|
|
} catch (Exception e) {
|