Commit 8f646d7f authored by 曾振佳's avatar 曾振佳

fix

parent 0fd2c7d1
{
"name": "Aaaaaaa",
"base": "PersistedModel",
"idInjection": false,
"options": {
"validateUpsert": true
},
"mysql": {
"schema": "wordpress",
"table": "aaaaaaa"
},
"properties": {
"formId": {
"type": "String",
"required": true,
"length": 1,
"precision": null,
"scale": null,
"mysql": {
"columnName": "form_id",
"dataType": "varchar",
"dataLength": 1,
"dataPrecision": null,
"dataScale": null,
"nullable": "N"
}
},
"area": {
"type": "String",
"required": false,
"length": 4294967295,
"precision": null,
"scale": null,
"mysql": {
"columnName": "area",
"dataType": "longtext",
"dataLength": 4294967295,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"community": {
"type": "String",
"required": false,
"length": 4294967295,
"precision": null,
"scale": null,
"mysql": {
"columnName": "community",
"dataType": "longtext",
"dataLength": 4294967295,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
}
},
"validations": [],
"relations": {},
"acls": [],
"methods": {}
}
'use strict';
module.exports = function(Bbbbb) {
};
'use strict';
module.exports = function(Wpwpdatatable14) {
};
'use strict'; 'use strict';
module.exports = function(Aaaaaaa) { module.exports = function(Zzjjbxx1) {
}; };
{ {
"name": "Bbbbb", "name": "ZzjJbxx1",
"base": "PersistedModel", "base": "PersistedModel",
"idInjection": false, "idInjection": false,
"options": { "options": {
...@@ -7,21 +7,21 @@ ...@@ -7,21 +7,21 @@
}, },
"mysql": { "mysql": {
"schema": "wordpress", "schema": "wordpress",
"table": "bbbbb" "table": "zzj_jbxx_1"
}, },
"properties": { "properties": {
"id": { "id": {
"type": "String", "type": "Number",
"required": true, "required": true,
"length": 3, "length": null,
"precision": null, "precision": 20,
"scale": null, "scale": 0,
"mysql": { "mysql": {
"columnName": "id", "columnName": "id",
"dataType": "varchar", "dataType": "bigint",
"dataLength": 3, "dataLength": null,
"dataPrecision": null, "dataPrecision": 20,
"dataScale": null, "dataScale": 0,
"nullable": "N" "nullable": "N"
} }
}, },
......
'use strict';
module.exports = function(Zzjwpdatatable14) {
};
{ {
"name": "WpWpdatatable14", "name": "ZzjWpdatatable14",
"base": "PersistedModel", "base": "PersistedModel",
"idInjection": false, "idInjection": false,
"options": { "options": {
...@@ -7,9 +7,24 @@ ...@@ -7,9 +7,24 @@
}, },
"mysql": { "mysql": {
"schema": "wordpress", "schema": "wordpress",
"table": "wp_wpdatatable_14" "table": "zzj_wpdatatable_14"
}, },
"properties": { "properties": {
"id": {
"type": "String",
"required": false,
"length": 36,
"precision": null,
"scale": null,
"mysql": {
"columnName": "id",
"dataType": "varchar",
"dataLength": 36,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"wdtId": { "wdtId": {
"type": "Number", "type": "Number",
"required": true, "required": true,
......
...@@ -4184,12 +4184,12 @@ paths: ...@@ -4184,12 +4184,12 @@ paths:
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
/WpWpdatatable14s: /ZzjWpdatatable14s:
post: post:
tags: tags:
- WpWpdatatable14 - ZzjWpdatatable14
summary: Create a new instance of the model and persist it into the data source. summary: Create a new instance of the model and persist it into the data source.
operationId: WpWpdatatable14.create operationId: ZzjWpdatatable14.create
parameters: parameters:
- name: data - name: data
in: body in: body
...@@ -4197,22 +4197,22 @@ paths: ...@@ -4197,22 +4197,22 @@ paths:
required: false required: false
schema: schema:
description: Model instance data description: Model instance data
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
patch: patch:
tags: tags:
- WpWpdatatable14 - ZzjWpdatatable14
summary: >- summary: >-
Patch an existing model instance or insert a new one into the data Patch an existing model instance or insert a new one into the data
source. source.
operationId: WpWpdatatable14.patchOrCreate operationId: ZzjWpdatatable14.patchOrCreate
parameters: parameters:
- name: data - name: data
in: body in: body
...@@ -4220,22 +4220,22 @@ paths: ...@@ -4220,22 +4220,22 @@ paths:
required: false required: false
schema: schema:
description: Model instance data description: Model instance data
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
put: put:
tags: tags:
- WpWpdatatable14 - ZzjWpdatatable14
summary: >- summary: >-
Replace an existing model instance or insert a new one into the data Replace an existing model instance or insert a new one into the data
source. source.
operationId: WpWpdatatable14.replaceOrCreate__put_WpWpdatatable14s operationId: ZzjWpdatatable14.replaceOrCreate__put_ZzjWpdatatable14s
parameters: parameters:
- name: data - name: data
in: body in: body
...@@ -4243,20 +4243,20 @@ paths: ...@@ -4243,20 +4243,20 @@ paths:
required: false required: false
schema: schema:
description: Model instance data description: Model instance data
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
get: get:
tags: tags:
- WpWpdatatable14 - ZzjWpdatatable14
summary: Find all instances of the model matched by filter from the data source. summary: Find all instances of the model matched by filter from the data source.
operationId: WpWpdatatable14.find operationId: ZzjWpdatatable14.find
parameters: parameters:
- name: filter - name: filter
in: query in: query
...@@ -4275,18 +4275,18 @@ paths: ...@@ -4275,18 +4275,18 @@ paths:
schema: schema:
type: array type: array
items: items:
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
/WpWpdatatable14s/replaceOrCreate: /ZzjWpdatatable14s/replaceOrCreate:
post: post:
tags: tags:
- WpWpdatatable14 - ZzjWpdatatable14
summary: >- summary: >-
Replace an existing model instance or insert a new one into the data Replace an existing model instance or insert a new one into the data
source. source.
operationId: WpWpdatatable14.replaceOrCreate__post_WpWpdatatable14s_replaceOrCreate operationId: ZzjWpdatatable14.replaceOrCreate__post_ZzjWpdatatable14s_replaceOrCreate
parameters: parameters:
- name: data - name: data
in: body in: body
...@@ -4294,23 +4294,23 @@ paths: ...@@ -4294,23 +4294,23 @@ paths:
required: false required: false
schema: schema:
description: Model instance data description: Model instance data
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
/WpWpdatatable14s/upsertWithWhere: /ZzjWpdatatable14s/upsertWithWhere:
post: post:
tags: tags:
- WpWpdatatable14 - ZzjWpdatatable14
summary: >- summary: >-
Update an existing model instance or insert a new one into the data Update an existing model instance or insert a new one into the data
source based on the where criteria. source based on the where criteria.
operationId: WpWpdatatable14.upsertWithWhere operationId: ZzjWpdatatable14.upsertWithWhere
parameters: parameters:
- name: where - name: where
in: query in: query
...@@ -4324,21 +4324,21 @@ paths: ...@@ -4324,21 +4324,21 @@ paths:
required: false required: false
schema: schema:
description: An object of model property name/value pairs description: An object of model property name/value pairs
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
'/WpWpdatatable14s/{id}/exists': '/ZzjWpdatatable14s/{id}/exists':
get: get:
tags: tags:
- WpWpdatatable14 - ZzjWpdatatable14
summary: Check whether a model instance exists in the data source. summary: Check whether a model instance exists in the data source.
operationId: 'WpWpdatatable14.exists__get_WpWpdatatable14s_{id}_exists' operationId: 'ZzjWpdatatable14.exists__get_ZzjWpdatatable14s_{id}_exists'
parameters: parameters:
- name: id - name: id
in: path in: path
...@@ -4357,12 +4357,12 @@ paths: ...@@ -4357,12 +4357,12 @@ paths:
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
'/WpWpdatatable14s/{id}': '/ZzjWpdatatable14s/{id}':
head: head:
tags: tags:
- WpWpdatatable14 - ZzjWpdatatable14
summary: Check whether a model instance exists in the data source. summary: Check whether a model instance exists in the data source.
operationId: 'WpWpdatatable14.exists__head_WpWpdatatable14s_{id}' operationId: 'ZzjWpdatatable14.exists__head_ZzjWpdatatable14s_{id}'
parameters: parameters:
- name: id - name: id
in: path in: path
...@@ -4383,9 +4383,9 @@ paths: ...@@ -4383,9 +4383,9 @@ paths:
deprecated: false deprecated: false
get: get:
tags: tags:
- WpWpdatatable14 - ZzjWpdatatable14
summary: 'Find a model instance by {{id}} from the data source.' summary: 'Find a model instance by {{id}} from the data source.'
operationId: WpWpdatatable14.findById operationId: ZzjWpdatatable14.findById
parameters: parameters:
- name: id - name: id
in: path in: path
...@@ -4405,17 +4405,17 @@ paths: ...@@ -4405,17 +4405,17 @@ paths:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
put: put:
tags: tags:
- WpWpdatatable14 - ZzjWpdatatable14
summary: >- summary: >-
Replace attributes for a model instance and persist it into the data Replace attributes for a model instance and persist it into the data
source. source.
operationId: 'WpWpdatatable14.replaceById__put_WpWpdatatable14s_{id}' operationId: 'ZzjWpdatatable14.replaceById__put_ZzjWpdatatable14s_{id}'
parameters: parameters:
- name: id - name: id
in: path in: path
...@@ -4429,20 +4429,20 @@ paths: ...@@ -4429,20 +4429,20 @@ paths:
required: false required: false
schema: schema:
description: Model instance data description: Model instance data
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
delete: delete:
tags: tags:
- WpWpdatatable14 - ZzjWpdatatable14
summary: 'Delete a model instance by {{id}} from the data source.' summary: 'Delete a model instance by {{id}} from the data source.'
operationId: WpWpdatatable14.deleteById operationId: ZzjWpdatatable14.deleteById
parameters: parameters:
- name: id - name: id
in: path in: path
...@@ -4460,15 +4460,15 @@ paths: ...@@ -4460,15 +4460,15 @@ paths:
deprecated: false deprecated: false
patch: patch:
tags: tags:
- WpWpdatatable14 - ZzjWpdatatable14
summary: >- summary: >-
Patch attributes for a model instance and persist it into the data Patch attributes for a model instance and persist it into the data
source. source.
operationId: WpWpdatatable14.prototype.patchAttributes operationId: ZzjWpdatatable14.prototype.patchAttributes
parameters: parameters:
- name: id - name: id
in: path in: path
description: WpWpdatatable14 id description: ZzjWpdatatable14 id
required: true required: true
type: string type: string
format: JSON format: JSON
...@@ -4478,23 +4478,23 @@ paths: ...@@ -4478,23 +4478,23 @@ paths:
required: false required: false
schema: schema:
description: An object of model property name/value pairs description: An object of model property name/value pairs
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
'/WpWpdatatable14s/{id}/replace': '/ZzjWpdatatable14s/{id}/replace':
post: post:
tags: tags:
- WpWpdatatable14 - ZzjWpdatatable14
summary: >- summary: >-
Replace attributes for a model instance and persist it into the data Replace attributes for a model instance and persist it into the data
source. source.
operationId: 'WpWpdatatable14.replaceById__post_WpWpdatatable14s_{id}_replace' operationId: 'ZzjWpdatatable14.replaceById__post_ZzjWpdatatable14s_{id}_replace'
parameters: parameters:
- name: id - name: id
in: path in: path
...@@ -4508,21 +4508,21 @@ paths: ...@@ -4508,21 +4508,21 @@ paths:
required: false required: false
schema: schema:
description: Model instance data description: Model instance data
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
/WpWpdatatable14s/findOne: /ZzjWpdatatable14s/findOne:
get: get:
tags: tags:
- WpWpdatatable14 - ZzjWpdatatable14
summary: Find first instance of the model matched by filter from the data source. summary: Find first instance of the model matched by filter from the data source.
operationId: WpWpdatatable14.findOne operationId: ZzjWpdatatable14.findOne
parameters: parameters:
- name: filter - name: filter
in: query in: query
...@@ -4539,16 +4539,16 @@ paths: ...@@ -4539,16 +4539,16 @@ paths:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
/WpWpdatatable14s/update: /ZzjWpdatatable14s/update:
post: post:
tags: tags:
- WpWpdatatable14 - ZzjWpdatatable14
summary: 'Update instances of the model matched by {{where}} from the data source.' summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: WpWpdatatable14.updateAll operationId: ZzjWpdatatable14.updateAll
parameters: parameters:
- name: where - name: where
in: query in: query
...@@ -4562,7 +4562,7 @@ paths: ...@@ -4562,7 +4562,7 @@ paths:
required: false required: false
schema: schema:
description: An object of model property name/value pairs description: An object of model property name/value pairs
$ref: '#/definitions/WpWpdatatable14' $ref: '#/definitions/ZzjWpdatatable14'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
...@@ -4577,12 +4577,12 @@ paths: ...@@ -4577,12 +4577,12 @@ paths:
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
/WpWpdatatable14s/count: /ZzjWpdatatable14s/count:
get: get:
tags: tags:
- WpWpdatatable14 - ZzjWpdatatable14
summary: Count instances of the model matched by where from the data source. summary: Count instances of the model matched by where from the data source.
operationId: WpWpdatatable14.count operationId: ZzjWpdatatable14.count
parameters: parameters:
- name: where - name: where
in: query in: query
...@@ -4602,12 +4602,12 @@ paths: ...@@ -4602,12 +4602,12 @@ paths:
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
/Aaaaaaas: /ZzjJbxx1s:
post: post:
tags: tags:
- Aaaaaaa - ZzjJbxx1
summary: Create a new instance of the model and persist it into the data source. summary: Create a new instance of the model and persist it into the data source.
operationId: Aaaaaaa.create operationId: ZzjJbxx1.create
parameters: parameters:
- name: data - name: data
in: body in: body
...@@ -4615,22 +4615,22 @@ paths: ...@@ -4615,22 +4615,22 @@ paths:
required: false required: false
schema: schema:
description: Model instance data description: Model instance data
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
patch: patch:
tags: tags:
- Aaaaaaa - ZzjJbxx1
summary: >- summary: >-
Patch an existing model instance or insert a new one into the data Patch an existing model instance or insert a new one into the data
source. source.
operationId: Aaaaaaa.patchOrCreate operationId: ZzjJbxx1.patchOrCreate
parameters: parameters:
- name: data - name: data
in: body in: body
...@@ -4638,22 +4638,22 @@ paths: ...@@ -4638,22 +4638,22 @@ paths:
required: false required: false
schema: schema:
description: Model instance data description: Model instance data
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
put: put:
tags: tags:
- Aaaaaaa - ZzjJbxx1
summary: >- summary: >-
Replace an existing model instance or insert a new one into the data Replace an existing model instance or insert a new one into the data
source. source.
operationId: Aaaaaaa.replaceOrCreate__put_Aaaaaaas operationId: ZzjJbxx1.replaceOrCreate__put_ZzjJbxx1s
parameters: parameters:
- name: data - name: data
in: body in: body
...@@ -4661,20 +4661,20 @@ paths: ...@@ -4661,20 +4661,20 @@ paths:
required: false required: false
schema: schema:
description: Model instance data description: Model instance data
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
get: get:
tags: tags:
- Aaaaaaa - ZzjJbxx1
summary: Find all instances of the model matched by filter from the data source. summary: Find all instances of the model matched by filter from the data source.
operationId: Aaaaaaa.find operationId: ZzjJbxx1.find
parameters: parameters:
- name: filter - name: filter
in: query in: query
...@@ -4693,18 +4693,18 @@ paths: ...@@ -4693,18 +4693,18 @@ paths:
schema: schema:
type: array type: array
items: items:
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
/Aaaaaaas/replaceOrCreate: /ZzjJbxx1s/replaceOrCreate:
post: post:
tags: tags:
- Aaaaaaa - ZzjJbxx1
summary: >- summary: >-
Replace an existing model instance or insert a new one into the data Replace an existing model instance or insert a new one into the data
source. source.
operationId: Aaaaaaa.replaceOrCreate__post_Aaaaaaas_replaceOrCreate operationId: ZzjJbxx1.replaceOrCreate__post_ZzjJbxx1s_replaceOrCreate
parameters: parameters:
- name: data - name: data
in: body in: body
...@@ -4712,23 +4712,23 @@ paths: ...@@ -4712,23 +4712,23 @@ paths:
required: false required: false
schema: schema:
description: Model instance data description: Model instance data
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
/Aaaaaaas/upsertWithWhere: /ZzjJbxx1s/upsertWithWhere:
post: post:
tags: tags:
- Aaaaaaa - ZzjJbxx1
summary: >- summary: >-
Update an existing model instance or insert a new one into the data Update an existing model instance or insert a new one into the data
source based on the where criteria. source based on the where criteria.
operationId: Aaaaaaa.upsertWithWhere operationId: ZzjJbxx1.upsertWithWhere
parameters: parameters:
- name: where - name: where
in: query in: query
...@@ -4742,21 +4742,21 @@ paths: ...@@ -4742,21 +4742,21 @@ paths:
required: false required: false
schema: schema:
description: An object of model property name/value pairs description: An object of model property name/value pairs
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
'/Aaaaaaas/{id}/exists': '/ZzjJbxx1s/{id}/exists':
get: get:
tags: tags:
- Aaaaaaa - ZzjJbxx1
summary: Check whether a model instance exists in the data source. summary: Check whether a model instance exists in the data source.
operationId: 'Aaaaaaa.exists__get_Aaaaaaas_{id}_exists' operationId: 'ZzjJbxx1.exists__get_ZzjJbxx1s_{id}_exists'
parameters: parameters:
- name: id - name: id
in: path in: path
...@@ -4775,12 +4775,12 @@ paths: ...@@ -4775,12 +4775,12 @@ paths:
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
'/Aaaaaaas/{id}': '/ZzjJbxx1s/{id}':
head: head:
tags: tags:
- Aaaaaaa - ZzjJbxx1
summary: Check whether a model instance exists in the data source. summary: Check whether a model instance exists in the data source.
operationId: 'Aaaaaaa.exists__head_Aaaaaaas_{id}' operationId: 'ZzjJbxx1.exists__head_ZzjJbxx1s_{id}'
parameters: parameters:
- name: id - name: id
in: path in: path
...@@ -4801,9 +4801,9 @@ paths: ...@@ -4801,9 +4801,9 @@ paths:
deprecated: false deprecated: false
get: get:
tags: tags:
- Aaaaaaa - ZzjJbxx1
summary: 'Find a model instance by {{id}} from the data source.' summary: 'Find a model instance by {{id}} from the data source.'
operationId: Aaaaaaa.findById operationId: ZzjJbxx1.findById
parameters: parameters:
- name: id - name: id
in: path in: path
...@@ -4823,17 +4823,17 @@ paths: ...@@ -4823,17 +4823,17 @@ paths:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
put: put:
tags: tags:
- Aaaaaaa - ZzjJbxx1
summary: >- summary: >-
Replace attributes for a model instance and persist it into the data Replace attributes for a model instance and persist it into the data
source. source.
operationId: 'Aaaaaaa.replaceById__put_Aaaaaaas_{id}' operationId: 'ZzjJbxx1.replaceById__put_ZzjJbxx1s_{id}'
parameters: parameters:
- name: id - name: id
in: path in: path
...@@ -4847,20 +4847,20 @@ paths: ...@@ -4847,20 +4847,20 @@ paths:
required: false required: false
schema: schema:
description: Model instance data description: Model instance data
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
delete: delete:
tags: tags:
- Aaaaaaa - ZzjJbxx1
summary: 'Delete a model instance by {{id}} from the data source.' summary: 'Delete a model instance by {{id}} from the data source.'
operationId: Aaaaaaa.deleteById operationId: ZzjJbxx1.deleteById
parameters: parameters:
- name: id - name: id
in: path in: path
...@@ -4878,15 +4878,15 @@ paths: ...@@ -4878,15 +4878,15 @@ paths:
deprecated: false deprecated: false
patch: patch:
tags: tags:
- Aaaaaaa - ZzjJbxx1
summary: >- summary: >-
Patch attributes for a model instance and persist it into the data Patch attributes for a model instance and persist it into the data
source. source.
operationId: Aaaaaaa.prototype.patchAttributes operationId: ZzjJbxx1.prototype.patchAttributes
parameters: parameters:
- name: id - name: id
in: path in: path
description: Aaaaaaa id description: ZzjJbxx1 id
required: true required: true
type: string type: string
format: JSON format: JSON
...@@ -4896,23 +4896,23 @@ paths: ...@@ -4896,23 +4896,23 @@ paths:
required: false required: false
schema: schema:
description: An object of model property name/value pairs description: An object of model property name/value pairs
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
'/Aaaaaaas/{id}/replace': '/ZzjJbxx1s/{id}/replace':
post: post:
tags: tags:
- Aaaaaaa - ZzjJbxx1
summary: >- summary: >-
Replace attributes for a model instance and persist it into the data Replace attributes for a model instance and persist it into the data
source. source.
operationId: 'Aaaaaaa.replaceById__post_Aaaaaaas_{id}_replace' operationId: 'ZzjJbxx1.replaceById__post_ZzjJbxx1s_{id}_replace'
parameters: parameters:
- name: id - name: id
in: path in: path
...@@ -4926,21 +4926,21 @@ paths: ...@@ -4926,21 +4926,21 @@ paths:
required: false required: false
schema: schema:
description: Model instance data description: Model instance data
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
/Aaaaaaas/findOne: /ZzjJbxx1s/findOne:
get: get:
tags: tags:
- Aaaaaaa - ZzjJbxx1
summary: Find first instance of the model matched by filter from the data source. summary: Find first instance of the model matched by filter from the data source.
operationId: Aaaaaaa.findOne operationId: ZzjJbxx1.findOne
parameters: parameters:
- name: filter - name: filter
in: query in: query
...@@ -4957,16 +4957,16 @@ paths: ...@@ -4957,16 +4957,16 @@ paths:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
/Aaaaaaas/update: /ZzjJbxx1s/update:
post: post:
tags: tags:
- Aaaaaaa - ZzjJbxx1
summary: 'Update instances of the model matched by {{where}} from the data source.' summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: Aaaaaaa.updateAll operationId: ZzjJbxx1.updateAll
parameters: parameters:
- name: where - name: where
in: query in: query
...@@ -4980,7 +4980,7 @@ paths: ...@@ -4980,7 +4980,7 @@ paths:
required: false required: false
schema: schema:
description: An object of model property name/value pairs description: An object of model property name/value pairs
$ref: '#/definitions/Aaaaaaa' $ref: '#/definitions/ZzjJbxx1'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
...@@ -4995,430 +4995,12 @@ paths: ...@@ -4995,430 +4995,12 @@ paths:
undefined: undefined:
description: Unknown error description: Unknown error
deprecated: false deprecated: false
/Aaaaaaas/count: /ZzjJbxx1s/count:
get: get:
tags: tags:
- Aaaaaaa - ZzjJbxx1
summary: Count instances of the model matched by where from the data source. summary: Count instances of the model matched by where from the data source.
operationId: Aaaaaaa.count operationId: ZzjJbxx1.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
undefined:
description: Unknown error
deprecated: false
/Bbbbbs:
post:
tags:
- Bbbbb
summary: Create a new instance of the model and persist it into the data source.
operationId: Bbbbb.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/Bbbbb'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Bbbbb'
undefined:
description: Unknown error
deprecated: false
patch:
tags:
- Bbbbb
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: Bbbbb.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/Bbbbb'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Bbbbb'
undefined:
description: Unknown error
deprecated: false
put:
tags:
- Bbbbb
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Bbbbb.replaceOrCreate__put_Bbbbbs
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/Bbbbb'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Bbbbb'
undefined:
description: Unknown error
deprecated: false
get:
tags:
- Bbbbb
summary: Find all instances of the model matched by filter from the data source.
operationId: Bbbbb.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/Bbbbb'
undefined:
description: Unknown error
deprecated: false
/Bbbbbs/replaceOrCreate:
post:
tags:
- Bbbbb
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Bbbbb.replaceOrCreate__post_Bbbbbs_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/Bbbbb'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Bbbbb'
undefined:
description: Unknown error
deprecated: false
/Bbbbbs/upsertWithWhere:
post:
tags:
- Bbbbb
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: Bbbbb.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/Bbbbb'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Bbbbb'
undefined:
description: Unknown error
deprecated: false
'/Bbbbbs/{id}/exists':
get:
tags:
- Bbbbb
summary: Check whether a model instance exists in the data source.
operationId: 'Bbbbb.exists__get_Bbbbbs_{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
undefined:
description: Unknown error
deprecated: false
'/Bbbbbs/{id}':
head:
tags:
- Bbbbb
summary: Check whether a model instance exists in the data source.
operationId: 'Bbbbb.exists__head_Bbbbbs_{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
undefined:
description: Unknown error
deprecated: false
get:
tags:
- Bbbbb
summary: 'Find a model instance by {{id}} from the data source.'
operationId: Bbbbb.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/Bbbbb'
undefined:
description: Unknown error
deprecated: false
put:
tags:
- Bbbbb
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Bbbbb.replaceById__put_Bbbbbs_{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/Bbbbb'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Bbbbb'
undefined:
description: Unknown error
deprecated: false
delete:
tags:
- Bbbbb
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: Bbbbb.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
undefined:
description: Unknown error
deprecated: false
patch:
tags:
- Bbbbb
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: Bbbbb.prototype.patchAttributes
parameters:
- name: id
in: path
description: Bbbbb 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/Bbbbb'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Bbbbb'
undefined:
description: Unknown error
deprecated: false
'/Bbbbbs/{id}/replace':
post:
tags:
- Bbbbb
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Bbbbb.replaceById__post_Bbbbbs_{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/Bbbbb'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Bbbbb'
undefined:
description: Unknown error
deprecated: false
/Bbbbbs/findOne:
get:
tags:
- Bbbbb
summary: Find first instance of the model matched by filter from the data source.
operationId: Bbbbb.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/Bbbbb'
undefined:
description: Unknown error
deprecated: false
/Bbbbbs/update:
post:
tags:
- Bbbbb
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: Bbbbb.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/Bbbbb'
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
undefined:
description: Unknown error
deprecated: false
/Bbbbbs/count:
get:
tags:
- Bbbbb
summary: Count instances of the model matched by where from the data source.
operationId: Bbbbb.count
parameters: parameters:
- name: where - name: where
in: query in: query
...@@ -5621,8 +5203,11 @@ definitions: ...@@ -5621,8 +5203,11 @@ definitions:
- id - id
- formId - formId
additionalProperties: false additionalProperties: false
WpWpdatatable14: ZzjWpdatatable14:
properties: properties:
id:
maxLength: 36
type: string
wdtId: wdtId:
type: number type: number
format: double format: double
...@@ -5632,34 +5217,14 @@ definitions: ...@@ -5632,34 +5217,14 @@ definitions:
wdtcolumn1: wdtcolumn1:
maxLength: 2000 maxLength: 2000
type: string type: string
id:
type: number
format: double
required: required:
- wdtId - wdtId
additionalProperties: false additionalProperties: false
Aaaaaaa: ZzjJbxx1:
properties: properties:
formId:
maxLength: 1
type: string
area:
maxLength: 4294967295
type: string
community:
maxLength: 4294967295
type: string
id: id:
type: number type: number
format: double format: double
required:
- formId
additionalProperties: false
Bbbbb:
properties:
id:
maxLength: 3
type: string
formId: formId:
maxLength: 1 maxLength: 1
type: string type: string
......
...@@ -53,15 +53,11 @@ ...@@ -53,15 +53,11 @@
"dataSource": "【本地】正本清源数据库", "dataSource": "【本地】正本清源数据库",
"public": true "public": true
}, },
"WpWpdatatable14": { "ZzjWpdatatable14": {
"dataSource": "【本地】正本清源数据库", "dataSource": "【本地】正本清源数据库",
"public": true "public": true
}, },
"Aaaaaaa": { "ZzjJbxx1": {
"dataSource": "【本地】正本清源数据库",
"public": true
},
"Bbbbb": {
"dataSource": "【本地】正本清源数据库", "dataSource": "【本地】正本清源数据库",
"public": true "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