示例#1
0
 /**
  * This method was generated by MyBatis Generator. This method corresponds to the database table
  * SELL_MEDIA
  *
  * @mbggenerated Mon Oct 29 16:37:30 ART 2012
  */
 public SellMedia selectSellMediaByPrimaryKey(Integer id) throws SQLException {
   SellMedia _key = new SellMedia();
   _key.setId(id);
   SellMedia record =
       (SellMedia) sqlMapClient.queryForObject("SELL_MEDIA.selectByPrimaryKey", _key);
   return record;
 }
示例#2
0
 /**
  * This method was generated by MyBatis Generator. This method corresponds to the database table
  * SELL_MEDIA
  *
  * @mbggenerated Mon Oct 29 16:37:30 ART 2012
  */
 public int deleteSellMediaByPrimaryKey(Integer id) throws SQLException {
   SellMedia _key = new SellMedia();
   _key.setId(id);
   int rows = sqlMapClient.delete("SELL_MEDIA.deleteByPrimaryKey", _key);
   return rows;
 }