From c42cff043c049c0b12aca91bca31cd0799ea6f7a Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 11 八月 2023 13:54:19 +0800
Subject: [PATCH] 增删改收款单时更改销售明细和服务合同应收金额

---
 docs/swagger.yaml |  153 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 151 insertions(+), 2 deletions(-)

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 2a99e5b..bd69224 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -264,6 +264,18 @@
     type: string
     x-enum-varnames:
     - ServiceOrderQueryClassExpireLessThen60Days
+  constvar.ServiceOrderStatusKeywordType:
+    enum:
+    - ""
+    type: string
+    x-enum-varnames:
+    - ServiceOrderStatusKeywordCustomerName
+  constvar.ServiceOrderStatusQueryClass:
+    enum:
+    - ""
+    type: string
+    x-enum-varnames:
+    - ServiceOrderStatusQueryClassExpireLessThen60Days
   constvar.UserType:
     enum:
     - 1
@@ -951,6 +963,9 @@
     type: object
   model.Receipt:
     properties:
+      amount:
+        description: 鏀舵閲戦
+        type: string
       bankAccountId:
         description: 璐︽埛id
         type: integer
@@ -1360,6 +1375,8 @@
         $ref: '#/definitions/model.Client'
       clientId:
         type: integer
+      contact:
+        $ref: '#/definitions/model.Contact'
       contactId:
         type: integer
       endTime:
@@ -1494,10 +1511,12 @@
         description: 棰勭害涓婇棬鏃堕棿
         type: string
       carFare:
-        description: 浜ら�氳垂
+        description: 浜ら�氳垂                                                                 //
+          浜ら�氳垂
         type: number
       chargeAmount:
-        description: 鏀惰垂閲戦
+        description: 鏀惰垂閲戦                                                       //
+          鏀惰垂閲戦
         type: number
       client:
         $ref: '#/definitions/model.Client'
@@ -1564,6 +1583,8 @@
       serviceNumber:
         description: 鏈嶅姟鍗曠紪鍙�
         type: string
+      serviceOrderStatus:
+        $ref: '#/definitions/model.ServiceOrderStatus'
       serviceType:
         $ref: '#/definitions/model.ServiceType'
       serviceTypeId:
@@ -1588,6 +1609,13 @@
       timeSpentId:
         description: 鑺辫垂鏃堕棿
         type: integer
+    type: object
+  model.ServiceOrderStatus:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
     type: object
   model.ServiceType:
     properties:
@@ -2168,6 +2196,9 @@
     type: object
   request.AddReceipt:
     properties:
+      amount:
+        description: 鏀舵閲戦
+        type: string
       bankAccountId:
         description: 璐︽埛id
         type: integer
@@ -2678,6 +2709,13 @@
       timeSpentId:
         description: 鑺辫垂鏃堕棿
         type: integer
+    type: object
+  request.AddServiceOrderStatus:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
     type: object
   request.AddServiceType:
     properties:
@@ -4108,6 +4146,9 @@
     type: object
   request.UpdateReceipt:
     properties:
+      amount:
+        description: 鏀舵閲戦
+        type: string
       bankAccountId:
         description: 璐︽埛id
         type: integer
@@ -4786,6 +4827,13 @@
       timeSpentId:
         description: 鑺辫垂鏃堕棿
         type: integer
+    type: object
+  request.UpdateServiceOrderStatus:
+    properties:
+      id:
+        type: integer
+      name:
+        type: string
     type: object
   request.UpdateServiceType:
     properties:
@@ -10615,6 +10663,107 @@
       summary: 鏇存柊鏈嶅姟鍗�
       tags:
       - 鏈嶅姟鍗曠鐞�
+  /api/serviceOrderStatus/add:
+    post:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.AddServiceOrderStatus'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 娣诲姞鏈嶅姟鍗曠姸鎬�
+      tags:
+      - 鏈嶅姟鍗曠姸鎬�
+  /api/serviceOrderStatus/delete/{id}:
+    delete:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: path
+        name: id
+        required: true
+        type: integer
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 鍒犻櫎鏈嶅姟鍗曠姸鎬�
+      tags:
+      - 鏈嶅姟鍗曠姸鎬�
+  /api/serviceOrderStatus/list:
+    get:
+      parameters:
+      - in: query
+        name: keyword
+        type: string
+      - enum:
+        - ""
+        in: query
+        name: keywordType
+        type: string
+        x-enum-varnames:
+        - ServiceOrderStatusKeywordCustomerName
+      - description: 椤电爜
+        in: query
+        name: page
+        type: integer
+      - description: 姣忛〉澶у皬
+        in: query
+        name: pageSize
+        type: integer
+      - enum:
+        - ""
+        in: query
+        name: queryClass
+        type: string
+        x-enum-varnames:
+        - ServiceOrderStatusQueryClassExpireLessThen60Days
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            allOf:
+            - $ref: '#/definitions/response.ListResponse'
+            - properties:
+                data:
+                  items:
+                    $ref: '#/definitions/model.ServiceOrderStatus'
+                  type: array
+              type: object
+      summary: 鑾峰彇鏈嶅姟鍗曠姸鎬佸垪琛�
+      tags:
+      - 鏈嶅姟鍗曠姸鎬�
+  /api/serviceOrderStatus/update:
+    put:
+      parameters:
+      - description: 鏌ヨ鍙傛暟
+        in: body
+        name: object
+        required: true
+        schema:
+          $ref: '#/definitions/request.UpdateServiceOrderStatus'
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            $ref: '#/definitions/contextx.Response'
+      summary: 鏇存柊鏈嶅姟鍗曠姸鎬�
+      tags:
+      - 鏈嶅姟鍗曠姸鎬�
   /api/serviceType/add:
     post:
       parameters:

--
Gitblit v1.8.0