Exemple #1
0
 /* (non-Javadoc)
  * @see com.hw.hwsafe.remind.outer.IRemindService#getRemindInfo(java.lang.String)
  */
 @Override
 public RemindPO getRemindInfo(String remindId) {
   RemindPO result = null;
   try {
     result = remindDao.getRemindInfo(remindId);
   } catch (Exception e) {
     e.printStackTrace();
   }
   return result;
 }
Exemple #2
0
 /* (non-Javadoc)
  * @see com.hw.hwsafe.remind.outer.IRemindService#getRemindList(java.lang.String)
  */
 @Override
 public List<RemindPO> getRemindList(String receive) {
   List<RemindPO> result = null;
   try {
     result = remindDao.getRemindList(receive);
   } catch (Exception e) {
     e.printStackTrace();
   }
   return result;
 }
Exemple #3
0
 /* (non-Javadoc)
  * @see com.hw.hwsafe.remind.outer.IRemindService#getRemindTotal(java.lang.String)
  */
 @Override
 public int getRemindTotal(String receive) {
   int result = 0;
   try {
     result = remindDao.getRemindTotal(receive);
   } catch (Exception e) {
     e.printStackTrace();
   }
   return result;
 }
Exemple #4
0
 /* (non-Javadoc)
  * @see com.hw.hwsafe.remind.outer.IRemindService#deleteRemind(java.lang.String)
  */
 @Override
 public int deleteRemind(String remindId) {
   int result = 1;
   try {
     remindDao.deleteRemind(remindId);
     result = 0;
   } catch (Exception e) {
     e.printStackTrace();
   }
   return result;
 }
Exemple #5
0
 /* (non-Javadoc)
  * @see com.hw.hwsafe.remind.outer.IRemindService#insertRemind(com.hw.hwsafe.remind.po.RemindPO)
  */
 @Override
 public int insertRemind(RemindPO remindPO) {
   int result = 1;
   try {
     remindDao.insertRemind(remindPO);
     result = 0;
   } catch (Exception e) {
     e.printStackTrace();
   }
   return result;
 }