select id, schoolid, classid, name, month, starttime, endtime, themeofweek, jxmb_sh, jxmb_yy, jxmb_jk, jxmb_kx, jxmb_ys, createuserid, create_time, status, shrid, shtime, shyj, weekly from by_planweek
insert into by_planweek
id,
schoolid,
classid,
name,
starttime,
endtime,
themeofweek,
jxmb_sh,
jxmb_yy,
jxmb_jk,
jxmb_kx,
jxmb_ys,
createuserid,
create_time,
status,
shrid,
shtime,
shyj,
weekly,
month,
#{id},
#{schoolid},
#{classid},
#{name},
#{starttime},
#{endtime},
#{themeofweek},
#{jxmbSh},
#{jxmbYy},
#{jxmbJk},
#{jxmbKx},
#{jxmbYs},
#{createuserid},
#{createTime},
#{status},
#{shrid},
#{shtime},
#{shyj},
#{weekly},
#{month},
update by_planweek
schoolid = #{schoolid},
classid = #{classid},
name = #{name},
starttime = #{starttime},
endtime = #{endtime},
themeofweek = #{themeofweek},
jxmb_sh = #{jxmbSh},
jxmb_yy = #{jxmbYy},
jxmb_jk = #{jxmbJk},
jxmb_kx = #{jxmbKx},
jxmb_ys = #{jxmbYs},
createuserid = #{createuserid},
create_time = #{createTime},
status = #{status},
shrid = #{shrid},
shtime = #{shtime},
shyj = #{shyj},
weekly = #{weekly},
month = #{month},
where id = #{id}
delete from by_planweek where id = #{id}
delete from by_planweek where id in
#{id}