|  |  | 
 |  |  |         if(Objects.isNull(notices)){ | 
 |  |  |             throw new BusinessException(ResponseStatus.DATA_EMPTY); | 
 |  |  |         } | 
 |  |  |         if(Constants.equalsInteger(notices.getSendacopy(),Constants.ONE)){ | 
 |  |  |             if(Constants.equalsInteger(Constants.ZERO,notices.getReaded())){ | 
 |  |  |                 noticesMapper.update(null,new UpdateWrapper<Notices>().lambda() | 
 |  |  |                         .set(Notices::getReaded,Constants.ONE).eq(Notices::getId,noticesId)); | 
 |  |  |             } | 
 |  |  |         }else{ | 
 |  |  |             throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"非抄送数据,无法进行标记"); | 
 |  |  |         if(Constants.equalsInteger(Constants.ZERO,notices.getReaded())){ | 
 |  |  |             noticesMapper.update(null,new UpdateWrapper<Notices>().lambda() | 
 |  |  |                     .set(Notices::getReaded,Constants.ONE).eq(Notices::getId,noticesId)); | 
 |  |  |         } | 
 |  |  | //        if(Constants.equalsInteger(notices.getSendacopy(),Constants.ONE)){ | 
 |  |  | // | 
 |  |  | //        }else{ | 
 |  |  | //            throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"非抄送数据,无法进行标记"); | 
 |  |  | //        } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** |