Commit f44ba6f2 authored by 黄卓然's avatar 黄卓然

add

parent 07c8c1cf
...@@ -10,6 +10,51 @@ ...@@ -10,6 +10,51 @@
"table": "dashboard_hospital_base_information" "table": "dashboard_hospital_base_information"
}, },
"properties": { "properties": {
"id": {
"type": "String",
"required": true,
"length": 100,
"precision": null,
"scale": null,
"mysql": {
"columnName": "id",
"dataType": "varchar",
"dataLength": 100,
"dataPrecision": null,
"dataScale": null,
"nullable": "N"
}
},
"rpBrandId": {
"type": "Number",
"required": false,
"length": null,
"precision": 10,
"scale": 0,
"mysql": {
"columnName": "rp_brand_id",
"dataType": "int",
"dataLength": null,
"dataPrecision": 10,
"dataScale": 0,
"nullable": "Y"
}
},
"rpBrand": {
"type": "String",
"required": false,
"length": 100,
"precision": null,
"scale": null,
"mysql": {
"columnName": "rp_brand",
"dataType": "varchar",
"dataLength": 100,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"rpRegionid": { "rpRegionid": {
"type": "String", "type": "String",
"required": false, "required": false,
...@@ -86,17 +131,17 @@ ...@@ -86,17 +131,17 @@
} }
}, },
"clinicId": { "clinicId": {
"type": "Number", "type": "String",
"required": false, "required": false,
"length": null, "length": 100,
"precision": 10, "precision": null,
"scale": 0, "scale": null,
"mysql": { "mysql": {
"columnName": "clinic_id", "columnName": "clinic_id",
"dataType": "int", "dataType": "varchar",
"dataLength": null, "dataLength": 100,
"dataPrecision": 10, "dataPrecision": null,
"dataScale": 0, "dataScale": null,
"nullable": "Y" "nullable": "Y"
} }
}, },
...@@ -160,14 +205,29 @@ ...@@ -160,14 +205,29 @@
"nullable": "Y" "nullable": "Y"
} }
}, },
"id": { "address": {
"type": "String",
"required": false,
"length": 200,
"precision": null,
"scale": null,
"mysql": {
"columnName": "address",
"dataType": "varchar",
"dataLength": 200,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"deanNumber": {
"type": "String", "type": "String",
"required": false, "required": false,
"length": 100, "length": 100,
"precision": null, "precision": null,
"scale": null, "scale": null,
"mysql": { "mysql": {
"columnName": "id", "columnName": "dean_number",
"dataType": "varchar", "dataType": "varchar",
"dataLength": 100, "dataLength": 100,
"dataPrecision": null, "dataPrecision": null,
......
...@@ -1561,398 +1561,6 @@ paths: ...@@ -1561,398 +1561,6 @@ paths:
type: number type: number
format: double format: double
deprecated: false deprecated: false
/DashboardHospitalBaseInformations:
post:
tags:
- DashboardHospitalBaseInformation
summary: Create a new instance of the model and persist it into the data source.
operationId: DashboardHospitalBaseInformation.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
patch:
tags:
- DashboardHospitalBaseInformation
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: DashboardHospitalBaseInformation.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
put:
tags:
- DashboardHospitalBaseInformation
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
DashboardHospitalBaseInformation.replaceOrCreate__put_DashboardHospitalBaseInformations
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
get:
tags:
- DashboardHospitalBaseInformation
summary: Find all instances of the model matched by filter from the data source.
operationId: DashboardHospitalBaseInformation.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
/DashboardHospitalBaseInformations/replaceOrCreate:
post:
tags:
- DashboardHospitalBaseInformation
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
DashboardHospitalBaseInformation.replaceOrCreate__post_DashboardHospitalBaseInformations_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
/DashboardHospitalBaseInformations/upsertWithWhere:
post:
tags:
- DashboardHospitalBaseInformation
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: DashboardHospitalBaseInformation.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
'/DashboardHospitalBaseInformations/{id}/exists':
get:
tags:
- DashboardHospitalBaseInformation
summary: Check whether a model instance exists in the data source.
operationId: >-
DashboardHospitalBaseInformation.exists__get_DashboardHospitalBaseInformations_{id}_exists
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/DashboardHospitalBaseInformations/{id}':
head:
tags:
- DashboardHospitalBaseInformation
summary: Check whether a model instance exists in the data source.
operationId: >-
DashboardHospitalBaseInformation.exists__head_DashboardHospitalBaseInformations_{id}
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- DashboardHospitalBaseInformation
summary: 'Find a model instance by {{id}} from the data source.'
operationId: DashboardHospitalBaseInformation.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
put:
tags:
- DashboardHospitalBaseInformation
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: >-
DashboardHospitalBaseInformation.replaceById__put_DashboardHospitalBaseInformations_{id}
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
delete:
tags:
- DashboardHospitalBaseInformation
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: DashboardHospitalBaseInformation.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- DashboardHospitalBaseInformation
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: DashboardHospitalBaseInformation.prototype.patchAttributes
parameters:
- name: id
in: path
description: DashboardHospitalBaseInformation id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
'/DashboardHospitalBaseInformations/{id}/replace':
post:
tags:
- DashboardHospitalBaseInformation
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: >-
DashboardHospitalBaseInformation.replaceById__post_DashboardHospitalBaseInformations_{id}_replace
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
/DashboardHospitalBaseInformations/findOne:
get:
tags:
- DashboardHospitalBaseInformation
summary: Find first instance of the model matched by filter from the data source.
operationId: DashboardHospitalBaseInformation.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
/DashboardHospitalBaseInformations/update:
post:
tags:
- DashboardHospitalBaseInformation
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: DashboardHospitalBaseInformation.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/DashboardHospitalBaseInformations/count:
get:
tags:
- DashboardHospitalBaseInformation
summary: Count instances of the model matched by where from the data source.
operationId: DashboardHospitalBaseInformation.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
/DashboardRvetCounts: /DashboardRvetCounts:
post: post:
tags: tags:
...@@ -33650,6 +33258,398 @@ paths: ...@@ -33650,6 +33258,398 @@ paths:
type: number type: number
format: double format: double
deprecated: false deprecated: false
/DashboardHospitalBaseInformations:
post:
tags:
- DashboardHospitalBaseInformation
summary: Create a new instance of the model and persist it into the data source.
operationId: DashboardHospitalBaseInformation.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
patch:
tags:
- DashboardHospitalBaseInformation
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: DashboardHospitalBaseInformation.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
put:
tags:
- DashboardHospitalBaseInformation
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
DashboardHospitalBaseInformation.replaceOrCreate__put_DashboardHospitalBaseInformations
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
get:
tags:
- DashboardHospitalBaseInformation
summary: Find all instances of the model matched by filter from the data source.
operationId: DashboardHospitalBaseInformation.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
/DashboardHospitalBaseInformations/replaceOrCreate:
post:
tags:
- DashboardHospitalBaseInformation
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
DashboardHospitalBaseInformation.replaceOrCreate__post_DashboardHospitalBaseInformations_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
/DashboardHospitalBaseInformations/upsertWithWhere:
post:
tags:
- DashboardHospitalBaseInformation
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: DashboardHospitalBaseInformation.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
'/DashboardHospitalBaseInformations/{id}/exists':
get:
tags:
- DashboardHospitalBaseInformation
summary: Check whether a model instance exists in the data source.
operationId: >-
DashboardHospitalBaseInformation.exists__get_DashboardHospitalBaseInformations_{id}_exists
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/DashboardHospitalBaseInformations/{id}':
head:
tags:
- DashboardHospitalBaseInformation
summary: Check whether a model instance exists in the data source.
operationId: >-
DashboardHospitalBaseInformation.exists__head_DashboardHospitalBaseInformations_{id}
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- DashboardHospitalBaseInformation
summary: 'Find a model instance by {{id}} from the data source.'
operationId: DashboardHospitalBaseInformation.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
put:
tags:
- DashboardHospitalBaseInformation
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: >-
DashboardHospitalBaseInformation.replaceById__put_DashboardHospitalBaseInformations_{id}
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
delete:
tags:
- DashboardHospitalBaseInformation
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: DashboardHospitalBaseInformation.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- DashboardHospitalBaseInformation
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: DashboardHospitalBaseInformation.prototype.patchAttributes
parameters:
- name: id
in: path
description: DashboardHospitalBaseInformation id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
'/DashboardHospitalBaseInformations/{id}/replace':
post:
tags:
- DashboardHospitalBaseInformation
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: >-
DashboardHospitalBaseInformation.replaceById__post_DashboardHospitalBaseInformations_{id}_replace
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
/DashboardHospitalBaseInformations/findOne:
get:
tags:
- DashboardHospitalBaseInformation
summary: Find first instance of the model matched by filter from the data source.
operationId: DashboardHospitalBaseInformation.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/DashboardHospitalBaseInformation'
deprecated: false
/DashboardHospitalBaseInformations/update:
post:
tags:
- DashboardHospitalBaseInformation
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: DashboardHospitalBaseInformation.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/DashboardHospitalBaseInformation'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/DashboardHospitalBaseInformations/count:
get:
tags:
- DashboardHospitalBaseInformation
summary: Count instances of the model matched by where from the data source.
operationId: DashboardHospitalBaseInformation.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
definitions: definitions:
DashboardHospitalAwenCount: DashboardHospitalAwenCount:
properties: properties:
...@@ -33856,42 +33856,6 @@ definitions: ...@@ -33856,42 +33856,6 @@ definitions:
required: required:
- id - id
additionalProperties: false additionalProperties: false
DashboardHospitalBaseInformation:
properties:
rpRegionid:
maxLength: 100
type: string
rpRegion:
maxLength: 100
type: string
rpAreaid:
maxLength: 100
type: string
rpArea:
maxLength: 100
type: string
brandCode:
maxLength: 100
type: string
clinicId:
type: number
format: double
clinicName:
maxLength: 100
type: string
clinicShortname:
maxLength: 100
type: string
lng:
type: number
format: double
lat:
type: number
format: double
id:
maxLength: 100
type: string
additionalProperties: false
DashboardRvetCount: DashboardRvetCount:
properties: properties:
id: id:
...@@ -35052,6 +35016,56 @@ definitions: ...@@ -35052,6 +35016,56 @@ definitions:
required: required:
- value - value
additionalProperties: false additionalProperties: false
DashboardHospitalBaseInformation:
properties:
id:
maxLength: 100
type: string
rpBrandId:
type: number
format: double
rpBrand:
maxLength: 100
type: string
rpRegionid:
maxLength: 100
type: string
rpRegion:
maxLength: 100
type: string
rpAreaid:
maxLength: 100
type: string
rpArea:
maxLength: 100
type: string
brandCode:
maxLength: 100
type: string
clinicId:
maxLength: 100
type: string
clinicName:
maxLength: 100
type: string
clinicShortname:
maxLength: 100
type: string
lng:
type: number
format: double
lat:
type: number
format: double
address:
maxLength: 200
type: string
deanNumber:
maxLength: 100
type: string
required:
- id
additionalProperties: false
basePath: /api/ruipeng basePath: /api/ruipeng
swagger: '2.0' swagger: '2.0'
info: info:
...@@ -29,10 +29,6 @@ ...@@ -29,10 +29,6 @@
"dataSource": "ruipeng", "dataSource": "ruipeng",
"public": true "public": true
}, },
"DashboardHospitalBaseInformation": {
"dataSource": "ruipeng",
"public": true
},
"DashboardRvetCount": { "DashboardRvetCount": {
"dataSource": "ruipeng", "dataSource": "ruipeng",
"public": true "public": true
...@@ -360,5 +356,9 @@ ...@@ -360,5 +356,9 @@
"MainSum": { "MainSum": {
"dataSource": "ruipeng", "dataSource": "ruipeng",
"public": true "public": true
},
"DashboardHospitalBaseInformation": {
"dataSource": "ruipeng",
"public": true
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment