初始代码

This commit is contained in:
wangmingwei
2026-04-21 16:49:46 +08:00
parent aae9dc4036
commit f0453ff3a3
2396 changed files with 256575 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yunzhupaas.mapper.TrainExamRecordsMapper">
</mapper>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yunzhupaas.mapper.TrainLibraryEssayQuestionMapper">
<select id="getListByParentId" resultType="com.yunzhupaas.entity.TrainLibraryEssayQuestionEntity">
select f_id as id,
f_bank_id as fbankId,
f_full_name as ffullName,
f_answer as fanswer,
f_result as fresult
from make_train_library_essay_question
where f_bank_id = #{parentId}
</select>
<update id="updateResult">
<foreach collection="items" item="item" separator=";">
update make_train_library_essay_question
set f_result = #{item.result}
where f_id = #{item.id}
</foreach>
</update>
</mapper>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yunzhupaas.mapper.TrainLibraryJudgmentMapper">
<select id="getListByParentId" resultType="com.yunzhupaas.entity.TrainLibraryJudgmentEntity">
select f_id as id,
f_bank_id as fbankId,
f_full_name as ffullName,
f_answer as fanswer
from make_train_library_judgment
where f_bank_id = #{parentId}
</select>
</mapper>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yunzhupaas.mapper.TrainLibraryMoreMapper">
<select id="getListByParentId" resultType="com.yunzhupaas.entity.TrainLibraryMoreEntity">
select f_id as id,
f_bank_id as fbankId,
f_full_name as ffullName,
f_options_a as foptionsA,
f_options_b as foptionsB,
f_options_c as foptionsC,
f_options_d as foptionsD,
f_answer as fanswer
from make_train_library_more
where f_bank_id = #{parentId}
</select>
</mapper>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yunzhupaas.mapper.TrainLibrarySingleMapper">
<select id="getListByParentId" resultType="com.yunzhupaas.entity.TrainLibrarySingleEntity">
select f_id as id,
f_bank_id as fbankId,
f_full_name as ffullName,
f_options_a as foptionsA,
f_options_b as foptionsB,
f_options_c as foptionsC,
f_options_d as foptionsD,
f_answer as fanswer
from make_train_library_single
where f_bank_id = #{parentId}
</select>
</mapper>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yunzhupaas.mapper.TrainTestPaperLibraryMapper">
<insert id="saveRecords">
INSERT INTO make_train_exam_records
(f_id, f_number,f_library_id, f_examiners, f_full_name, f_sort, f_mark, f_result_score, f_basic_score, f_question_flag,
f_question_status, f_question_score, f_enabled_mark, f_sort_code, f_organize_id, f_creator_time,
f_creator_user_id,f_question_num,f_per_question)
VALUE (#{id}, #{fnumber},#{flibraryId} ,#{fexaminers}, #{ffullName}, #{fsort}, #{fmark}, #{fresultScore}, #{fbasicScore},
#{fquestionFlag},
#{fquestionStatus}, #{fquestionScore}, #{fenabledMark}, #{fsortCode}, #{forganizeId}, #{fcreatorTime},
#{fcreatorUserId},#{fquestionNum},#{fperQuestion})
</insert>
</mapper>