Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
a109d483
Commit
a109d483
authored
Jan 15, 2023
by
zhangjianqian
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
9ee17697
86c4568f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
TBankSubjectController.java
.../zehong/web/controller/system/TBankSubjectController.java
+0
-1
TTrainCourseTopicMapper.xml
.../main/resources/mapper/system/TTrainCourseTopicMapper.xml
+1
-1
No files found.
danger-manage-admin/src/main/java/com/zehong/web/controller/system/TBankSubjectController.java
View file @
a109d483
...
...
@@ -156,7 +156,6 @@ public class TBankSubjectController extends BaseController
excelEntity
.
setBankId
(
bankId
);
/**题目*/
excelEntity
.
setTopicTitle
(
row
.
getCell
(
0
).
toString
());
System
.
out
.
println
(
row
.
getCell
(
10
).
toString
());
/**题目类型*/
excelEntity
.
setTopicType
(
Integer
.
valueOf
(
row
.
getCell
(
10
).
toString
()));
/**题目*/
...
...
danger-manage-system/src/main/resources/mapper/system/TTrainCourseTopicMapper.xml
View file @
a109d483
...
...
@@ -85,7 +85,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<insert
id=
"batchInsertTTrainCourseTopic"
parameterType=
"java.util.List"
>
insert into t_train_course_topic(course_id,topic_title,topic_option,answer,create_time,topic_type) values
<foreach
collection=
"list"
item=
"topic"
index=
"index"
separator=
","
>
(#{topic.courseId},#{topic.topicTitle},#{topic.topicOption},#{topic.answer},#{topic.createTime},#{topicType})
(#{topic.courseId},#{topic.topicTitle},#{topic.topicOption},#{topic.answer},#{topic.createTime},#{topic
.topic
Type})
</foreach>
</insert>
</mapper>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment