select id, unit_id, people_id, blog_date, weather, orgcadre, orgsoldier, orgcivilian, nowcadre, nowsoldier, nowcivilian, tolerance, transfer, equip, internal, dutylead, dutyA, dutyB, dutyC, dutyD, dutyE, dutyF, dutyinfoA, dutyinfoC, dutyinfoE, duty_date, invalid, notice, lead, weekwork, examine, people_id1, contents, create_id, create_name,people_name,lead_name,unit_name,organizer,diary_time from bdgl_diary
insert into bdgl_diary
unit_id,
people_id,
blog_date,
weather,
orgcadre,
orgsoldier,
orgcivilian,
nowcadre,
nowsoldier,
nowcivilian,
tolerance,
transfer,
equip,
internal,
dutylead,
dutyA,
dutyB,
dutyC,
dutyD,
dutyE,
dutyF,
dutyinfoA,
dutyinfoC,
dutyinfoE,
duty_date,
invalid,
notice,
lead,
weekwork,
examine,
people_id1,
contents,
create_id,
create_name,
people_name,
lead_name,
unit_name,
organizer,
diary_time,
#{unitId},
#{peopleId},
#{blogDate},
#{weather},
#{orgcadre},
#{orgsoldier},
#{orgcivilian},
#{nowcadre},
#{nowsoldier},
#{nowcivilian},
#{tolerance},
#{transfer},
#{equip},
#{internal},
#{dutylead},
#{dutya},
#{dutyb},
#{dutyc},
#{dutyd},
#{dutye},
#{dutyf},
#{dutyinfoa},
#{dutyinfoc},
#{dutyinfoe},
#{dutyDate},
#{invalid},
#{notice},
#{lead},
#{weekwork},
#{examine},
#{peopleId1},
#{contents},
#{createId},
#{createName},
#{peopleName},
#{leadName},
#{unitName},
#{organizer},
#{diaryTime},
update bdgl_diary
unit_id = #{unitId},
people_id = #{peopleId},
blog_date = #{blogDate},
weather = #{weather},
orgcadre = #{orgcadre},
orgsoldier = #{orgsoldier},
orgcivilian = #{orgcivilian},
nowcadre = #{nowcadre},
nowsoldier = #{nowsoldier},
nowcivilian = #{nowcivilian},
tolerance = #{tolerance},
transfer = #{transfer},
equip = #{equip},
internal = #{internal},
dutylead = #{dutylead},
dutyA = #{dutya},
dutyB = #{dutyb},
dutyC = #{dutyc},
dutyD = #{dutyd},
dutyE = #{dutye},
dutyF = #{dutyf},
dutyinfoA = #{dutyinfoa},
dutyinfoC = #{dutyinfoc},
dutyinfoE = #{dutyinfoe},
duty_date = #{dutyDate},
invalid = #{invalid},
notice = #{notice},
lead = #{lead},
weekwork = #{weekwork},
examine = #{examine},
people_id1 = #{peopleId1},
contents = #{contents},
create_id = #{createId},
create_name = #{createName},
people_name = #{peopleName},
lead_name = #{leadName},
unit_name = #{unitName},
organizer = #{organizer},
diary_time = #{diaryTime},
where id = #{id}
delete from bdgl_diary where id = #{id}
delete from bdgl_diary where id in
#{id}