/**
  * This method was generated by MyBatis Generator. This method corresponds to the database table
  * T_SIM_RECEIVE_DATA
  *
  * @mbggenerated Tue Aug 21 10:23:40 CST 2012
  */
 public void insertOrUpdate(SimReceiveData record) {
   String key =
       record.getPlayname()
           + splitter
           + record.getValidtermcode()
           + splitter
           + record.getLogiccode()
           + splitter
           + record.getTicketcode();
   record.setKey(key);
   super.insert(record);
 }
 /**
  * This method was generated by MyBatis Generator. This method corresponds to the database table
  * T_SIM_RECEIVE_DATA
  *
  * @mbggenerated Tue Aug 34 10:23:40 CST 2012
  */
 public void batchInsertOrUpdat(final List<SimReceiveData> list) {
   for (SimReceiveData record : list) {
     String key =
         record.getPlayname()
             + splitter
             + record.getValidtermcode()
             + splitter
             + record.getLogiccode()
             + splitter
             + record.getTicketcode();
     record.setKey(key);
   }
   super.batchInsert(list);
 }