and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id
, status, isdeleted, remark, createtime, updatetime, code, name, subjectid, subjectname,
subjectcode, categoryid, categoryname, level, score, knowledgepointid, knowledgepointname,
knowledgepointcode
stem
, answer, casebody, analysis
delete
from question_master
where id = #{id,jdbcType=VARCHAR}
delete from question_master
insert into question_master (id, status, isdeleted,
remark, createtime, updatetime,
code, name, subjectid,
subjectname, subjectcode, categoryid,
categoryname, level, score,
knowledgepointid, knowledgepointname, knowledgepointcode,
stem, answer, casebody,
analysis)
values (#{id,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{isdeleted,jdbcType=BIT},
#{remark,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP},
#{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{subjectid,jdbcType=VARCHAR},
#{subjectname,jdbcType=VARCHAR}, #{subjectcode,jdbcType=VARCHAR}, #{categoryid,jdbcType=VARCHAR},
#{categoryname,jdbcType=VARCHAR}, #{level,jdbcType=INTEGER}, #{score,jdbcType=DECIMAL},
#{knowledgepointid,jdbcType=VARCHAR}, #{knowledgepointname,jdbcType=VARCHAR},
#{knowledgepointcode,jdbcType=VARCHAR},
#{stem,jdbcType=LONGVARCHAR}, #{answer,jdbcType=LONGVARCHAR}, #{casebody,jdbcType=LONGVARCHAR},
#{analysis,jdbcType=LONGVARCHAR})
insert into question_master
id,
status,
isdeleted,
remark,
createtime,
updatetime,
code,
name,
subjectid,
subjectname,
subjectcode,
categoryid,
categoryname,
level,
score,
knowledgepointid,
knowledgepointname,
knowledgepointcode,
stem,
answer,
casebody,
analysis,
#{id,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{isdeleted,jdbcType=BIT},
#{remark,jdbcType=VARCHAR},
#{createtime,jdbcType=TIMESTAMP},
#{updatetime,jdbcType=TIMESTAMP},
#{code,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{subjectid,jdbcType=VARCHAR},
#{subjectname,jdbcType=VARCHAR},
#{subjectcode,jdbcType=VARCHAR},
#{categoryid,jdbcType=VARCHAR},
#{categoryname,jdbcType=VARCHAR},
#{level,jdbcType=INTEGER},
#{score,jdbcType=DECIMAL},
#{knowledgepointid,jdbcType=VARCHAR},
#{knowledgepointname,jdbcType=VARCHAR},
#{knowledgepointcode,jdbcType=VARCHAR},
#{stem,jdbcType=LONGVARCHAR},
#{answer,jdbcType=LONGVARCHAR},
#{casebody,jdbcType=LONGVARCHAR},
#{analysis,jdbcType=LONGVARCHAR},
update question_master
id = #{record.id,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
isdeleted = #{record.isdeleted,jdbcType=BIT},
remark = #{record.remark,jdbcType=VARCHAR},
createtime = #{record.createtime,jdbcType=TIMESTAMP},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
code = #{record.code,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
subjectid = #{record.subjectid,jdbcType=VARCHAR},
subjectname = #{record.subjectname,jdbcType=VARCHAR},
subjectcode = #{record.subjectcode,jdbcType=VARCHAR},
categoryid = #{record.categoryid,jdbcType=VARCHAR},
categoryname = #{record.categoryname,jdbcType=VARCHAR},
level = #{record.level,jdbcType=INTEGER},
score = #{record.score,jdbcType=DECIMAL},
knowledgepointid = #{record.knowledgepointid,jdbcType=VARCHAR},
knowledgepointname = #{record.knowledgepointname,jdbcType=VARCHAR},
knowledgepointcode = #{record.knowledgepointcode,jdbcType=VARCHAR},
stem = #{record.stem,jdbcType=LONGVARCHAR},
answer = #{record.answer,jdbcType=LONGVARCHAR},
casebody = #{record.casebody,jdbcType=LONGVARCHAR},
analysis = #{record.analysis,jdbcType=LONGVARCHAR},
update question_master
set id = #{record.id,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
isdeleted = #{record.isdeleted,jdbcType=BIT},
remark = #{record.remark,jdbcType=VARCHAR},
createtime = #{record.createtime,jdbcType=TIMESTAMP},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
code = #{record.code,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
subjectid = #{record.subjectid,jdbcType=VARCHAR},
subjectname = #{record.subjectname,jdbcType=VARCHAR},
subjectcode = #{record.subjectcode,jdbcType=VARCHAR},
categoryid = #{record.categoryid,jdbcType=VARCHAR},
categoryname = #{record.categoryname,jdbcType=VARCHAR},
level = #{record.level,jdbcType=INTEGER},
score = #{record.score,jdbcType=DECIMAL},
knowledgepointid = #{record.knowledgepointid,jdbcType=VARCHAR},
knowledgepointname = #{record.knowledgepointname,jdbcType=VARCHAR},
knowledgepointcode = #{record.knowledgepointcode,jdbcType=VARCHAR},
stem = #{record.stem,jdbcType=LONGVARCHAR},
answer = #{record.answer,jdbcType=LONGVARCHAR},
casebody = #{record.casebody,jdbcType=LONGVARCHAR},
analysis = #{record.analysis,jdbcType=LONGVARCHAR}
update question_master
set id = #{record.id,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
isdeleted = #{record.isdeleted,jdbcType=BIT},
remark = #{record.remark,jdbcType=VARCHAR},
createtime = #{record.createtime,jdbcType=TIMESTAMP},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
code = #{record.code,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
subjectid = #{record.subjectid,jdbcType=VARCHAR},
subjectname = #{record.subjectname,jdbcType=VARCHAR},
subjectcode = #{record.subjectcode,jdbcType=VARCHAR},
categoryid = #{record.categoryid,jdbcType=VARCHAR},
categoryname = #{record.categoryname,jdbcType=VARCHAR},
level = #{record.level,jdbcType=INTEGER},
score = #{record.score,jdbcType=DECIMAL},
knowledgepointid = #{record.knowledgepointid,jdbcType=VARCHAR},
knowledgepointname = #{record.knowledgepointname,jdbcType=VARCHAR},
knowledgepointcode = #{record.knowledgepointcode,jdbcType=VARCHAR}
update question_master
status = #{status,jdbcType=INTEGER},
isdeleted = #{isdeleted,jdbcType=BIT},
remark = #{remark,jdbcType=VARCHAR},
createtime = #{createtime,jdbcType=TIMESTAMP},
updatetime = #{updatetime,jdbcType=TIMESTAMP},
code = #{code,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
subjectid = #{subjectid,jdbcType=VARCHAR},
subjectname = #{subjectname,jdbcType=VARCHAR},
subjectcode = #{subjectcode,jdbcType=VARCHAR},
categoryid = #{categoryid,jdbcType=VARCHAR},
categoryname = #{categoryname,jdbcType=VARCHAR},
level = #{level,jdbcType=INTEGER},
score = #{score,jdbcType=DECIMAL},
knowledgepointid = #{knowledgepointid,jdbcType=VARCHAR},
knowledgepointname = #{knowledgepointname,jdbcType=VARCHAR},
knowledgepointcode = #{knowledgepointcode,jdbcType=VARCHAR},
stem = #{stem,jdbcType=LONGVARCHAR},
answer = #{answer,jdbcType=LONGVARCHAR},
casebody = #{casebody,jdbcType=LONGVARCHAR},
analysis = #{analysis,jdbcType=LONGVARCHAR},
where id = #{id,jdbcType=VARCHAR}
update question_master
set status = #{status,jdbcType=INTEGER},
isdeleted = #{isdeleted,jdbcType=BIT},
remark = #{remark,jdbcType=VARCHAR},
createtime = #{createtime,jdbcType=TIMESTAMP},
updatetime = #{updatetime,jdbcType=TIMESTAMP},
code = #{code,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
subjectid = #{subjectid,jdbcType=VARCHAR},
subjectname = #{subjectname,jdbcType=VARCHAR},
subjectcode = #{subjectcode,jdbcType=VARCHAR},
categoryid = #{categoryid,jdbcType=VARCHAR},
categoryname = #{categoryname,jdbcType=VARCHAR},
level = #{level,jdbcType=INTEGER},
score = #{score,jdbcType=DECIMAL},
knowledgepointid = #{knowledgepointid,jdbcType=VARCHAR},
knowledgepointname = #{knowledgepointname,jdbcType=VARCHAR},
knowledgepointcode = #{knowledgepointcode,jdbcType=VARCHAR},
stem = #{stem,jdbcType=LONGVARCHAR},
answer = #{answer,jdbcType=LONGVARCHAR},
casebody = #{casebody,jdbcType=LONGVARCHAR},
analysis = #{analysis,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=VARCHAR}
update question_master
set status = #{status,jdbcType=INTEGER},
isdeleted = #{isdeleted,jdbcType=BIT},
remark = #{remark,jdbcType=VARCHAR},
createtime = #{createtime,jdbcType=TIMESTAMP},
updatetime = #{updatetime,jdbcType=TIMESTAMP},
code = #{code,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
subjectid = #{subjectid,jdbcType=VARCHAR},
subjectname = #{subjectname,jdbcType=VARCHAR},
subjectcode = #{subjectcode,jdbcType=VARCHAR},
categoryid = #{categoryid,jdbcType=VARCHAR},
categoryname = #{categoryname,jdbcType=VARCHAR},
level = #{level,jdbcType=INTEGER},
score = #{score,jdbcType=DECIMAL},
knowledgepointid = #{knowledgepointid,jdbcType=VARCHAR},
knowledgepointname = #{knowledgepointname,jdbcType=VARCHAR},
knowledgepointcode = #{knowledgepointcode,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}