From 5053e0347804728c63c5498e0aa18129822454cb Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 30 八月 2023 13:31:46 +0800
Subject: [PATCH] Merge branch 'master' of ssh://192.168.5.5:29418/aps/crm

---
 docs/swagger.yaml |   94 ++++++++++++++++++++++++++++++++--------------
 1 files changed, 65 insertions(+), 29 deletions(-)

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index ac2abf1..4d0f444 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -116,18 +116,6 @@
     type: string
     x-enum-varnames:
     - PaymentTypeQueryClassExpireLessThen60Days
-  constvar.ReceiptKeywordType:
-    enum:
-    - ""
-    type: string
-    x-enum-varnames:
-    - ReceiptKeywordCustomerName
-  constvar.ReceiptQueryClass:
-    enum:
-    - ""
-    type: string
-    x-enum-varnames:
-    - ReceiptQueryClassExpireLessThen60Days
   constvar.ReceiptSourceType:
     enum:
     - 1
@@ -136,6 +124,12 @@
     - 4
     - 5
     type: integer
+    x-enum-comments:
+      ReceiptSourceTypeChuKuDan: 鍑哄簱鍗昳t
+      ReceiptSourceTypeCollectionPlan: 鏀舵璁″垝
+      ReceiptSourceTypeInvoice: 閿�鍞彂绁�
+      ReceiptSourceTypeSalesDetails: 閿�鍞槑缁嗗崟
+      ReceiptSourceTypeServiceContract: 鏈嶅姟鍚堝悓
     x-enum-varnames:
     - ReceiptSourceTypeSalesDetails
     - ReceiptSourceTypeServiceContract
@@ -1479,6 +1473,8 @@
     type: object
   model.SalesRefund:
     properties:
+      Source:
+        $ref: '#/definitions/model.SalesReturn'
       amountTotal:
         description: 浠风◣鍚堣
         type: number
@@ -1634,6 +1630,10 @@
       percent:
         description: 姣斾緥
         type: number
+      principal:
+        allOf:
+        - $ref: '#/definitions/model.User'
+        description: 鏀舵璐熻矗浜篒D
       principalId:
         description: 鏀舵璐熻矗浜篒D
         type: integer
@@ -2061,10 +2061,16 @@
       MaterialMode:
         description: 鐗╂枡绫诲瀷
         type: string
+      MaxInventory:
+        description: 鏈�澶у簱瀛�
+        type: integer
       MinInventory:
         description: 瀹夊叏搴撳瓨
         type: integer
       Name:
+        type: string
+      Node:
+        description: 澶囨敞
         type: string
       Number:
         type: string
@@ -2074,6 +2080,12 @@
       SalePrice:
         description: 閿�鍞环鏍�
         type: number
+      Specs:
+        description: 瑙勬牸
+        type: string
+      Type:
+        description: 鍨嬪彿
+        type: string
       Unit:
         type: string
     type: object
@@ -5065,6 +5077,10 @@
       percent:
         description: 姣斾緥
         type: number
+      principal:
+        allOf:
+        - $ref: '#/definitions/model.User'
+        description: 鏀舵璐熻矗浜篒D
       principalId:
         description: 鏀舵璐熻矗浜篒D
         type: integer
@@ -9450,16 +9466,6 @@
   /api/receipt/list:
     get:
       parameters:
-      - in: query
-        name: keyword
-        type: string
-      - enum:
-        - ""
-        in: query
-        name: keywordType
-        type: string
-        x-enum-varnames:
-        - ReceiptKeywordCustomerName
       - description: 椤电爜
         in: query
         name: page
@@ -9468,13 +9474,30 @@
         in: query
         name: pageSize
         type: integer
+      - in: query
+        name: sourceId
+        type: integer
       - enum:
-        - ""
+        - 1
+        - 2
+        - 3
+        - 4
+        - 5
         in: query
-        name: queryClass
-        type: string
+        name: sourceType
+        type: integer
+        x-enum-comments:
+          ReceiptSourceTypeChuKuDan: 鍑哄簱鍗昳t
+          ReceiptSourceTypeCollectionPlan: 鏀舵璁″垝
+          ReceiptSourceTypeInvoice: 閿�鍞彂绁�
+          ReceiptSourceTypeSalesDetails: 閿�鍞槑缁嗗崟
+          ReceiptSourceTypeServiceContract: 鏈嶅姟鍚堝悓
         x-enum-varnames:
-        - ReceiptQueryClassExpireLessThen60Days
+        - ReceiptSourceTypeSalesDetails
+        - ReceiptSourceTypeServiceContract
+        - ReceiptSourceTypeInvoice
+        - ReceiptSourceTypeCollectionPlan
+        - ReceiptSourceTypeChuKuDan
       produces:
       - application/json
       responses:
@@ -10876,10 +10899,23 @@
   /api/serviceCollectionPlan/list:
     get:
       parameters:
-      - description: 鏈嶅姟鍚堝悓id
-        in: query
-        name: serviceContractId
+      - in: query
+        name: sourceId
+        required: true
         type: integer
+      - enum:
+        - 1
+        - 2
+        in: query
+        name: sourceType
+        required: true
+        type: integer
+        x-enum-comments:
+          CollectionSourceTypeSaleDetails: 閿�鍞槑缁�
+          CollectionSourceTypeServiceContract: 鏈嶅姟鍚堝悓
+        x-enum-varnames:
+        - CollectionSourceTypeSaleDetails
+        - CollectionSourceTypeServiceContract
       produces:
       - application/json
       responses:

--
Gitblit v1.8.0