public MobileHotelOrderLog selectByPrimaryKey(Long logId) {
   MobileHotelOrderLog key = new MobileHotelOrderLog();
   key.setLogId(logId);
   MobileHotelOrderLog record =
       (MobileHotelOrderLog)
           super.queryForObject("MOBILE_HOTEL_ORDER_LOG.selectByPrimaryKey", key);
   return record;
 }
 public int deleteByPrimaryKey(Long logId) {
   MobileHotelOrderLog key = new MobileHotelOrderLog();
   key.setLogId(logId);
   int rows = super.delete("MOBILE_HOTEL_ORDER_LOG.deleteByPrimaryKey", key);
   return rows;
 }