insert into tb_pluss_merchant_order(orderNumber,merchantCode,merchantName,payTypeCode,payTypeName,consumeFee,transNo,memberCode,storeId,storeName,createDt,staffCode,status,rate,marketAmt) VALUES (#{orderNumber},#{merchantCode},#{merchantName},#{payTypeCode},#{payTypeName},#{consumeFee},#{transNo},#{memberCode},#{storeId},#{storeName},#{createDt},#{staffCode},#{status},#{rate},#{marketAmt} ) update tb_pluss_merchant_order when id=#{i.id} then #{i.enterFee} when id=#{i.id} then #{i.rate} where id=#{i.id}