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, question, answer, data_state, create_empid, create_date, modify_empid, modify_date,
org_id, feedback_code
delete from td_c_common_problem
where id = #{id,jdbcType=BIGINT}
delete from td_c_common_problem
SELECT LAST_INSERT_ID()
insert into td_c_common_problem (question, answer, data_state,
create_empid, create_date, modify_empid,
modify_date, org_id, feedback_code
)
values (#{question,jdbcType=VARCHAR}, #{answer,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER},
#{createEmpid,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modifyEmpid,jdbcType=VARCHAR},
#{modifyDate,jdbcType=TIMESTAMP}, #{orgId,jdbcType=BIGINT}, #{feedbackCode,jdbcType=INTEGER}
)
SELECT LAST_INSERT_ID()
insert into td_c_common_problem
question,
answer,
data_state,
create_empid,
create_date,
modify_empid,
modify_date,
org_id,
feedback_code,
#{question,jdbcType=VARCHAR},
#{answer,jdbcType=VARCHAR},
#{dataState,jdbcType=INTEGER},
#{createEmpid,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modifyEmpid,jdbcType=VARCHAR},
#{modifyDate,jdbcType=TIMESTAMP},
#{orgId,jdbcType=BIGINT},
#{feedbackCode,jdbcType=INTEGER},
update td_c_common_problem
id = #{record.id,jdbcType=BIGINT},
question = #{record.question,jdbcType=VARCHAR},
answer = #{record.answer,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
create_empid = #{record.createEmpid,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modify_empid = #{record.modifyEmpid,jdbcType=VARCHAR},
modify_date = #{record.modifyDate,jdbcType=TIMESTAMP},
org_id = #{record.orgId,jdbcType=BIGINT},
feedback_code = #{record.feedbackCode,jdbcType=INTEGER},
update td_c_common_problem
set id = #{record.id,jdbcType=BIGINT},
question = #{record.question,jdbcType=VARCHAR},
answer = #{record.answer,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
create_empid = #{record.createEmpid,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modify_empid = #{record.modifyEmpid,jdbcType=VARCHAR},
modify_date = #{record.modifyDate,jdbcType=TIMESTAMP},
org_id = #{record.orgId,jdbcType=BIGINT},
feedback_code = #{record.feedbackCode,jdbcType=INTEGER}
update td_c_common_problem
question = #{question,jdbcType=VARCHAR},
answer = #{answer,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
create_empid = #{createEmpid,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modify_empid = #{modifyEmpid,jdbcType=VARCHAR},
modify_date = #{modifyDate,jdbcType=TIMESTAMP},
org_id = #{orgId,jdbcType=BIGINT},
feedback_code = #{feedbackCode,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update td_c_common_problem
set question = #{question,jdbcType=VARCHAR},
answer = #{answer,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
create_empid = #{createEmpid,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modify_empid = #{modifyEmpid,jdbcType=VARCHAR},
modify_date = #{modifyDate,jdbcType=TIMESTAMP},
org_id = #{orgId,jdbcType=BIGINT},
feedback_code = #{feedbackCode,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}