/*
  * 按部门查询已回复的申请
  * (non-Javadoc)
  * @see cn.insurance.service.ITbApplyServ#getHasReplyApplyByPartmentId(cn.insurance.model.PageBean, java.lang.Integer)
  */
 public PageBean getHasReplyApplyByPartmentId(PageBean pageBean, Integer partmentId) {
   return tbApplyDao.getHasReplyApplyByPartmentId(pageBean, partmentId);
 }
 /*
  *
  * (non-Javadoc)
  * @see cn.insurance.service.client.IClientApplyServ#updateTbApply(cn.insurance.model.TbApply)
  */
 public int updateTbApply(TbApply tbApply) {
   tbApplyDao.updateTbApply(tbApply);
   return 1;
 }
 /*
  * 按id查询
  * (non-Javadoc)
  * @see cn.insurance.service.ITbApplyServ#getApplyById(java.lang.Integer)
  */
 public TbApply getApplyById(Integer id) {
   return tbApplyDao.getApplyById(id);
 }
 /*
  * 添加申请
  * (non-Javadoc)
  * @see cn.insurance.service.ITbApplyServ#addTbApply(cn.insurance.model.TbApply)
  */
 public int addTbApply(TbApply tbApply) {
   /*设置为未回复*/
   tbApply.setIntIsReply(0);
   tbApplyDao.addTbApply(tbApply);
   return 1;
 }