UPDATE project_settlement_details slt_info = #{sltInfo.id}, cost_type = #{costType.id}, type = #{type.id}, num = #{num}, price = #{price}, subtotal = #{subtotal}, start_date = #{startDate}, end_date = #{endDate}, day_len = #{dayLen}, storage = #{storage.id,}, remarks = #{remarks}, back_date = #{backDate}, where ID = #{id} INSERT INTO project_settlement_details slt_info, cost_type, type, num, price, subtotal, start_date, end_date, day_len, storage, back_date, remarks, #{sltInfo.id}, #{costType}, #{type.id}, #{num}, #{price}, #{subtotal}, #{startDate}, #{endDate}, #{dayLen}, #{storage.id}, #{backDate}, #{remarks},