From d3d93785f806c968a0f658d63cc997dbe48e40b9 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期二, 12 三月 2024 10:53:38 +0800
Subject: [PATCH] swag提交,添加参数--parseDependency --parseInternal
---
docs/swagger.yaml | 147 ++++++++++++++
docs/docs.go | 219 +++++++++++++++++++++
docs/swagger.json | 219 +++++++++++++++++++++
3 files changed, 585 insertions(+), 0 deletions(-)
diff --git a/docs/docs.go b/docs/docs.go
index 9dd3fd8..0b5baf6 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -423,6 +423,40 @@
}
}
},
+ "/api-jl/v1/system/getRankStandard": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "绯荤粺璁剧疆/鐢熶笣瀹氱骇鏍囧噯"
+ ],
+ "summary": "鑾峰彇鐢熶笣瀹氱骇鏍囧噯",
+ "responses": {
+ "200": {
+ "description": "鎴愬姛",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/util.ResponseList"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/response.RankStandard"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
"/api-jl/v1/system/getWorkshopManageList": {
"get": {
"produces": [
@@ -506,6 +540,36 @@
}
}
},
+ "/api-jl/v1/system/saveRankStandard": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "绯荤粺璁剧疆/鐢熶笣瀹氱骇鏍囧噯"
+ ],
+ "summary": "淇濆瓨鐢熶笣瀹氱骇鏍囧噯",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.SaveRankStandard"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "鎴愬姛",
+ "schema": {
+ "$ref": "#/definitions/util.Response"
+ }
+ }
+ }
+ }
+ },
"/api-jl/v1/system/saveWorkshopManage": {
"post": {
"produces": [
@@ -554,6 +618,30 @@
"LeftHalfCar",
"RightHalfCar",
"AllCar"
+ ]
+ },
+ "constvar.CheckItem": {
+ "type": "integer",
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ "x-enum-comments": {
+ "CheckItemCleanliness": "娓呮磥鍒�",
+ "CheckItemDeviation": "绾ゅ害鍋忓樊",
+ "CheckItemMaxDeviation": "鏈�澶у亸宸�",
+ "CheckItemPurity": "娲佸噣鍒�",
+ "CheckItemTwiceChange": "浜屾鍙樺寲"
+ },
+ "x-enum-varnames": [
+ "CheckItemDeviation",
+ "CheckItemTwiceChange",
+ "CheckItemCleanliness",
+ "CheckItemPurity",
+ "CheckItemMaxDeviation"
]
},
"constvar.DictType": {
@@ -871,6 +959,23 @@
}
}
},
+ "request.DynamicsRank": {
+ "type": "object",
+ "properties": {
+ "rankName": {
+ "description": "绛夌骇鍚嶇О",
+ "type": "string"
+ },
+ "rankProp": {
+ "description": "鍓嶇紑key",
+ "type": "string"
+ },
+ "rankValue": {
+ "description": "绛夌骇鍊�",
+ "type": "number"
+ }
+ }
+ },
"request.FinenessItem": {
"type": "object",
"properties": {
@@ -889,6 +994,60 @@
"sum": {
"description": "鍚堣",
"type": "number"
+ }
+ }
+ },
+ "request.RankStandard": {
+ "type": "object",
+ "properties": {
+ "checkItem": {
+ "description": "妫�鏌ラ」鐩悕绉�",
+ "allOf": [
+ {
+ "$ref": "#/definitions/constvar.CheckItem"
+ }
+ ]
+ },
+ "dynamicsRanks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/request.DynamicsRank"
+ }
+ },
+ "endFineness": {
+ "description": "缁撴潫绾ゅ害",
+ "type": "number"
+ },
+ "lineId": {
+ "description": "琛宨d",
+ "type": "string"
+ },
+ "rankA": {
+ "description": "閲庣氦",
+ "type": "number"
+ },
+ "rankB": {
+ "description": "澶ч噹",
+ "type": "number"
+ },
+ "rankC": {
+ "description": "鐗归噹",
+ "type": "number"
+ },
+ "startFineness": {
+ "description": "寮�濮嬬氦搴�",
+ "type": "number"
+ }
+ }
+ },
+ "request.SaveRankStandard": {
+ "type": "object",
+ "properties": {
+ "rankStandard": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/request.RankStandard"
+ }
}
}
},
@@ -920,6 +1079,66 @@
}
}
},
+ "response.DynamicsRank": {
+ "type": "object",
+ "properties": {
+ "rankName": {
+ "description": "绛夌骇鍚嶇О",
+ "type": "string"
+ },
+ "rankProp": {
+ "description": "鍓嶇紑key",
+ "type": "string"
+ },
+ "rankValue": {
+ "description": "绛夌骇鍊�",
+ "type": "number"
+ }
+ }
+ },
+ "response.RankStandard": {
+ "type": "object",
+ "properties": {
+ "checkItem": {
+ "description": "妫�鏌ラ」鐩悕绉�",
+ "allOf": [
+ {
+ "$ref": "#/definitions/constvar.CheckItem"
+ }
+ ]
+ },
+ "dynamicsRanks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/response.DynamicsRank"
+ }
+ },
+ "endFineness": {
+ "description": "缁撴潫绾ゅ害",
+ "type": "number"
+ },
+ "lineId": {
+ "description": "琛宨d",
+ "type": "string"
+ },
+ "rankA": {
+ "description": "閲庣氦",
+ "type": "number"
+ },
+ "rankB": {
+ "description": "澶ч噹",
+ "type": "number"
+ },
+ "rankC": {
+ "description": "鐗归噹",
+ "type": "number"
+ },
+ "startFineness": {
+ "description": "寮�濮嬬氦搴�",
+ "type": "number"
+ }
+ }
+ },
"util.Response": {
"type": "object",
"properties": {
diff --git a/docs/swagger.json b/docs/swagger.json
index 51c491c..57c171c 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -411,6 +411,40 @@
}
}
},
+ "/api-jl/v1/system/getRankStandard": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "绯荤粺璁剧疆/鐢熶笣瀹氱骇鏍囧噯"
+ ],
+ "summary": "鑾峰彇鐢熶笣瀹氱骇鏍囧噯",
+ "responses": {
+ "200": {
+ "description": "鎴愬姛",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/util.ResponseList"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/response.RankStandard"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
"/api-jl/v1/system/getWorkshopManageList": {
"get": {
"produces": [
@@ -494,6 +528,36 @@
}
}
},
+ "/api-jl/v1/system/saveRankStandard": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "绯荤粺璁剧疆/鐢熶笣瀹氱骇鏍囧噯"
+ ],
+ "summary": "淇濆瓨鐢熶笣瀹氱骇鏍囧噯",
+ "parameters": [
+ {
+ "description": "鍙傛暟",
+ "name": "object",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/request.SaveRankStandard"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "鎴愬姛",
+ "schema": {
+ "$ref": "#/definitions/util.Response"
+ }
+ }
+ }
+ }
+ },
"/api-jl/v1/system/saveWorkshopManage": {
"post": {
"produces": [
@@ -542,6 +606,30 @@
"LeftHalfCar",
"RightHalfCar",
"AllCar"
+ ]
+ },
+ "constvar.CheckItem": {
+ "type": "integer",
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ "x-enum-comments": {
+ "CheckItemCleanliness": "娓呮磥鍒�",
+ "CheckItemDeviation": "绾ゅ害鍋忓樊",
+ "CheckItemMaxDeviation": "鏈�澶у亸宸�",
+ "CheckItemPurity": "娲佸噣鍒�",
+ "CheckItemTwiceChange": "浜屾鍙樺寲"
+ },
+ "x-enum-varnames": [
+ "CheckItemDeviation",
+ "CheckItemTwiceChange",
+ "CheckItemCleanliness",
+ "CheckItemPurity",
+ "CheckItemMaxDeviation"
]
},
"constvar.DictType": {
@@ -859,6 +947,23 @@
}
}
},
+ "request.DynamicsRank": {
+ "type": "object",
+ "properties": {
+ "rankName": {
+ "description": "绛夌骇鍚嶇О",
+ "type": "string"
+ },
+ "rankProp": {
+ "description": "鍓嶇紑key",
+ "type": "string"
+ },
+ "rankValue": {
+ "description": "绛夌骇鍊�",
+ "type": "number"
+ }
+ }
+ },
"request.FinenessItem": {
"type": "object",
"properties": {
@@ -877,6 +982,60 @@
"sum": {
"description": "鍚堣",
"type": "number"
+ }
+ }
+ },
+ "request.RankStandard": {
+ "type": "object",
+ "properties": {
+ "checkItem": {
+ "description": "妫�鏌ラ」鐩悕绉�",
+ "allOf": [
+ {
+ "$ref": "#/definitions/constvar.CheckItem"
+ }
+ ]
+ },
+ "dynamicsRanks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/request.DynamicsRank"
+ }
+ },
+ "endFineness": {
+ "description": "缁撴潫绾ゅ害",
+ "type": "number"
+ },
+ "lineId": {
+ "description": "琛宨d",
+ "type": "string"
+ },
+ "rankA": {
+ "description": "閲庣氦",
+ "type": "number"
+ },
+ "rankB": {
+ "description": "澶ч噹",
+ "type": "number"
+ },
+ "rankC": {
+ "description": "鐗归噹",
+ "type": "number"
+ },
+ "startFineness": {
+ "description": "寮�濮嬬氦搴�",
+ "type": "number"
+ }
+ }
+ },
+ "request.SaveRankStandard": {
+ "type": "object",
+ "properties": {
+ "rankStandard": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/request.RankStandard"
+ }
}
}
},
@@ -908,6 +1067,66 @@
}
}
},
+ "response.DynamicsRank": {
+ "type": "object",
+ "properties": {
+ "rankName": {
+ "description": "绛夌骇鍚嶇О",
+ "type": "string"
+ },
+ "rankProp": {
+ "description": "鍓嶇紑key",
+ "type": "string"
+ },
+ "rankValue": {
+ "description": "绛夌骇鍊�",
+ "type": "number"
+ }
+ }
+ },
+ "response.RankStandard": {
+ "type": "object",
+ "properties": {
+ "checkItem": {
+ "description": "妫�鏌ラ」鐩悕绉�",
+ "allOf": [
+ {
+ "$ref": "#/definitions/constvar.CheckItem"
+ }
+ ]
+ },
+ "dynamicsRanks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/response.DynamicsRank"
+ }
+ },
+ "endFineness": {
+ "description": "缁撴潫绾ゅ害",
+ "type": "number"
+ },
+ "lineId": {
+ "description": "琛宨d",
+ "type": "string"
+ },
+ "rankA": {
+ "description": "閲庣氦",
+ "type": "number"
+ },
+ "rankB": {
+ "description": "澶ч噹",
+ "type": "number"
+ },
+ "rankC": {
+ "description": "鐗归噹",
+ "type": "number"
+ },
+ "startFineness": {
+ "description": "寮�濮嬬氦搴�",
+ "type": "number"
+ }
+ }
+ },
"util.Response": {
"type": "object",
"properties": {
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 2370fa4..732df48 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -13,6 +13,26 @@
- LeftHalfCar
- RightHalfCar
- AllCar
+ constvar.CheckItem:
+ enum:
+ - 1
+ - 2
+ - 3
+ - 4
+ - 5
+ type: integer
+ x-enum-comments:
+ CheckItemCleanliness: 娓呮磥鍒�
+ CheckItemDeviation: 绾ゅ害鍋忓樊
+ CheckItemMaxDeviation: 鏈�澶у亸宸�
+ CheckItemPurity: 娲佸噣鍒�
+ CheckItemTwiceChange: 浜屾鍙樺寲
+ x-enum-varnames:
+ - CheckItemDeviation
+ - CheckItemTwiceChange
+ - CheckItemCleanliness
+ - CheckItemPurity
+ - CheckItemMaxDeviation
constvar.DictType:
enum:
- 0
@@ -231,6 +251,18 @@
description: 杞︾粍
type: string
type: object
+ request.DynamicsRank:
+ properties:
+ rankName:
+ description: 绛夌骇鍚嶇О
+ type: string
+ rankProp:
+ description: 鍓嶇紑key
+ type: string
+ rankValue:
+ description: 绛夌骇鍊�
+ type: number
+ type: object
request.FinenessItem:
properties:
fineness:
@@ -245,6 +277,42 @@
sum:
description: 鍚堣
type: number
+ type: object
+ request.RankStandard:
+ properties:
+ checkItem:
+ allOf:
+ - $ref: '#/definitions/constvar.CheckItem'
+ description: 妫�鏌ラ」鐩悕绉�
+ dynamicsRanks:
+ items:
+ $ref: '#/definitions/request.DynamicsRank'
+ type: array
+ endFineness:
+ description: 缁撴潫绾ゅ害
+ type: number
+ lineId:
+ description: 琛宨d
+ type: string
+ rankA:
+ description: 閲庣氦
+ type: number
+ rankB:
+ description: 澶ч噹
+ type: number
+ rankC:
+ description: 鐗归噹
+ type: number
+ startFineness:
+ description: 寮�濮嬬氦搴�
+ type: number
+ type: object
+ request.SaveRankStandard:
+ properties:
+ rankStandard:
+ items:
+ $ref: '#/definitions/request.RankStandard'
+ type: array
type: object
request.UpdateDict:
properties:
@@ -263,6 +331,47 @@
remark:
description: 澶囨敞
type: string
+ type: object
+ response.DynamicsRank:
+ properties:
+ rankName:
+ description: 绛夌骇鍚嶇О
+ type: string
+ rankProp:
+ description: 鍓嶇紑key
+ type: string
+ rankValue:
+ description: 绛夌骇鍊�
+ type: number
+ type: object
+ response.RankStandard:
+ properties:
+ checkItem:
+ allOf:
+ - $ref: '#/definitions/constvar.CheckItem'
+ description: 妫�鏌ラ」鐩悕绉�
+ dynamicsRanks:
+ items:
+ $ref: '#/definitions/response.DynamicsRank'
+ type: array
+ endFineness:
+ description: 缁撴潫绾ゅ害
+ type: number
+ lineId:
+ description: 琛宨d
+ type: string
+ rankA:
+ description: 閲庣氦
+ type: number
+ rankB:
+ description: 澶ч噹
+ type: number
+ rankC:
+ description: 鐗归噹
+ type: number
+ startFineness:
+ description: 寮�濮嬬氦搴�
+ type: number
type: object
util.Response:
properties:
@@ -542,6 +651,25 @@
summary: 鑾峰彇鐢熶笣瀹氫环鏍囧噯
tags:
- 绯荤粺璁剧疆/鐢熶笣瀹氫环鏍囧噯
+ /api-jl/v1/system/getRankStandard:
+ get:
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: 鎴愬姛
+ schema:
+ allOf:
+ - $ref: '#/definitions/util.ResponseList'
+ - properties:
+ data:
+ items:
+ $ref: '#/definitions/response.RankStandard'
+ type: array
+ type: object
+ summary: 鑾峰彇鐢熶笣瀹氱骇鏍囧噯
+ tags:
+ - 绯荤粺璁剧疆/鐢熶笣瀹氱骇鏍囧噯
/api-jl/v1/system/getWorkshopManageList:
get:
parameters:
@@ -592,6 +720,25 @@
summary: 淇濆瓨鐢熶笣瀹氫环鏍囧噯
tags:
- 绯荤粺璁剧疆/鐢熶笣瀹氫环鏍囧噯
+ /api-jl/v1/system/saveRankStandard:
+ post:
+ parameters:
+ - description: 鍙傛暟
+ in: body
+ name: object
+ required: true
+ schema:
+ $ref: '#/definitions/request.SaveRankStandard'
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: 鎴愬姛
+ schema:
+ $ref: '#/definitions/util.Response'
+ summary: 淇濆瓨鐢熶笣瀹氱骇鏍囧噯
+ tags:
+ - 绯荤粺璁剧疆/鐢熶笣瀹氱骇鏍囧噯
/api-jl/v1/system/saveWorkshopManage:
post:
parameters:
--
Gitblit v1.8.0