INSERT INTO t_transaction (user_id, category_id, type, amount, payment_method, remark, remark_hidden, external_no, transaction_time, include_in_stats, raw_data) VALUES (#{item.userId}, #{item.categoryId}, #{item.type}, #{item.amount}, #{item.paymentMethod}, #{item.remark}, IFNULL(#{item.remarkHidden}, 0), #{item.externalNo}, #{item.transactionTime}, IFNULL(#{item.includeInStats}, 1), #{item.rawData})