public TaobaoShop selectByPrimaryKey(Long userId) {
   TaobaoShop _key = new TaobaoShop();
   _key.setUserId(userId);
   TaobaoShop record =
       (TaobaoShop)
           getSqlMapClientTemplate().queryForObject("taobao_shop.selectByPrimaryKey", _key);
   return record;
 }
 public int deleteByPrimaryKey(Long userId) {
   TaobaoShop _key = new TaobaoShop();
   _key.setUserId(userId);
   int rows = getSqlMapClientTemplate().delete("taobao_shop.deleteByPrimaryKey", _key);
   return rows;
 }