code: public QYResultType update(QYDepartment department){
          BeanUtil.requireNonNull(department, "department is null");
          String url = BASE_API_URL + "cgi-bin/department/update?access_token=#";
          BaseResponse r = executePost(url, department.toJsonString());
          return QYResultType.get(r.getErrcode());
      }
docs: 更新部门
  @param department 需要更新的部门
  @return 更新结果