|
|
@@ -12,13 +12,13 @@
|
|
|
<result column="info_text_content_id" jdbcType="INTEGER" property="infoTextContentId" />
|
|
|
<result column="create_user" jdbcType="INTEGER" property="createUser" />
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
- <result column="bank_type" jdbcType="VARCHAR" property="bankType" />
|
|
|
+ <result column="BANK_TYPE" jdbcType="VARCHAR" property="bankType" />
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
<result column="deleted" jdbcType="BIT" property="deleted" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
id, question_type, subject_id, score, grade_level, difficult, correct, info_text_content_id,
|
|
|
- create_user, status, bank_type, create_time, deleted
|
|
|
+ create_user, status, BANK_TYPE, create_time, deleted
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
|
select
|
|
|
@@ -34,7 +34,7 @@
|
|
|
insert into t_question (id, question_type, subject_id,
|
|
|
score, grade_level, difficult,
|
|
|
correct, info_text_content_id, create_user,
|
|
|
- status, bank_type, create_time, deleted
|
|
|
+ status, BANK_TYPE, create_time, deleted
|
|
|
)
|
|
|
values (#{id,jdbcType=INTEGER}, #{questionType,jdbcType=INTEGER}, #{subjectId,jdbcType=INTEGER},
|
|
|
#{score,jdbcType=INTEGER}, #{gradeLevel,jdbcType=INTEGER}, #{difficult,jdbcType=INTEGER},
|
|
|
@@ -76,7 +76,7 @@
|
|
|
status,
|
|
|
</if>
|
|
|
<if test="bankType != null">
|
|
|
- bank_type,
|
|
|
+ BANK_TYPE,
|
|
|
</if>
|
|
|
<if test="createTime != null">
|
|
|
create_time,
|
|
|
@@ -158,7 +158,7 @@
|
|
|
status = #{status,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="bankType != null">
|
|
|
- bank_type = #{bankType,jdbcType=VARCHAR},
|
|
|
+ BANK_TYPE = #{bankType,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="createTime != null">
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
@@ -181,7 +181,7 @@
|
|
|
create_user = #{createUser,jdbcType=INTEGER},
|
|
|
status = #{status,jdbcType=INTEGER},
|
|
|
<if test="bankType != null">
|
|
|
- bank_type = #{bankType,jdbcType=VARCHAR},
|
|
|
+ BANK_TYPE = #{bankType,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
deleted = #{deleted,jdbcType=BIT}
|