|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public  int addVipDefaultCard(Long vipId){ | 
|---|
|  |  |  | public MoneyCardUse addVipDefaultCard(Long vipId){ | 
|---|
|  |  |  | MoneyCardUse defaultCardUse=new MoneyCardUse(); | 
|---|
|  |  |  | defaultCardUse.setVipId(vipId); | 
|---|
|  |  |  | defaultCardUse.setCardName("储值卡"); | 
|---|
|  |  |  | 
|---|
|  |  |  | defaultCardUse.setGiftMoney(0D); | 
|---|
|  |  |  | defaultCardUse.setSource("-"); | 
|---|
|  |  |  | defaultCardUse.setStatus(Dictionary.MONEYCARD_STATUS_YX); | 
|---|
|  |  |  | return  moneyCardUseDao.insert(defaultCardUse); | 
|---|
|  |  |  | moneyCardUseDao.insert(defaultCardUse); | 
|---|
|  |  |  | return  defaultCardUse; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public List<SysVipInfo> findUserByKey(String keyWord) { | 
|---|
|  |  |  | return sysVipInfoDao.selectUserByKey(keyWord); | 
|---|
|  |  |  | SysUsers user = WebUtil.getSessionAttribute(MatrixConstance.LOGIN_KEY); | 
|---|
|  |  |  | return sysVipInfoDao.selectUserByKey(keyWord,user.getCompanyId()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|