From 0c8087796c87e0db8ee0222aa0e6eb642b7c2e86 Mon Sep 17 00:00:00 2001 From: Mlxa0324 Date: Tue, 13 Dec 2022 14:35:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=95=E9=A2=98=E5=A2=9E=E5=8A=A0=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E9=99=A2=E6=A0=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ibeetl/jlw/web/ResourcesQuestionController.java | 2 ++ .../main/resources/static/js/jlw/resourcesQuestion/index.js | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/web/src/main/java/com/ibeetl/jlw/web/ResourcesQuestionController.java b/web/src/main/java/com/ibeetl/jlw/web/ResourcesQuestionController.java index a75512ad..12c51511 100644 --- a/web/src/main/java/com/ibeetl/jlw/web/ResourcesQuestionController.java +++ b/web/src/main/java/com/ibeetl/jlw/web/ResourcesQuestionController.java @@ -201,6 +201,8 @@ public class ResourcesQuestionController{ else { resourcesQuestion.setAddType(AddTypeEnum.FACULTY_ADD); } + resourcesQuestion.setOrgId(coreUser.getOrgId()); + resourcesQuestion.setUserId(coreUser.getId()); resourcesQuestionService.add(resourcesQuestion); diff --git a/web/src/main/resources/static/js/jlw/resourcesQuestion/index.js b/web/src/main/resources/static/js/jlw/resourcesQuestion/index.js index c0bb078e..e08b262d 100644 --- a/web/src/main/resources/static/js/jlw/resourcesQuestion/index.js +++ b/web/src/main/resources/static/js/jlw/resourcesQuestion/index.js @@ -49,6 +49,10 @@ layui.define(['form', 'laydate', 'table'], function (exports) { field: 'orgIdText', title: '上传院校', align: "center" }, + { + field: 'addTypeText', + title: '题库来源', align: "center" + }, { field: 'questionStatus', width: 80, title: '状态', align: "center", templet: function (d) {