From 34ef7217a034599217a7fdd1e28e1ae6910e1b4b Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 11 十月 2023 20:15:21 +0800 Subject: [PATCH] 菜单获取编码规则 --- docs/swagger.yaml | 252 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 252 insertions(+), 0 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 939b48c..32cbcec 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -1,4 +1,45 @@ definitions: + code.CodeAuto: + properties: + AutoLength: + type: integer + Desc: + type: string + PrefixMethod: + type: integer + PrefixValue: + type: string + SuffixMethod: + type: integer + type: object + code.CodeRule: + properties: + Desc: + type: string + Length: + type: integer + Name: + type: string + type: object + code.CodeStandard: + properties: + AutoRule: + $ref: '#/definitions/code.CodeAuto' + ID: + type: string + List: + items: + $ref: '#/definitions/code.CodeRule' + type: array + Method: + type: integer + Name: + type: string + Status: + type: string + Type: + type: string + type: object constvar.BankAccountKeywordType: enum: - "" @@ -467,6 +508,8 @@ $ref: '#/definitions/model.ClientType' client_type_id: type: integer + codeStandID: + type: string contacts: items: $ref: '#/definitions/model.Contact' @@ -602,6 +645,8 @@ type: integer client_id: type: integer + codeStandID: + type: string country: $ref: '#/definitions/model.Country' country_id: @@ -649,6 +694,8 @@ $ref: '#/definitions/model.Client' client_id: type: integer + codeStandID: + type: string country: $ref: '#/definitions/model.Country' country_id: @@ -701,6 +748,8 @@ $ref: '#/definitions/model.Client' clientId: type: integer + codeStandID: + type: string created_at: description: |- The date when the item was created @@ -803,6 +852,8 @@ $ref: '#/definitions/model.ClientStatus' client_status_id: type: integer + codeStandID: + type: string contact: $ref: '#/definitions/model.Contact' contact_id: @@ -935,6 +986,8 @@ $ref: '#/definitions/model.Client' client_id: type: integer + codeStandID: + type: string end_time: type: string id: @@ -1082,6 +1135,8 @@ $ref: '#/definitions/model.Client' client_id: type: integer + codeStandID: + type: string conditions: type: string contact: @@ -1237,6 +1292,8 @@ $ref: '#/definitions/model.Client' client_id: type: integer + codeStandID: + type: string collection_projections: items: $ref: '#/definitions/model.CollectionProjection' @@ -1361,6 +1418,8 @@ $ref: '#/definitions/model.Client' clientId: type: integer + codeStandID: + type: string conditions: type: string createTime: @@ -1412,6 +1471,8 @@ $ref: '#/definitions/model.City' city_id: type: integer + codeStandID: + type: string contact_name: type: string contact_phone: @@ -1473,6 +1534,8 @@ $ref: '#/definitions/model.Client' clientId: type: integer + codeStandID: + type: string createTime: type: string creatorName: @@ -1528,6 +1591,8 @@ $ref: '#/definitions/model.Client' clientId: type: integer + codeStandID: + type: string createTime: type: string creatorName: @@ -1666,6 +1731,8 @@ $ref: '#/definitions/model.Client' clientId: type: integer + codeStandID: + type: string contact: $ref: '#/definitions/model.Contact' contactId: @@ -1758,6 +1825,8 @@ $ref: '#/definitions/model.Client' clientId: type: integer + codeStandID: + type: string contact: $ref: '#/definitions/model.Contact' contactId: @@ -1826,6 +1895,8 @@ clientId: description: 瀹㈡埛id type: integer + codeStandID: + type: string contact: $ref: '#/definitions/model.Contact' contactId: @@ -1967,6 +2038,8 @@ $ref: '#/definitions/model.Client' clientId: type: integer + codeStandID: + type: string id: type: integer masterOrder: @@ -2129,6 +2202,11 @@ client_type_id: description: 瀹㈡埛绫诲瀷ID type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string contact: $ref: '#/definitions/request.Contact' contact_id: @@ -2231,6 +2309,11 @@ client_id: description: 鎵�灞炲叕鍙窱D type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string country_id: description: 鍥藉ID type: integer @@ -2272,6 +2355,11 @@ properties: client_id: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string file: type: string member_id: @@ -2442,6 +2530,11 @@ properties: client_id: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string end_time: type: string member_id: @@ -2517,6 +2610,11 @@ properties: client_id: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string conditions: type: string contact_id: @@ -2657,6 +2755,11 @@ type: integer client_id: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string competitors: type: string contact_id: @@ -2736,6 +2839,11 @@ type: string clientId: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string conditions: type: string deliveryDate: @@ -2771,6 +2879,11 @@ properties: city_id: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string contact_name: description: 鑱旂郴浜哄鍚� type: string @@ -2849,6 +2962,11 @@ properties: clientId: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string contactId: type: integer endTime: @@ -2921,6 +3039,11 @@ client_type_id: description: 瀹㈡埛绫诲瀷ID type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string contact: $ref: '#/definitions/request.Contact' contact_id: @@ -2986,6 +3109,11 @@ properties: clientId: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string contactId: type: integer file: @@ -3028,6 +3156,11 @@ clientId: description: 瀹㈡埛id type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string contactId: description: 鑱旂郴浜篿d type: integer @@ -3134,6 +3267,11 @@ properties: clientId: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string masterOrderId: type: integer memberId: @@ -3263,6 +3401,11 @@ client_id: description: 鎵�灞炲叕鍙窱D type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string country_id: description: 鍥藉ID type: integer @@ -3422,6 +3565,10 @@ type: integer client_status_id: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + type: string contact_id: type: integer contact_information_id: @@ -3835,6 +3982,11 @@ type: string clientId: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string conditions: type: string deliveryDate: @@ -3873,6 +4025,11 @@ type: integer clientId: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string isInvoice: type: string memberId: @@ -3905,6 +4062,11 @@ properties: clientId: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string memberId: type: integer number: @@ -4037,6 +4199,11 @@ client_type_id: description: 瀹㈡埛绫诲瀷ID type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string contact: $ref: '#/definitions/request.Contact' contact_id: @@ -4193,6 +4360,11 @@ client_id: description: 鎵�灞炲叕鍙窱D type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string country_id: description: 鍥藉ID type: integer @@ -4236,6 +4408,11 @@ properties: client_id: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string file: type: string id: @@ -4498,6 +4675,11 @@ properties: client_id: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string end_time: type: string id: @@ -4614,6 +4796,11 @@ properties: client_id: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string conditions: type: string contact_id: @@ -4837,6 +5024,11 @@ type: integer client_id: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string competitors: type: string contact_id: @@ -4947,6 +5139,11 @@ properties: city_id: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string contact_name: description: 鑱旂郴浜哄鍚� type: string @@ -5112,6 +5309,11 @@ properties: clientId: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string contactId: type: integer endTime: @@ -5198,6 +5400,11 @@ client_type_id: description: 瀹㈡埛绫诲瀷ID type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string contact: $ref: '#/definitions/request.Contact' contact_id: @@ -5263,6 +5470,11 @@ properties: clientId: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string contactId: type: integer file: @@ -5307,6 +5519,11 @@ clientId: description: 瀹㈡埛id type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string contactId: description: 鑱旂郴浜篿d type: integer @@ -5439,6 +5656,11 @@ properties: clientId: type: integer + codeRule: + $ref: '#/definitions/code.CodeStandard' + codeStandID: + description: 缂栫爜id + type: string id: type: integer masterOrderId: @@ -6863,6 +7085,36 @@ summary: 鏇存柊瀹㈡埛绫诲瀷 tags: - ClientType + /api/code/getCodeList: + get: + parameters: + - in: query + name: codeStandID + type: string + - in: query + name: name + type: string + - description: 椤电爜 + in: query + name: page + type: integer + - description: 姣忛〉澶у皬 + in: query + name: pageSize + type: integer + - in: query + name: type + type: string + produces: + - application/json + responses: + "200": + description: OK + schema: + $ref: '#/definitions/response.ListResponse' + summary: 鑾峰彇缂栫爜鍒楄〃 + tags: + - 缂栫爜 /api/collectionProjection/add: post: parameters: -- Gitblit v1.8.0