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, evaluation_code, parent_code, sort, question, type, record_type, record_content,
relation_code, operate_type, recode_starttime, time_wabei, allow_clear, clear_times,
timing_length, remark, create_time, update_time, is_del
delete from t_ht_question
where id = #{id,jdbcType=BIGINT}
delete from t_ht_question
insert into t_ht_question (id, evaluation_code, parent_code,
sort, question, type,
record_type, record_content, relation_code,
operate_type, recode_starttime, time_wabei,
allow_clear, clear_times, timing_length,
remark, create_time, update_time,
is_del)
values (#{id,jdbcType=BIGINT}, #{evaluationCode,jdbcType=VARCHAR}, #{parentCode,jdbcType=VARCHAR},
#{sort,jdbcType=INTEGER}, #{question,jdbcType=VARCHAR}, #{type,jdbcType=TINYINT},
#{recordType,jdbcType=VARCHAR}, #{recordContent,jdbcType=VARCHAR}, #{relationCode,jdbcType=VARCHAR},
#{operateType,jdbcType=TINYINT}, #{recodeStarttime,jdbcType=TINYINT}, #{timeWabei,jdbcType=TINYINT},
#{allowClear,jdbcType=TINYINT}, #{clearTimes,jdbcType=INTEGER}, #{timingLength,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
#{isDel,jdbcType=TINYINT})
insert into t_ht_question
id,
evaluation_code,
parent_code,
sort,
question,
type,
record_type,
record_content,
relation_code,
operate_type,
recode_starttime,
time_wabei,
allow_clear,
clear_times,
timing_length,
remark,
create_time,
update_time,
is_del,
#{id,jdbcType=BIGINT},
#{evaluationCode,jdbcType=VARCHAR},
#{parentCode,jdbcType=VARCHAR},
#{sort,jdbcType=INTEGER},
#{question,jdbcType=VARCHAR},
#{type,jdbcType=TINYINT},
#{recordType,jdbcType=VARCHAR},
#{recordContent,jdbcType=VARCHAR},
#{relationCode,jdbcType=VARCHAR},
#{operateType,jdbcType=TINYINT},
#{recodeStarttime,jdbcType=TINYINT},
#{timeWabei,jdbcType=TINYINT},
#{allowClear,jdbcType=TINYINT},
#{clearTimes,jdbcType=INTEGER},
#{timingLength,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
#{isDel,jdbcType=TINYINT},
update t_ht_question
id = #{record.id,jdbcType=BIGINT},
evaluation_code = #{record.evaluationCode,jdbcType=VARCHAR},
parent_code = #{record.parentCode,jdbcType=VARCHAR},
sort = #{record.sort,jdbcType=INTEGER},
question = #{record.question,jdbcType=VARCHAR},
type = #{record.type,jdbcType=TINYINT},
record_type = #{record.recordType,jdbcType=VARCHAR},
record_content = #{record.recordContent,jdbcType=VARCHAR},
relation_code = #{record.relationCode,jdbcType=VARCHAR},
operate_type = #{record.operateType,jdbcType=TINYINT},
recode_starttime = #{record.recodeStarttime,jdbcType=TINYINT},
time_wabei = #{record.timeWabei,jdbcType=TINYINT},
allow_clear = #{record.allowClear,jdbcType=TINYINT},
clear_times = #{record.clearTimes,jdbcType=INTEGER},
timing_length = #{record.timingLength,jdbcType=INTEGER},
remark = #{record.remark,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
is_del = #{record.isDel,jdbcType=TINYINT},
update t_ht_question
set id = #{record.id,jdbcType=BIGINT},
evaluation_code = #{record.evaluationCode,jdbcType=VARCHAR},
parent_code = #{record.parentCode,jdbcType=VARCHAR},
sort = #{record.sort,jdbcType=INTEGER},
question = #{record.question,jdbcType=VARCHAR},
type = #{record.type,jdbcType=TINYINT},
record_type = #{record.recordType,jdbcType=VARCHAR},
record_content = #{record.recordContent,jdbcType=VARCHAR},
relation_code = #{record.relationCode,jdbcType=VARCHAR},
operate_type = #{record.operateType,jdbcType=TINYINT},
recode_starttime = #{record.recodeStarttime,jdbcType=TINYINT},
time_wabei = #{record.timeWabei,jdbcType=TINYINT},
allow_clear = #{record.allowClear,jdbcType=TINYINT},
clear_times = #{record.clearTimes,jdbcType=INTEGER},
timing_length = #{record.timingLength,jdbcType=INTEGER},
remark = #{record.remark,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
is_del = #{record.isDel,jdbcType=TINYINT}
update t_ht_question
evaluation_code = #{evaluationCode,jdbcType=VARCHAR},
parent_code = #{parentCode,jdbcType=VARCHAR},
sort = #{sort,jdbcType=INTEGER},
question = #{question,jdbcType=VARCHAR},
type = #{type,jdbcType=TINYINT},
record_type = #{recordType,jdbcType=VARCHAR},
record_content = #{recordContent,jdbcType=VARCHAR},
relation_code = #{relationCode,jdbcType=VARCHAR},
operate_type = #{operateType,jdbcType=TINYINT},
recode_starttime = #{recodeStarttime,jdbcType=TINYINT},
time_wabei = #{timeWabei,jdbcType=TINYINT},
allow_clear = #{allowClear,jdbcType=TINYINT},
clear_times = #{clearTimes,jdbcType=INTEGER},
timing_length = #{timingLength,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
is_del = #{isDel,jdbcType=TINYINT},
where id = #{id,jdbcType=BIGINT}
update t_ht_question
set evaluation_code = #{evaluationCode,jdbcType=VARCHAR},
parent_code = #{parentCode,jdbcType=VARCHAR},
sort = #{sort,jdbcType=INTEGER},
question = #{question,jdbcType=VARCHAR},
type = #{type,jdbcType=TINYINT},
record_type = #{recordType,jdbcType=VARCHAR},
record_content = #{recordContent,jdbcType=VARCHAR},
relation_code = #{relationCode,jdbcType=VARCHAR},
operate_type = #{operateType,jdbcType=TINYINT},
recode_starttime = #{recodeStarttime,jdbcType=TINYINT},
time_wabei = #{timeWabei,jdbcType=TINYINT},
allow_clear = #{allowClear,jdbcType=TINYINT},
clear_times = #{clearTimes,jdbcType=INTEGER},
timing_length = #{timingLength,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
is_del = #{isDel,jdbcType=TINYINT}
where id = #{id,jdbcType=BIGINT}