From bedfbcbe3af9635d15d0cafece60fbd311159fe5 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 10 四月 2024 13:51:08 +0800 Subject: [PATCH] 字段修改 --- docs/docs.go | 576 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 573 insertions(+), 3 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index ad2a8c8..e08b990 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -163,6 +163,93 @@ } } }, + "/api-jl/v1/fineness/getYieldRegisterInfo": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鐢熶骇绠$悊/浜ч噺鐧昏琛�" + ], + "summary": "鑾峰彇浜ч噺鐧昏琛ㄨ鎯�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetYieldRegisterList" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/models.YieldRegister" + } + } + } + ] + } + } + } + } + }, + "/api-jl/v1/fineness/getYieldRegisterList": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鐢熶骇绠$悊/浜ч噺鐧昏琛�" + ], + "summary": "鑾峰彇浜ч噺鐧昏琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetYieldRegisterList" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.ResponseList" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/models.YieldRegister" + } + } + } + } + ] + } + } + } + } + }, "/api-jl/v1/fineness/register": { "get": { "produces": [ @@ -317,6 +404,36 @@ } } }, + "/api-jl/v1/fineness/saveYieldRegister": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鐢熶骇绠$悊/浜ч噺鐧昏琛�" + ], + "summary": "淇濆瓨浜ч噺鐧昏琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.YieldRegisterInfo" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, "/api-jl/v1/system/deletePriceStandard/{id}": { "delete": { "produces": [ @@ -405,6 +522,12 @@ ], "description": "瀛楀吀绫诲瀷", "name": "dictType", + "in": "query" + }, + { + "type": "string", + "description": "鎼滅储鍏抽敭瀛�", + "name": "keyword", "in": "query" }, { @@ -606,6 +729,40 @@ "type": "array", "items": { "$ref": "#/definitions/response.RankStandard" + } + } + } + } + ] + } + } + } + } + }, + "/api-jl/v1/system/getRankStandardGrade": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "绯荤粺璁剧疆/鐢熶笣瀹氱骇鏍囧噯" + ], + "summary": "鑾峰彇鐢熶笣绛夌骇", + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": { + "type": "string" } } } @@ -973,6 +1130,10 @@ "description": "鍋忓樊", "type": "number" }, + "finenessCheckID": { + "description": "绾ゅ害妫�楠岃〃ID", + "type": "integer" + }, "finenessGrade": { "description": "绾ゅ害绛夌骇", "type": "string" @@ -992,7 +1153,7 @@ "type": "integer" }, "position": { - "description": "FinenessCheckID uint ` + "`" + `gorm:\"not null;comment:绾ゅ害妫�楠岃〃ID\" json:\"finenessCheckID\"` + "`" + ` //绾ゅ害妫�楠岃〃ID", + "description": "杞﹀彿", "type": "integer" }, "purity": { @@ -1065,6 +1226,10 @@ "deletedAt": { "$ref": "#/definitions/gorm.DeletedAt" }, + "finenessCheckID": { + "description": "绾ゅ害妫�楠岃〃ID", + "type": "integer" + }, "finenessList": { "type": "array", "items": { @@ -1089,6 +1254,10 @@ "number": { "description": "缂栧彿", "type": "string" + }, + "position": { + "description": "鏈�鍚庝竴涓溅鍙�", + "type": "integer" }, "spec": { "description": "瑙勬牸", @@ -1138,7 +1307,10 @@ "id": { "type": "integer" }, - "marketNumber": { + "marketId": { + "type": "integer" + }, + "marketName": { "type": "string" }, "notes": { @@ -1147,7 +1319,7 @@ "payStandard": { "type": "number" }, - "rawSilkGradeNumber": { + "rawSilkGrade": { "type": "string" }, "unit": { @@ -1190,6 +1362,194 @@ }, "workshopNumber": { "type": "string" + } + } + }, + "models.YieldRegister": { + "type": "object", + "properties": { + "bucketCocoonNumber": { + "type": "number" + }, + "circle": { + "type": "integer" + }, + "circles": { + "type": "array", + "items": { + "$ref": "#/definitions/models.YieldRegisterCircle" + } + }, + "createTime": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "deletedAt": { + "$ref": "#/definitions/gorm.DeletedAt" + }, + "fallingSilkBucketOne": { + "type": "number" + }, + "fallingSilkBucketThree": { + "type": "number" + }, + "fallingSilkBucketTwo": { + "type": "number" + }, + "fallingSilkCocoonNumber": { + "type": "number" + }, + "groupNumber": { + "type": "integer" + }, + "groupReelingdiscount": { + "type": "string" + }, + "hourYield": { + "type": "number" + }, + "id": { + "type": "integer" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/models.YieldRegisterItem" + } + }, + "jieZhuang": { + "type": "string" + }, + "level": { + "type": "string" + }, + "marketId": { + "type": "integer" + }, + "marketName": { + "description": "搴勫彛鍚�", + "type": "string" + }, + "number": { + "type": "string" + }, + "oneBack": { + "type": "string" + }, + "record": { + "type": "number" + }, + "spec": { + "type": "string" + }, + "theorySilkAmount": { + "type": "number" + }, + "threeBack": { + "type": "string" + }, + "timeJia": { + "type": "string" + }, + "timeYi": { + "type": "string" + }, + "total": { + "type": "number" + }, + "twoBack": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "vehicleSpeed": { + "type": "number" + }, + "workshopId": { + "type": "integer" + }, + "workshopName": { + "description": "杞﹂棿鍚�", + "type": "string" + } + } + }, + "models.YieldRegisterCircle": { + "type": "object", + "properties": { + "allYield": { + "type": "number" + }, + "carNumber": { + "type": "integer" + }, + "circle": { + "type": "integer" + }, + "createdAt": { + "type": "string" + }, + "deletedAt": { + "$ref": "#/definitions/gorm.DeletedAt" + }, + "id": { + "type": "integer" + }, + "oneYield": { + "type": "number" + }, + "pieceNumber": { + "type": "integer" + }, + "reelingdiscount": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "value": { + "type": "number" + }, + "yieldRegisterId": { + "type": "integer" + } + } + }, + "models.YieldRegisterItem": { + "type": "object", + "properties": { + "carNumber": { + "type": "integer" + }, + "createdAt": { + "type": "string" + }, + "deletedAt": { + "$ref": "#/definitions/gorm.DeletedAt" + }, + "hourYield": { + "type": "number" + }, + "id": { + "type": "integer" + }, + "oneYield": { + "type": "number" + }, + "peopleYield": { + "type": "number" + }, + "personReelingdiscount": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "yieldRegisterId": { + "type": "integer" } } }, @@ -1252,6 +1612,10 @@ "description": "缂栧彿", "type": "string" }, + "position": { + "description": "鏈�鍚庝竴涓溅鍙�", + "type": "integer" + }, "spec": { "description": "瑙勬牸", "type": "string" @@ -1309,6 +1673,26 @@ "sum": { "description": "鍚堣", "type": "number" + } + } + }, + "request.GetYieldRegisterList": { + "type": "object", + "properties": { + "keyWord": { + "type": "string" + }, + "number": { + "description": "浜ч噺鐧昏琛ㄧ紪鍙�", + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" } } }, @@ -1394,6 +1778,192 @@ } } }, + "request.YieldRegisterCircleInfo": { + "type": "object", + "properties": { + "allYield": { + "description": "浜ч噺", + "type": "number" + }, + "carNumber": { + "description": "杞﹀彿", + "type": "integer" + }, + "circle": { + "description": "鍥炴暟", + "type": "integer" + }, + "oneYield": { + "description": "鍙颁骇", + "type": "number" + }, + "pieceNumber": { + "description": "鐗囨暟", + "type": "integer" + }, + "reelingdiscount": { + "description": "缂姌", + "type": "string" + }, + "value": { + "description": "鍊�", + "type": "number" + }, + "yieldRegisterId": { + "description": "浜ч噺鐧昏琛╥d", + "type": "integer" + } + } + }, + "request.YieldRegisterInfo": { + "type": "object", + "properties": { + "bucketCocoonNumber": { + "description": "姣忔《鑼ф暟", + "type": "number" + }, + "circle": { + "description": "鍥炴暟", + "type": "integer" + }, + "circles": { + "type": "array", + "items": { + "$ref": "#/definitions/request.YieldRegisterCircleInfo" + } + }, + "createTime": { + "description": "鍒涘缓鏃堕棿", + "type": "string" + }, + "fallingSilkBucketOne": { + "description": "钀戒笣妗舵暟1", + "type": "number" + }, + "fallingSilkBucketThree": { + "description": "钀戒笣妗舵暟3", + "type": "number" + }, + "fallingSilkBucketTwo": { + "description": "钀戒笣妗舵暟2", + "type": "number" + }, + "fallingSilkCocoonNumber": { + "description": "钀戒笣鑼ф暟", + "type": "number" + }, + "groupNumber": { + "description": "缁勫埆", + "type": "integer" + }, + "groupReelingdiscount": { + "description": "杞︾粍缂姌", + "type": "string" + }, + "hourYield": { + "description": "鍙版椂浜ч噺", + "type": "number" + }, + "id": { + "type": "integer" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/request.YieldRegisterItemInfo" + } + }, + "jieZhuang": { + "description": "鏄惁缁撳簞", + "type": "string" + }, + "level": { + "description": "绛夌骇", + "type": "string" + }, + "marketId": { + "description": "搴勫彛id", + "type": "integer" + }, + "number": { + "description": "缂栧彿", + "type": "string" + }, + "oneBack": { + "description": "绗竴鍥�", + "type": "string" + }, + "record": { + "description": "鐢熶骇鐢ㄦ椂", + "type": "number" + }, + "spec": { + "description": "瑙勬牸", + "type": "string" + }, + "theorySilkAmount": { + "description": "鐞嗚涓濋噺", + "type": "number" + }, + "threeBack": { + "description": "绗笁鍥�", + "type": "string" + }, + "timeJia": { + "description": "鐢茬彮鏃堕棿", + "type": "string" + }, + "timeYi": { + "description": "涔欑彮鏃堕棿", + "type": "string" + }, + "total": { + "description": "鎬讳骇閲�", + "type": "number" + }, + "twoBack": { + "description": "绗簩鍥�", + "type": "string" + }, + "vehicleSpeed": { + "description": "瀹炴椂杞﹂��", + "type": "number" + }, + "workshopId": { + "description": "杞﹂棿id", + "type": "integer" + } + } + }, + "request.YieldRegisterItemInfo": { + "type": "object", + "properties": { + "carNumber": { + "description": "杞﹀彿", + "type": "integer" + }, + "hourYield": { + "description": "鍙版椂浜ч噺", + "type": "number" + }, + "oneYield": { + "description": "鍙颁骇閲�", + "type": "number" + }, + "peopleYield": { + "description": "涓汉浜ч噺", + "type": "number" + }, + "personReelingdiscount": { + "description": "涓汉缂姌", + "type": "string" + }, + "yieldRegisterId": { + "description": "浜ч噺鐧昏琛╥d", + "type": "integer" + } + } + }, "response.DynamicsRank": { "type": "object", "properties": { -- Gitblit v1.8.0