From dd97f2626579ca8be69b9b6d68ce9d592b62eb6a Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期五, 22 十二月 2023 15:03:26 +0800 Subject: [PATCH] 使用系统设置修改 --- docs/docs.go | 860 ++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 754 insertions(+), 106 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index ab2884d..8070cac 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1199,6 +1199,36 @@ } } }, + "/api/code/getAutoCode": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "缂栫爜" + ], + "summary": "鑾峰彇鑷姩缂栫爜", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/code.CodeStandard" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/response.ListResponse" + } + } + } + } + }, "/api/code/getCodeList": { "get": { "produces": [ @@ -4887,6 +4917,46 @@ } } }, + "/api/product/getProductOrderInfo/{number}": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "浜у搧" + ], + "summary": "鑾峰彇浜у搧璁㈠崟淇℃伅", + "parameters": [ + { + "type": "string", + "description": "鏄庣粏缂栫爜", + "name": "number", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.Info" + } + } + } + ] + } + } + } + } + }, "/api/product/info": { "get": { "produces": [ @@ -4959,6 +5029,12 @@ "type": "string", "description": "浜у搧缂栫爜", "name": "productNumber", + "in": "query" + }, + { + "type": "string", + "description": "鎶ヤ环鍗曠紪鐮�", + "name": "quotationNumber", "in": "query" } ], @@ -5483,6 +5559,15 @@ "in": "query" }, { + "type": "array", + "items": { + "type": "integer" + }, + "collectionFormat": "csv", + "name": "principleIds", + "in": "query" + }, + { "type": "integer", "name": "sourceId", "in": "query" @@ -5676,6 +5761,142 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateRefundMethods" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/refundType/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "閫�娆炬柟寮忕鐞�" + ], + "summary": "娣诲姞閫�娆炬柟寮�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddRefundType" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/refundType/delete/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "閫�娆炬柟寮忕鐞�" + ], + "summary": "鍒犻櫎閫�娆炬柟寮�", + "parameters": [ + { + "type": "integer", + "description": "鏌ヨ鍙傛暟", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/refundType/list": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "閫�娆炬柟寮忕鐞�" + ], + "summary": "鑾峰彇閫�娆炬柟寮忓垪琛�", + "parameters": [ + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.ListResponse" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/model.RefundType" + } + } + } + } + ] + } + } + } + } + }, + "/api/refundType/update": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "閫�娆炬柟寮忕鐞�" + ], + "summary": "鏇存柊閫�娆炬柟寮�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateRefundType" } } ], @@ -6811,6 +7032,53 @@ } } }, + "/api/salesDetails/getApsProjectList": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesDetails" + ], + "summary": "鑾峰彇aps椤圭洰鍒楄〃", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/response.Response" + } + } + } + } + }, + "/api/salesDetails/getProductInventoryInfo/{number}": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesDetails" + ], + "summary": "鑾峰彇浜у搧搴撳瓨淇℃伅", + "parameters": [ + { + "type": "string", + "description": "鏄庣粏缂栫爜", + "name": "number", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/response.ListResponse" + } + } + } + } + }, "/api/salesDetails/list": { "post": { "produces": [ @@ -6853,6 +7121,36 @@ } } }, + "/api/salesDetails/sendSalesDetailsToOtherSystem": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesDetails" + ], + "summary": "鎺ㄩ�侀攢鍞槑缁嗕俊鎭埌鍏朵粬绯荤粺", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.SalesDetails" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/response.ListResponse" + } + } + } + } + }, "/api/salesDetails/update": { "put": { "produces": [ @@ -6870,6 +7168,36 @@ "required": true, "schema": { "$ref": "#/definitions/request.UpdateSalesDetails" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/salesDetails/updateStatus": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "SalesDetails" + ], + "summary": "鏇存柊閿�鍞槑缁嗙姸鎬�", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateSalesDetailsStatus" } } ], @@ -9461,6 +9789,96 @@ } } }, + "/api/system/getSystemSet": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "绯荤粺璁剧疆" + ], + "summary": "鑾峰彇绯荤粺璁剧疆", + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": true + } + } + } + ] + } + } + } + } + }, + "/api/system/saveSystemSet": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "绯荤粺璁剧疆" + ], + "summary": "淇濆瓨绯荤粺璁剧疆", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.SaveSystemSet" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } + }, + "/api/system/useSystemSet/{modeType}": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "绯荤粺璁剧疆" + ], + "summary": "浣跨敤绯荤粺璁剧疆", + "parameters": [ + { + "type": "string", + "description": "鏌ヨ鍙傛暟", + "name": "modeType", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/response.ListResponse" + } + } + } + } + }, "/api/timeSpent/add": { "post": { "produces": [ @@ -10193,6 +10611,27 @@ "SalesDetailsKeywordTypeSignTime", "SalesDetailsKeywordTypePrincipal", "SalesDetailsKeywordTypeProductName" + ] + }, + "constvar.SalesDetailsStatus": { + "type": "integer", + "enum": [ + 1, + 2, + 3, + 4 + ], + "x-enum-comments": { + "OverCLose": "宸插叧闂�", + "OverOutbound": "鍑哄簱瀹屾垚", + "WaitConfirmed": "寰呯‘璁�", + "WaitOutbound": "寰呭嚭搴�" + }, + "x-enum-varnames": [ + "WaitConfirmed", + "WaitOutbound", + "OverOutbound", + "OverCLose" ] }, "constvar.SalesRefundKeywordType": { @@ -10984,6 +11423,9 @@ "quotationId": { "type": "integer" }, + "sendTime": { + "type": "string" + }, "serviceContractStatus": { "$ref": "#/definitions/model.ServiceContractStatus" }, @@ -11185,6 +11627,9 @@ "description": "瀹㈡埛id", "type": "integer" }, + "codeStandID": { + "type": "string" + }, "courierCompany": { "$ref": "#/definitions/model.CourierCompany" }, @@ -11220,6 +11665,9 @@ "invoiceTypeId": { "description": "鍙戠エ绫诲瀷id", "type": "integer" + }, + "number": { + "type": "string" }, "principalId": { "description": "閿�鍞礋璐d汉id", @@ -11488,11 +11936,17 @@ "amount": { "type": "number" }, + "cost": { + "type": "string" + }, "desc": { "type": "string" }, "id": { "type": "integer" + }, + "margin": { + "type": "string" }, "name": { "type": "string" @@ -11503,8 +11957,14 @@ "price": { "type": "number" }, + "profit": { + "type": "string" + }, "total": { "type": "number" + }, + "unit": { + "type": "string" } } }, @@ -11699,6 +12159,17 @@ } } }, + "model.RefundType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "model.Region": { "type": "object", "properties": { @@ -11850,6 +12321,12 @@ "process": { "type": "string" }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } + }, "projected_amount": { "type": "number" }, @@ -11894,6 +12371,14 @@ }, "solutions": { "type": "string" + }, + "status": { + "description": "鐘舵��", + "allOf": [ + { + "$ref": "#/definitions/model.Status" + } + ] }, "status_id": { "type": "integer" @@ -11981,6 +12466,9 @@ "creatorName": { "type": "string" }, + "deliverType": { + "type": "integer" + }, "deliveryDate": { "type": "string" }, @@ -12011,6 +12499,15 @@ "$ref": "#/definitions/model.Product" } }, + "projectId": { + "type": "string" + }, + "quotation": { + "$ref": "#/definitions/model.Quotation" + }, + "quotationId": { + "type": "integer" + }, "remark": { "type": "string" }, @@ -12025,6 +12522,12 @@ }, "signTime": { "type": "string" + }, + "source": { + "type": "string" + }, + "status": { + "$ref": "#/definitions/constvar.SalesDetailsStatus" }, "updateTime": { "type": "string" @@ -12120,8 +12623,13 @@ "model.SalesRefund": { "type": "object", "properties": { - "Source": { - "$ref": "#/definitions/model.SalesReturn" + "RefundType": { + "description": "閫�娆炬柟寮�", + "allOf": [ + { + "$ref": "#/definitions/model.RefundType" + } + ] }, "amountTotal": { "description": "浠风◣鍚堣", @@ -12182,6 +12690,13 @@ }, "refundDate": { "type": "string" + }, + "refundTypeId": { + "description": "閫�娆炬柟寮廔D", + "type": "integer" + }, + "salesReturn": { + "$ref": "#/definitions/model.SalesReturn" }, "sourceId": { "description": "婧愬崟id", @@ -12801,6 +13316,10 @@ "severity": { "$ref": "#/definitions/model.Severity" }, + "severityId": { + "description": "涓ラ噸绋嬪害id", + "type": "integer" + }, "solution": { "description": "瑙e喅鏂规硶", "type": "string" @@ -12918,6 +13437,23 @@ } } }, + "model.SystemSet": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "modeType": { + "type": "string" + }, + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + } + }, "model.TimeSpent": { "type": "object", "properties": { @@ -12979,6 +13515,10 @@ "type": "string" }, "realName": { + "type": "string" + }, + "subUserIds": { + "description": "涓嬪睘鍛樺伐鐢ㄦ埛id,鐢ㄩ�楀彿鍒嗗紑", "type": "string" }, "userType": { @@ -13131,9 +13671,6 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -13282,13 +13819,6 @@ "description": "鎵�灞炲叕鍙窱D", "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, - "codeStandID": { - "description": "缂栫爜id", - "type": "string" - }, "country_id": { "description": "鍥藉ID", "type": "integer" @@ -13345,9 +13875,6 @@ "client_id": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -13367,6 +13894,10 @@ }, "quotation_id": { "type": "integer" + }, + "sendTime": { + "description": "鍙戣揣鏃堕棿", + "type": "string" }, "status_id": { "type": "integer" @@ -13508,6 +14039,9 @@ "description": "瀹㈡埛id", "type": "integer" }, + "codeStandID": { + "type": "string" + }, "courierCompanyId": { "description": "鐗╂祦鍏徃", "type": "integer" @@ -13531,6 +14065,10 @@ "invoiceTypeId": { "description": "鍙戠エ绫诲瀷id", "type": "integer" + }, + "number": { + "description": "鍙戠エ缂栧彿", + "type": "string" }, "principalId": { "description": "閿�鍞礋璐d汉id", @@ -13614,9 +14152,6 @@ "properties": { "client_id": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -13737,9 +14272,6 @@ "properties": { "client_id": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -13893,6 +14425,17 @@ } } }, + "request.AddRefundType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.AddRegion": { "type": "object", "properties": { @@ -13964,9 +14507,6 @@ "client_id": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -14018,6 +14558,12 @@ }, "process": { "type": "string" + }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } }, "projected_amount": { "type": "number" @@ -14082,17 +14628,20 @@ "request.AddSalesDetails": { "type": "object", "properties": { + "Member": { + "$ref": "#/definitions/model.User" + }, "address": { "type": "string" }, "addressee": { "type": "string" }, + "client": { + "$ref": "#/definitions/model.Client" + }, "clientId": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -14100,6 +14649,10 @@ }, "conditions": { "type": "string" + }, + "deliverType": { + "description": "浜や粯绫诲瀷:1.涓�娆″彂璐�,2.澶氭鍙戣揣", + "type": "integer" }, "deliveryDate": { "type": "string" @@ -14128,6 +14681,12 @@ "$ref": "#/definitions/model.Product" } }, + "projectId": { + "type": "string" + }, + "quotationId": { + "type": "integer" + }, "remark": { "type": "string" }, @@ -14140,6 +14699,12 @@ "signTime": { "type": "string" }, + "source": { + "type": "string" + }, + "status": { + "$ref": "#/definitions/constvar.SalesDetailsStatus" + }, "wechatOrderStatusId": { "type": "integer" } @@ -14150,9 +14715,6 @@ "properties": { "city_id": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -14277,9 +14839,6 @@ "clientId": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -14388,9 +14947,6 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -14485,9 +15041,6 @@ "clientId": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -14552,9 +15105,6 @@ "clientId": { "description": "瀹㈡埛id", "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -14628,7 +15178,7 @@ "description": "鏈嶅姟鏂瑰紡id", "type": "integer" }, - "severity": { + "severityId": { "description": "涓ラ噸绋嬪害id", "type": "integer" }, @@ -14710,9 +15260,6 @@ "properties": { "clientId": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -14863,13 +15410,6 @@ "client_id": { "description": "鎵�灞炲叕鍙窱D", "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, - "codeStandID": { - "description": "缂栫爜id", - "type": "string" }, "country_id": { "description": "鍥藉ID", @@ -15098,9 +15638,6 @@ "client_status_id": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "type": "string" }, @@ -15185,6 +15722,9 @@ "request.GetContractList": { "type": "object", "properties": { + "keyword": { + "type": "string" + }, "page": { "description": "椤电爜", "type": "integer" @@ -15250,6 +15790,12 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "principalIds": { + "type": "array", + "items": { + "type": "integer" + } }, "sourceId": { "type": "integer" @@ -15362,6 +15908,10 @@ }, "keywordType": { "$ref": "#/definitions/constvar.SalesDetailsKeywordType" + }, + "number": { + "description": "閿�鍞槑缁嗗崟鍙�", + "type": "string" }, "page": { "description": "椤电爜", @@ -15665,17 +16215,20 @@ "request.SalesDetails": { "type": "object", "properties": { + "Member": { + "$ref": "#/definitions/model.User" + }, "address": { "type": "string" }, "addressee": { "type": "string" }, + "client": { + "$ref": "#/definitions/model.Client" + }, "clientId": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -15683,6 +16236,10 @@ }, "conditions": { "type": "string" + }, + "deliverType": { + "description": "浜や粯绫诲瀷:1.涓�娆″彂璐�,2.澶氭鍙戣揣", + "type": "integer" }, "deliveryDate": { "type": "string" @@ -15711,6 +16268,12 @@ "$ref": "#/definitions/model.Product" } }, + "projectId": { + "type": "string" + }, + "quotationId": { + "type": "integer" + }, "remark": { "type": "string" }, @@ -15722,6 +16285,12 @@ }, "signTime": { "type": "string" + }, + "source": { + "type": "string" + }, + "status": { + "$ref": "#/definitions/constvar.SalesDetailsStatus" }, "wechatOrderStatusId": { "type": "integer" @@ -15741,9 +16310,6 @@ }, "clientId": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -15794,9 +16360,6 @@ "clientId": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -15840,6 +16403,17 @@ "$ref": "#/definitions/constvar.SalesReturnSourceType" } ] + } + } + }, + "request.SaveSystemSet": { + "type": "object", + "properties": { + "sets": { + "type": "array", + "items": { + "$ref": "#/definitions/model.SystemSet" + } } } }, @@ -15995,9 +16569,6 @@ "client_type_id": { "description": "瀹㈡埛绫诲瀷ID", "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -16229,13 +16800,6 @@ "description": "鎵�灞炲叕鍙窱D", "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, - "codeStandID": { - "description": "缂栫爜id", - "type": "string" - }, "country_id": { "description": "鍥藉ID", "type": "integer" @@ -16295,9 +16859,6 @@ "client_id": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -16320,6 +16881,10 @@ }, "quotation_id": { "type": "integer" + }, + "sendTime": { + "description": "鍙戣揣鏃堕棿", + "type": "string" }, "status_id": { "type": "integer" @@ -16558,6 +17123,9 @@ "description": "瀹㈡埛id", "type": "integer" }, + "codeStandID": { + "type": "string" + }, "courierCompanyId": { "description": "鐗╂祦鍏徃", "type": "integer" @@ -16584,6 +17152,10 @@ "invoiceTypeId": { "description": "鍙戠エ绫诲瀷id", "type": "integer" + }, + "number": { + "description": "鍙戠エ缂栧彿", + "type": "string" }, "principalId": { "description": "閿�鍞礋璐d汉id", @@ -16699,9 +17271,6 @@ "properties": { "client_id": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -16883,9 +17452,6 @@ "properties": { "client_id": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -17078,6 +17644,17 @@ } } }, + "request.UpdateRefundType": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + }, "request.UpdateRegion": { "type": "object", "properties": { @@ -17237,9 +17814,6 @@ "client_id": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -17294,6 +17868,12 @@ }, "process": { "type": "string" + }, + "products": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } }, "projected_amount": { "type": "number" @@ -17402,14 +17982,22 @@ } } }, + "request.UpdateSalesDetailsStatus": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "status": { + "$ref": "#/definitions/constvar.SalesDetailsStatus" + } + } + }, "request.UpdateSalesLeads": { "type": "object", "properties": { "city_id": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -17664,9 +18252,6 @@ "clientId": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -17796,9 +18381,6 @@ "description": "瀹㈡埛绫诲瀷ID", "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -17894,9 +18476,6 @@ "clientId": { "type": "integer" }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" - }, "codeStandID": { "description": "缂栫爜id", "type": "string" @@ -17964,9 +18543,6 @@ "clientId": { "description": "瀹㈡埛id", "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -18043,7 +18619,7 @@ "description": "鏈嶅姟鏂瑰紡id", "type": "integer" }, - "severity": { + "severityId": { "description": "涓ラ噸绋嬪害id", "type": "integer" }, @@ -18161,9 +18737,6 @@ "properties": { "clientId": { "type": "integer" - }, - "codeRule": { - "$ref": "#/definitions/code.CodeStandard" }, "codeStandID": { "description": "缂栫爜id", @@ -18704,6 +19277,23 @@ } } }, + "response.Info": { + "type": "object", + "properties": { + "makeInfo": { + "type": "array", + "items": { + "$ref": "#/definitions/response.WorkOrderInfo" + } + }, + "purchaseInfo": { + "type": "array", + "items": { + "$ref": "#/definitions/response.Purchase" + } + } + } + }, "response.IsInvoiceResponse": { "type": "object", "properties": { @@ -18841,6 +19431,26 @@ } } }, + "response.Purchase": { + "type": "object", + "properties": { + "amount": { + "type": "integer" + }, + "purchaseName": { + "type": "string" + }, + "purchaseNumber": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "supplierName": { + "type": "string" + } + } + }, "response.QuotationResponse": { "type": "object", "properties": { @@ -18918,6 +19528,18 @@ "items": { "$ref": "#/definitions/model.Repository" } + } + } + }, + "response.Response": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "data": {}, + "msg": { + "type": "string" } } }, @@ -19134,6 +19756,32 @@ } } } + }, + "response.WorkOrderInfo": { + "type": "object", + "properties": { + "endTime": { + "type": "string" + }, + "orderId": { + "type": "string" + }, + "orderStatus": { + "type": "string" + }, + "productName": { + "type": "string" + }, + "startTime": { + "type": "string" + }, + "workOrderId": { + "type": "string" + }, + "workOrderStatus": { + "type": "string" + } + } } } }` -- Gitblit v1.8.0