@Override
 @Transactional
 public void addOperatorRole(OperatorRoleEntity operatorRole) throws ServiceException {
   try {
     operatorRoleMapper.insertOperatorRole(new OperatorRoleEntity[] {operatorRole});
   } catch (SQLException e) {
     JscnLogger.error("添加该角色的操作员信息失败", e, this.getClass());
     throw new ServiceException("添加该角色的操作员信息失败", e);
   }
 }
 @Override
 @Transactional(readOnly = true)
 public List<OperatorEntity> searchOperators(String roleCode) throws ServiceException {
   List<OperatorEntity> operatorRoles = null;
   try {
     operatorRoles = operatorRoleMapper.searchOperators(roleCode);
   } catch (SQLException e) {
     JscnLogger.error("查询该角色的操作员信息失败", e, this.getClass());
     throw new ServiceException("查询该角色的操作员信息失败", e);
   }
   return operatorRoles;
 }