select id, people_id, diary_id, people_name, sentry_id, sentry_name, foreman_id, foreman_name, unit_id, test_name, dialogue, createtime, updatetime, field1, examine_date, contents from bdgl_daily_inspect
insert into bdgl_daily_inspect
people_id,
diary_id,
people_name,
sentry_id,
sentry_name,
foreman_id,
foreman_name,
unit_id,
test_name,
dialogue,
createtime,
updatetime,
field1,
examine_date,
contents,
#{peopleId},
#{diaryId},
#{peopleName},
#{sentryId},
#{sentryName},
#{foremanId},
#{foremanName},
#{unitId},
#{testName},
#{dialogue},
#{createtime},
#{updatetime},
#{field1},
#{examineDate},
#{contents},
update bdgl_daily_inspect
people_id = #{peopleId},
diary_id = #{diaryId},
people_name = #{peopleName},
sentry_id = #{sentryId},
sentry_name = #{sentryName},
foreman_id = #{foremanId},
foreman_name = #{foremanName},
unit_id = #{unitId},
test_name = #{testName},
dialogue = #{dialogue},
createtime = #{createtime},
updatetime = #{updatetime},
field1 = #{field1},
examine_date = #{examineDate},
contents = #{contents},
where id = #{id}
delete from bdgl_daily_inspect where id = #{id}
delete from bdgl_daily_inspect where id in
#{id}
delete from bdgl_daily_inspect where diary_id = #{diaryId}