insert into repair_project(sectionId,work_id,com_time,type,`desc`,user_id,create_time)
values (#{sectionId},#{workId},#{comTime},#{type},#{desc},#{userid},#{createTime})
update repair_project r
set
r.sectionId = #{sectionId},
r.work_id = #{workId},
r.com_time = #{comTime},
r.type = #{type},
r.`desc` = #{desc}
where r.id = #{id}
update repair_project r
set
r.status = #{status}
where r.id = #{id}