INSERT INTO s_canteen(id, canteen_name, canteen_photo_path, supply_time_id, founder, principal, complaint_phone, takeout_phone, create_time, update_time, isdel,worker_id) VALUES (#{id}, #{canteenName}, #{canteenPhotoPath}, #{supplyTimeId}, #{founder}, #{principal}, #{complaintPhone}, #{takeoutPhone}, #{createTime}, #{updateTime}, #{isdel},#{workerId}) UPDATE s_canteen canteen_name = #{canteenName}, canteen_photo_path = #{canteenPhotoPath}, supply_time_id = #{supplyTimeId}, takeout_phone = #{takeoutPhone}, founder = #{founder}, principal = #{principal}, complaint_phone = #{complaintPhone}, create_time = #{createTime}, update_time = #{updateTime}, worker_id = #{workerId}, isdel = #{isdel}, WHERE id = #{id} UPDATE s_canteen SET s_canteen.isdel = 1 WHERE id = #{id}