select id, create_time, create_by, update_time, update_by, glove_photo, shoe_cover_photo, pet_photo, teacher_photo, grain_bowl_front, grain_bowl_after, water_bowl_front, water_bowl_after, basin_front, basin_after, work_dog_image, work_paly_image, notes, item_date_id, item_order_id, order_id from applet_order_item_date_log insert into applet_order_item_date_log id, create_time, create_by, update_time, update_by, glove_photo, shoe_cover_photo, pet_photo, teacher_photo, grain_bowl_front, grain_bowl_after, water_bowl_front, water_bowl_after, basin_front, basin_after, work_dog_image, work_paly_image, notes, item_date_id, item_order_id, order_id, #{id}, #{createTime}, #{createBy}, #{updateTime}, #{updateBy}, #{glovePhoto}, #{shoeCoverPhoto}, #{petPhoto}, #{teacherPhoto}, #{grainBowlFront}, #{grainBowlAfter}, #{waterBowlFront}, #{waterBowlAfter}, #{basinFront}, #{basinAfter}, #{workDogImage}, #{workPalyImage}, #{notes}, #{itemDateId}, #{itemOrderId}, #{orderId}, update applet_order_item_date_log create_time = #{createTime}, create_by = #{createBy}, update_time = #{updateTime}, update_by = #{updateBy}, glove_photo = #{glovePhoto}, shoe_cover_photo = #{shoeCoverPhoto}, pet_photo = #{petPhoto}, teacher_photo = #{teacherPhoto}, grain_bowl_front = #{grainBowlFront}, grain_bowl_after = #{grainBowlAfter}, water_bowl_front = #{waterBowlFront}, water_bowl_after = #{waterBowlAfter}, basin_front = #{basinFront}, basin_after = #{basinAfter}, work_dog_image = #{workDogImage}, work_paly_image = #{workPalyImage}, notes = #{notes}, item_date_id = #{itemDateId}, item_order_id = #{itemOrderId}, order_id = #{orderId}, where id = #{id} delete from applet_order_item_date_log where id = #{id} delete from applet_order_item_date_log where id in #{id} insert into applet_order_item_date_log id, create_time, create_by, update_time, update_by, glove_photo, shoe_cover_photo, pet_photo, teacher_photo, grain_bowl_front, grain_bowl_after, water_bowl_front, water_bowl_after, basin_front, basin_after, work_dog_image, work_paly_image, notes, item_date_id, item_order_id, order_id, values #{id, jdbcType=BIGINT}, #{createTime, jdbcType=TIMESTAMP},#{createBy, jdbcType=INTEGER},#{updateTime, jdbcType=TIMESTAMP},#{updateBy, jdbcType=INTEGER},#{glovePhoto, jdbcType=VARCHAR},#{shoeCoverPhoto, jdbcType=VARCHAR},#{petPhoto, jdbcType=VARCHAR},#{teacherPhoto, jdbcType=VARCHAR},#{grainBowlFront, jdbcType=VARCHAR},#{grainBowlAfter, jdbcType=VARCHAR},#{waterBowlFront, jdbcType=VARCHAR},#{waterBowlAfter, jdbcType=VARCHAR},#{basinFront, jdbcType=VARCHAR},#{basinAfter, jdbcType=VARCHAR},#{workDogImage, jdbcType=VARCHAR},#{workPalyImage, jdbcType=VARCHAR},#{notes, jdbcType=VARCHAR},#{itemDateId, jdbcType=BIGINT},#{itemOrderId, jdbcType=BIGINT},#{orderId, jdbcType=BIGINT}, on duplicate key update id = #{id,jdbcType=BIGINT}, create_time = #{createTime, jdbcType=TIMESTAMP}, create_by = #{createBy, jdbcType=INTEGER}, update_time = #{updateTime, jdbcType=TIMESTAMP}, update_by = #{updateBy, jdbcType=INTEGER}, glove_photo = #{glovePhoto, jdbcType=VARCHAR}, shoe_cover_photo = #{shoeCoverPhoto, jdbcType=VARCHAR}, pet_photo = #{petPhoto, jdbcType=VARCHAR}, teacher_photo = #{teacherPhoto, jdbcType=VARCHAR}, grain_bowl_front = #{grainBowlFront, jdbcType=VARCHAR}, grain_bowl_after = #{grainBowlAfter, jdbcType=VARCHAR}, water_bowl_front = #{waterBowlFront, jdbcType=VARCHAR}, water_bowl_after = #{waterBowlAfter, jdbcType=VARCHAR}, basin_front = #{basinFront, jdbcType=VARCHAR}, basin_after = #{basinAfter, jdbcType=VARCHAR}, work_dog_image = #{workDogImage, jdbcType=VARCHAR}, work_paly_image = #{workPalyImage, jdbcType=VARCHAR}, notes = #{notes, jdbcType=VARCHAR}, item_date_id = #{itemDateId, jdbcType=BIGINT}, item_order_id = #{itemOrderId, jdbcType=BIGINT}, order_id = #{orderId, jdbcType=BIGINT},