# 获取报修已办单列表

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /comm-c2-repairsetting/repair-done/repair-done/query-all:
    get:
      summary: 获取报修已办单列表
      deprecated: false
      description: ''
      operationId: queryAll
      tags:
        - c2/报修管理/报修已办
      parameters:
        - name: pageIndex
          in: query
          description: 查询页码
          required: true
          example: 1
          schema:
            type: integer
        - name: pageSize
          in: query
          description: 查询条数
          required: true
          example: 10
          schema:
            type: integer
        - name: community_id
          in: query
          description: 小区id
          required: true
          example: '2024022647620054'
          schema:
            type: string
        - name: maintenance_type
          in: query
          description: 维修类型
          required: false
          example: 1001（有偿服务）/ 1002（无偿服务）
          schema:
            type: string
        - name: repair_name
          in: query
          description: 报修人
          required: false
          example: 张三
          schema:
            type: string
        - name: tel
          in: query
          description: 报修人电话
          required: false
          example: '18909711442'
          schema:
            type: string
        - name: repair_type
          in: query
          description: 报修类型
          required: false
          example: >-
            102024021885971825(下水道堵塞)/102024022016205365(换灯)/102024022738800012（水电）/102023053136440010（测试打印类型）
          schema:
            type: string
        - name: state
          in: query
          description: 报修状态
          required: false
          example: >-
            1000（未派单）/1100（接单）/1200（退单）/1300（转单）/1400（申请支付）/1500（支付失败）/
            1700（待评价）/1800（电话回访）/1900（办理完成）/2000（未办理结单）/2001（暂停）
          schema:
            type: string
        - name: repair_id
          in: query
          description: 工单编码
          required: false
          example: '822024022794890018'
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RepairDonePageJsonVO'
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: c2/报修管理/报修已办
      x-apifox-status: integrating
      x-run-in-apifox: https://app.apifox.com/web/project/6386631/apis/api-305863939-run
components:
  schemas:
    RepairDonePageJsonVO:
      type: object
      properties:
        code:
          type: integer
          description: 状态码
          default: 10000
          minimum: -2147483648
          maximum: 2147483647
        message:
          type: string
          description: 提示信息
          default: success
        data:
          description: 数据对象
          $ref: '#/components/schemas/RepairDonePageDTO'
      required:
        - code
        - message
      x-apifox-orders:
        - code
        - message
        - data
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    RepairDonePageDTO:
      type: object
      properties:
        pageIndex:
          type: integer
          description: 当前页码
          default: 1
        pageSize:
          type: integer
          description: 每页数据条数
          default: 5
        total:
          type: integer
          format: int64
          description: 数据的总条数
          default: 0
        pages:
          type: integer
          format: int64
          description: 数据的总页数
          default: 0
        rows:
          type: array
          description: 当前页数据列表
          default: []
          items:
            $ref: '#/components/schemas/RepairDoneDTO'
      required:
        - pageIndex
        - pageSize
        - total
        - pages
      x-apifox-orders:
        - pageIndex
        - pageSize
        - total
        - pages
        - rows
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    RepairDoneDTO:
      type: object
      properties:
        repair_id:
          type: string
          description: 工单编码
        repair_obj_name:
          type: string
          description: 位置
        repair_type:
          type: string
          description: 报修类型
        repair_type_detail:
          type: string
          description: 报修类型中文映射
        maintenance_type:
          type: string
          description: 维修类型
        maintenance_type_detail:
          type: string
          description: 维修类型中文映射
        repair_name:
          type: string
          description: 报修人
        tel:
          type: string
          description: 报修人电话
        appointment_time:
          type: string
          description: 预约时间
        state:
          type: string
          description: 报修状态
        state_detail:
          type: string
          description: 报修状态中文映射
      x-apifox-orders:
        - repair_id
        - repair_obj_name
        - repair_type
        - repair_type_detail
        - maintenance_type
        - maintenance_type_detail
        - repair_name
        - tel
        - appointment_time
        - state
        - state_detail
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes:
    bearer_auth:
      type: jwt
      description: Default HTTP Bearer Authorization
      name: Authorization
      in: header
      scheme: bearer
      bearerFormat: JWT
    Authorization:
      type: apikey
      name: Authorization
      in: header
servers: []
security: []

```
