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

add

parent 11110d58
...@@ -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,
......
...@@ -33258,6 +33258,392 @@ paths: ...@@ -33258,6 +33258,392 @@ paths:
type: number type: number
format: double format: double
deprecated: false deprecated: false
/MapHos2s:
post:
tags:
- MapHos2
summary: Create a new instance of the model and persist it into the data source.
operationId: MapHos2.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/MapHos2'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/MapHos2'
deprecated: false
patch:
tags:
- MapHos2
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: MapHos2.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/MapHos2'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/MapHos2'
deprecated: false
put:
tags:
- MapHos2
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: MapHos2.replaceOrCreate__put_MapHos2s
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/MapHos2'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/MapHos2'
deprecated: false
get:
tags:
- MapHos2
summary: Find all instances of the model matched by filter from the data source.
operationId: MapHos2.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/MapHos2'
deprecated: false
/MapHos2s/replaceOrCreate:
post:
tags:
- MapHos2
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: MapHos2.replaceOrCreate__post_MapHos2s_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/MapHos2'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/MapHos2'
deprecated: false
/MapHos2s/upsertWithWhere:
post:
tags:
- MapHos2
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: MapHos2.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/MapHos2'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/MapHos2'
deprecated: false
'/MapHos2s/{id}/exists':
get:
tags:
- MapHos2
summary: Check whether a model instance exists in the data source.
operationId: 'MapHos2.exists__get_MapHos2s_{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
'/MapHos2s/{id}':
head:
tags:
- MapHos2
summary: Check whether a model instance exists in the data source.
operationId: 'MapHos2.exists__head_MapHos2s_{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:
- MapHos2
summary: 'Find a model instance by {{id}} from the data source.'
operationId: MapHos2.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/MapHos2'
deprecated: false
put:
tags:
- MapHos2
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'MapHos2.replaceById__put_MapHos2s_{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/MapHos2'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/MapHos2'
deprecated: false
delete:
tags:
- MapHos2
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: MapHos2.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:
- MapHos2
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: MapHos2.prototype.patchAttributes
parameters:
- name: id
in: path
description: MapHos2 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/MapHos2'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/MapHos2'
deprecated: false
'/MapHos2s/{id}/replace':
post:
tags:
- MapHos2
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'MapHos2.replaceById__post_MapHos2s_{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/MapHos2'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/MapHos2'
deprecated: false
/MapHos2s/findOne:
get:
tags:
- MapHos2
summary: Find first instance of the model matched by filter from the data source.
operationId: MapHos2.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/MapHos2'
deprecated: false
/MapHos2s/update:
post:
tags:
- MapHos2
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: MapHos2.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/MapHos2'
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
/MapHos2s/count:
get:
tags:
- MapHos2
summary: Count instances of the model matched by where from the data source.
operationId: MapHos2.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
/DashboardHospitalBaseInformations: /DashboardHospitalBaseInformations:
post: post:
tags: tags:
...@@ -35016,6 +35402,18 @@ definitions: ...@@ -35016,6 +35402,18 @@ definitions:
required: required:
- value - value
additionalProperties: false additionalProperties: false
MapHos2:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 100
type: string
value:
maxLength: 50
type: string
additionalProperties: false
DashboardHospitalBaseInformation: DashboardHospitalBaseInformation:
properties: properties:
id: id:
...@@ -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
...@@ -364,5 +360,9 @@ ...@@ -364,5 +360,9 @@
"MapHos2": { "MapHos2": {
"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