From c5a0eb549cba2cd358a2d0496c44f3a289f15d9c Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期一, 28 八月 2023 14:22:06 +0800
Subject: [PATCH] fix

---
 docs/docs.go |   84 ++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 80 insertions(+), 4 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 0b03c7f..a47945d 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -7840,9 +7840,27 @@
                 "parameters": [
                     {
                         "type": "integer",
-                        "description": "鏈嶅姟鍚堝悓id",
-                        "name": "serviceContractId",
-                        "in": "query"
+                        "name": "sourceId",
+                        "in": "query",
+                        "required": true
+                    },
+                    {
+                        "enum": [
+                            1,
+                            2
+                        ],
+                        "type": "integer",
+                        "x-enum-comments": {
+                            "CollectionSourceTypeSaleDetails": "閿�鍞槑缁�",
+                            "CollectionSourceTypeServiceContract": "鏈嶅姟鍚堝悓"
+                        },
+                        "x-enum-varnames": [
+                            "CollectionSourceTypeSaleDetails",
+                            "CollectionSourceTypeServiceContract"
+                        ],
+                        "name": "sourceType",
+                        "in": "query",
+                        "required": true
                     }
                 ],
                 "responses": {
@@ -12284,6 +12302,9 @@
                 "desc": {
                     "type": "string"
                 },
+                "detail_address": {
+                    "type": "string"
+                },
                 "followRecord": {
                     "type": "array",
                     "items": {
@@ -12334,6 +12355,9 @@
         "model.SalesRefund": {
             "type": "object",
             "properties": {
+                "Source": {
+                    "$ref": "#/definitions/model.SalesReturn"
+                },
                 "amountTotal": {
                     "description": "浠风◣鍚堣",
                     "type": "number"
@@ -12564,6 +12588,14 @@
                 "percent": {
                     "description": "姣斾緥",
                     "type": "number"
+                },
+                "principal": {
+                    "description": "鏀舵璐熻矗浜篒D",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/model.User"
+                        }
+                    ]
                 },
                 "principalId": {
                     "description": "鏀舵璐熻矗浜篒D",
@@ -13197,11 +13229,19 @@
                     "description": "鐗╂枡绫诲瀷",
                     "type": "string"
                 },
+                "MaxInventory": {
+                    "description": "鏈�澶у簱瀛�",
+                    "type": "integer"
+                },
                 "MinInventory": {
                     "description": "瀹夊叏搴撳瓨",
                     "type": "integer"
                 },
                 "Name": {
+                    "type": "string"
+                },
+                "Node": {
+                    "description": "澶囨敞",
                     "type": "string"
                 },
                 "Number": {
@@ -13214,6 +13254,14 @@
                 "SalePrice": {
                     "description": "閿�鍞环鏍�",
                     "type": "number"
+                },
+                "Specs": {
+                    "description": "瑙勬牸",
+                    "type": "string"
+                },
+                "Type": {
+                    "description": "鍨嬪彿",
+                    "type": "string"
                 },
                 "Unit": {
                     "type": "string"
@@ -14264,6 +14312,10 @@
                     "description": "澶囨敞",
                     "type": "string"
                 },
+                "detail_address": {
+                    "description": "璇︾粏鍦板潃",
+                    "type": "string"
+                },
                 "member_id": {
                     "description": "閿�鍞礋璐d汉ID",
                     "type": "integer"
@@ -14388,6 +14440,12 @@
                     "type": "integer"
                 },
                 "salesDetailsId": {
+                    "type": "integer"
+                },
+                "serviceContractStatusId": {
+                    "type": "integer"
+                },
+                "serviceContractTypeId": {
                     "type": "integer"
                 },
                 "serviceTimes": {
@@ -15234,7 +15292,7 @@
                     "type": "integer"
                 },
                 "search_map": {
-                    "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"瀹㈡埛鍚嶇О\", \"phone\": \"鎵嬫満鍙风爜\", \"detail_address\":\"璇︾粏鍦板潃\", \"next_visit_time\":\"涓嬪洖鍥炶鏃ユ湡\", \"member_name\": \"閿�鍞礋璐d汉\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"client_level\": \"閲嶈绾у埆\"}",
+                    "description": "鎼滅储鏉′欢: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"瀹㈡埛鍚嶇О\", \"phone\": \"鎵嬫満鍙风爜\", \"detail_address\":\"璇︾粏鍦板潃\", \"next_visit_time\":\"涓嬪洖鍥炶鏃ユ湡\", \"member_name\": \"閿�鍞礋璐d汉\", \"client_status\": \"瀹㈡埛鐘舵�乗", \"client_level\": \"閲嶈绾у埆\",\"representative\": \"娉曞畾浠h〃浜篭", \"registration_time\": \"娉ㄥ唽鏃堕棿\", \"business_scope\": \"缁忚惀鑼冨洿\", \"remark\": \"澶囨敞\", \"not_admin\":\"1:鎴戠殑瀹㈡埛; 2:admin瀹㈡埛\"}",
                     "type": "object",
                     "additionalProperties": true
                 }
@@ -17422,6 +17480,10 @@
                     "description": "澶囨敞",
                     "type": "string"
                 },
+                "detail_address": {
+                    "description": "璇︾粏鍦板潃",
+                    "type": "string"
+                },
                 "id": {
                     "type": "integer"
                 },
@@ -17597,6 +17659,14 @@
                     "description": "姣斾緥",
                     "type": "number"
                 },
+                "principal": {
+                    "description": "鏀舵璐熻矗浜篒D",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/model.User"
+                        }
+                    ]
+                },
                 "principalId": {
                     "description": "鏀舵璐熻矗浜篒D",
                     "type": "integer"
@@ -17673,6 +17743,12 @@
                 "salesDetailsId": {
                     "type": "integer"
                 },
+                "serviceContractStatusId": {
+                    "type": "integer"
+                },
+                "serviceContractTypeId": {
+                    "type": "integer"
+                },
                 "serviceTimes": {
                     "type": "integer"
                 },

--
Gitblit v1.8.0