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, price, type, coverimage
delete from question_paper
where id = #{id,jdbcType=VARCHAR}
delete from question_paper
insert into question_paper (id, status, isdeleted,
remark, createtime, updatetime,
code, name, subjectid,
subjectname, subjectcode, categoryid,
categoryname, price, type,
coverimage)
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}, #{price,jdbcType=DECIMAL}, #{type,jdbcType=INTEGER},
#{coverimage,jdbcType=VARCHAR})
insert into question_paper
id,
status,
isdeleted,
remark,
createtime,
updatetime,
code,
name,
subjectid,
subjectname,
subjectcode,
categoryid,
categoryname,
price,
type,
coverimage,
#{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},
#{price,jdbcType=DECIMAL},
#{type,jdbcType=INTEGER},
#{coverimage,jdbcType=VARCHAR},
update question_paper
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},
price = #{record.price,jdbcType=DECIMAL},
type = #{record.type,jdbcType=INTEGER},
coverimage = #{record.coverimage,jdbcType=VARCHAR},
update question_paper
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},
price = #{record.price,jdbcType=DECIMAL},
type = #{record.type,jdbcType=INTEGER},
coverimage = #{record.coverimage,jdbcType=VARCHAR}
update question_paper
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},
price = #{price,jdbcType=DECIMAL},
type = #{type,jdbcType=INTEGER},
coverimage = #{coverimage,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update question_paper
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},
price = #{price,jdbcType=DECIMAL},
type = #{type,jdbcType=INTEGER},
coverimage = #{coverimage,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}