예제 #1
0
 /* (non-Javadoc)
  * @see com.appabc.common.base.service.IBaseService#delete(java.io.Serializable)
  */
 @Override
 public void delete(Serializable id) {
   try {
     acceptBankDAO.delete(id);
   } catch (Exception e) {
     logger.info("企业提款人删除失败, error message=" + e.getMessage());
     TAcceptBank ab = this.acceptBankDAO.query(id);
     if (ab != null) {
       logger.info("系统将进行软删除处理, update status=" + AcceptBankStatus.ACCEPT_BANK_STATUS_DEL);
       ab.setStatus(AcceptBankStatus.ACCEPT_BANK_STATUS_DEL);
       this.acceptBankDAO.update(ab);
     }
   }
 }
예제 #2
0
 /* (non-Javadoc)
  * @see com.appabc.common.base.service.IBaseService#delete(com.appabc.common.base.bean.BaseBean)
  */
 @Override
 public void delete(TAcceptBank entity) {
   acceptBankDAO.delete(entity);
 }