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}
case_id
, title, resource_data, source, type, one_id, two_id, three, unmount_status,
create_time, update_time
content
delete
from sys_case_questions
where case_id = #{caseId,jdbcType=VARCHAR}
delete from sys_case_questions
insert into sys_case_questions (case_id, title, resource_data,
source, type, one_id,
two_id, three, unmount_status,
create_time, update_time, content)
values (#{caseId,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, #{resourceData,jdbcType=VARCHAR},
#{source,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{oneId,jdbcType=VARCHAR},
#{twoId,jdbcType=VARCHAR}, #{three,jdbcType=VARCHAR}, #{unmountStatus,jdbcType=BIT},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{content,jdbcType=LONGVARCHAR})
insert into sys_case_questions
case_id,
title,
resource_data,
source,
type,
one_id,
two_id,
three,
unmount_status,
create_time,
update_time,
content,
#{caseId,jdbcType=VARCHAR},
#{title,jdbcType=VARCHAR},
#{resourceData,jdbcType=VARCHAR},
#{source,jdbcType=VARCHAR},
#{type,jdbcType=VARCHAR},
#{oneId,jdbcType=VARCHAR},
#{twoId,jdbcType=VARCHAR},
#{three,jdbcType=VARCHAR},
#{unmountStatus,jdbcType=BIT},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
#{content,jdbcType=LONGVARCHAR},
update sys_case_questions
case_id = #{record.caseId,jdbcType=VARCHAR},
title = #{record.title,jdbcType=VARCHAR},
resource_data = #{record.resourceData,jdbcType=VARCHAR},
source = #{record.source,jdbcType=VARCHAR},
type = #{record.type,jdbcType=VARCHAR},
one_id = #{record.oneId,jdbcType=VARCHAR},
two_id = #{record.twoId,jdbcType=VARCHAR},
three = #{record.three,jdbcType=VARCHAR},
unmount_status = #{record.unmountStatus,jdbcType=BIT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
content = #{record.content,jdbcType=LONGVARCHAR},
update sys_case_questions
set case_id = #{record.caseId,jdbcType=VARCHAR},
title = #{record.title,jdbcType=VARCHAR},
resource_data = #{record.resourceData,jdbcType=VARCHAR},
source = #{record.source,jdbcType=VARCHAR},
type = #{record.type,jdbcType=VARCHAR},
one_id = #{record.oneId,jdbcType=VARCHAR},
two_id = #{record.twoId,jdbcType=VARCHAR},
three = #{record.three,jdbcType=VARCHAR},
unmount_status = #{record.unmountStatus,jdbcType=BIT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
content = #{record.content,jdbcType=LONGVARCHAR}
update sys_case_questions
set case_id = #{record.caseId,jdbcType=VARCHAR},
title = #{record.title,jdbcType=VARCHAR},
resource_data = #{record.resourceData,jdbcType=VARCHAR},
source = #{record.source,jdbcType=VARCHAR},
type = #{record.type,jdbcType=VARCHAR},
one_id = #{record.oneId,jdbcType=VARCHAR},
two_id = #{record.twoId,jdbcType=VARCHAR},
three = #{record.three,jdbcType=VARCHAR},
unmount_status = #{record.unmountStatus,jdbcType=BIT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update sys_case_questions
title = #{title,jdbcType=VARCHAR},
resource_data = #{resourceData,jdbcType=VARCHAR},
source = #{source,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
one_id = #{oneId,jdbcType=VARCHAR},
two_id = #{twoId,jdbcType=VARCHAR},
three = #{three,jdbcType=VARCHAR},
unmount_status = #{unmountStatus,jdbcType=BIT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
content = #{content,jdbcType=LONGVARCHAR},
where case_id = #{caseId,jdbcType=VARCHAR}
update sys_case_questions
set title = #{title,jdbcType=VARCHAR},
resource_data = #{resourceData,jdbcType=VARCHAR},
source = #{source,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
one_id = #{oneId,jdbcType=VARCHAR},
two_id = #{twoId,jdbcType=VARCHAR},
three = #{three,jdbcType=VARCHAR},
unmount_status = #{unmountStatus,jdbcType=BIT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
content = #{content,jdbcType=LONGVARCHAR}
where case_id = #{caseId,jdbcType=VARCHAR}
update sys_case_questions
set title = #{title,jdbcType=VARCHAR},
resource_data = #{resourceData,jdbcType=VARCHAR},
source = #{source,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
one_id = #{oneId,jdbcType=VARCHAR},
two_id = #{twoId,jdbcType=VARCHAR},
three = #{three,jdbcType=VARCHAR},
unmount_status = #{unmountStatus,jdbcType=BIT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where case_id = #{caseId,jdbcType=VARCHAR}