From 78b49f03c4dc2e5b6b00d99475e582834e4b5238 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 07 八月 2023 20:14:20 +0800
Subject: [PATCH] 销售发票管理

---
 docs/docs.go | 1102 ++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 1,000 insertions(+), 102 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 93d955e..a511f91 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -1623,6 +1623,169 @@
                 }
             }
         },
+        "/api/courierCompany/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鐗╂祦鍏徃"
+                ],
+                "summary": "娣诲姞鐗╂祦鍏徃",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddCourierCompany"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/courierCompany/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/courierCompany/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鐗╂祦鍏徃"
+                ],
+                "summary": "鑾峰彇鐗╂祦鍏徃鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "CourierCompanyKeywordCustomerName"
+                        ],
+                        "name": "keywordType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "CourierCompanyQueryClassExpireLessThen60Days"
+                        ],
+                        "name": "queryClass",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.CourierCompany"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/courierCompany/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鐗╂祦鍏徃"
+                ],
+                "summary": "鏇存柊鐗╂祦鍏徃",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateCourierCompany"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api/currency/add": {
             "post": {
                 "produces": [
@@ -2637,36 +2800,6 @@
                 }
             }
         },
-        "/api/file/update": {
-            "put": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "闄勪欢绠$悊"
-                ],
-                "summary": "鏇存柊闄勪欢",
-                "parameters": [
-                    {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.UpdateFile"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "$ref": "#/definitions/contextx.Response"
-                        }
-                    }
-                }
-            }
-        },
         "/api/followRecord/add": {
             "post": {
                 "produces": [
@@ -2934,6 +3067,495 @@
                         "required": true,
                         "schema": {
                             "$ref": "#/definitions/request.UpdateIndustries"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoice/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閿�鍞彂绁�"
+                ],
+                "summary": "娣诲姞閿�鍞彂绁�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddInvoice"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoice/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/invoice/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閿�鍞彂绁�"
+                ],
+                "summary": "鑾峰彇閿�鍞彂绁ㄥ垪琛�",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "InvoiceKeywordCustomerName"
+                        ],
+                        "name": "keywordType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "InvoiceQueryClassExpireLessThen60Days"
+                        ],
+                        "name": "queryClass",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.Invoice"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoice/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "閿�鍞彂绁�"
+                ],
+                "summary": "鏇存柊閿�鍞彂绁�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateInvoice"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoiceStatus/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鍙戠エ鐘舵��"
+                ],
+                "summary": "娣诲姞鍙戠エ鐘舵��",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddInvoiceStatus"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoiceStatus/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/invoiceStatus/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鍙戠エ鐘舵��"
+                ],
+                "summary": "鑾峰彇鍙戠エ鐘舵�佸垪琛�",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "InvoiceStatusKeywordCustomerName"
+                        ],
+                        "name": "keywordType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "InvoiceStatusQueryClassExpireLessThen60Days"
+                        ],
+                        "name": "queryClass",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.InvoiceStatus"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoiceStatus/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鍙戠エ鐘舵��"
+                ],
+                "summary": "鏇存柊鍙戠エ鐘舵��",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateInvoiceStatus"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoiceType/add": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鍙戠エ绫诲瀷"
+                ],
+                "summary": "娣诲姞鍙戠エ绫诲瀷",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.AddInvoiceType"
+                        }
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "$ref": "#/definitions/contextx.Response"
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoiceType/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/invoiceType/list": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鍙戠エ绫诲瀷"
+                ],
+                "summary": "鑾峰彇鍙戠エ绫诲瀷鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "name": "keyword",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "InvoiceTypeKeywordCustomerName"
+                        ],
+                        "name": "keywordType",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    },
+                    {
+                        "enum": [
+                            ""
+                        ],
+                        "type": "string",
+                        "x-enum-varnames": [
+                            "InvoiceTypeQueryClassExpireLessThen60Days"
+                        ],
+                        "name": "queryClass",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/response.ListResponse"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/model.InvoiceType"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api/invoiceType/update": {
+            "put": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鍙戠エ绫诲瀷"
+                ],
+                "summary": "鏇存柊鍙戠エ绫诲瀷",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.UpdateInvoiceType"
                         }
                     }
                 ],
@@ -8768,6 +9390,24 @@
                 "CollectionStatusCollected"
             ]
         },
+        "constvar.CourierCompanyKeywordType": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "CourierCompanyKeywordCustomerName"
+            ]
+        },
+        "constvar.CourierCompanyQueryClass": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "CourierCompanyQueryClassExpireLessThen60Days"
+            ]
+        },
         "constvar.FaqKeywordType": {
             "type": "string",
             "enum": [
@@ -8802,6 +9442,60 @@
             ],
             "x-enum-varnames": [
                 "FileQueryClassExpireLessThen60Days"
+            ]
+        },
+        "constvar.InvoiceKeywordType": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "InvoiceKeywordCustomerName"
+            ]
+        },
+        "constvar.InvoiceQueryClass": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "InvoiceQueryClassExpireLessThen60Days"
+            ]
+        },
+        "constvar.InvoiceStatusKeywordType": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "InvoiceStatusKeywordCustomerName"
+            ]
+        },
+        "constvar.InvoiceStatusQueryClass": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "InvoiceStatusQueryClassExpireLessThen60Days"
+            ]
+        },
+        "constvar.InvoiceTypeKeywordType": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "InvoiceTypeKeywordCustomerName"
+            ]
+        },
+        "constvar.InvoiceTypeQueryClass": {
+            "type": "string",
+            "enum": [
+                ""
+            ],
+            "x-enum-varnames": [
+                "InvoiceTypeQueryClassExpireLessThen60Days"
             ]
         },
         "constvar.PaymentTypeKeywordType": {
@@ -9417,6 +10111,17 @@
                 }
             }
         },
+        "model.CourierCompany": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "model.Currency": {
             "type": "object",
             "properties": {
@@ -9516,14 +10221,6 @@
                     "description": "瀵硅薄瀛樺偍bucket",
                     "type": "string"
                 },
-                "content": {
-                    "description": "鏂囦欢鍐呭",
-                    "type": "string"
-                },
-                "createTime": {
-                    "description": "鍒涘缓鏃堕棿",
-                    "type": "string"
-                },
                 "downloadCount": {
                     "description": "涓嬫娆℃暟",
                     "type": "integer"
@@ -9535,9 +10232,6 @@
                 "fileType": {
                     "description": "鏂囦欢绫诲瀷",
                     "type": "string"
-                },
-                "id": {
-                    "type": "integer"
                 },
                 "key": {
                     "description": "瀵硅薄瀛樺偍key",
@@ -9560,9 +10254,6 @@
                 },
                 "sourceType": {
                     "description": "闄勪欢鏉ユ簮",
-                    "type": "string"
-                },
-                "updateTime": {
                     "type": "string"
                 }
             }
@@ -9624,6 +10315,96 @@
             }
         },
         "model.Industry": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "model.Invoice": {
+            "type": "object",
+            "properties": {
+                "client": {
+                    "$ref": "#/definitions/model.Client"
+                },
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
+                "courierCompany": {
+                    "$ref": "#/definitions/model.CourierCompany"
+                },
+                "courierCompanyId": {
+                    "description": "鐗╂祦鍏徃",
+                    "type": "integer"
+                },
+                "courierNumber": {
+                    "description": "鐗╂祦鍗曞彿",
+                    "type": "string"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "invoiceDate": {
+                    "description": "寮�绁ㄦ棩鏈�",
+                    "type": "string"
+                },
+                "invoiceNumber": {
+                    "description": "鍙戠エ鍙风爜",
+                    "type": "string"
+                },
+                "invoiceStatus": {
+                    "$ref": "#/definitions/model.InvoiceStatus"
+                },
+                "invoiceStatusId": {
+                    "description": "鍙戠エ鐘舵�乮d",
+                    "type": "integer"
+                },
+                "invoiceType": {
+                    "$ref": "#/definitions/model.InvoiceType"
+                },
+                "invoiceTypeId": {
+                    "description": "鍙戠エ绫诲瀷id",
+                    "type": "integer"
+                },
+                "principalId": {
+                    "description": "閿�鍞礋璐d汉id",
+                    "type": "integer"
+                },
+                "sourceId": {
+                    "description": "婧愬崟id",
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)",
+                    "type": "integer"
+                },
+                "subject": {
+                    "description": "涓婚",
+                    "type": "string"
+                },
+                "taxpayerIdNumber": {
+                    "description": "绾崇◣璇嗗埆鍙�",
+                    "type": "string"
+                }
+            }
+        },
+        "model.InvoiceStatus": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "model.InvoiceType": {
             "type": "object",
             "properties": {
                 "id": {
@@ -11219,6 +12000,17 @@
                 }
             }
         },
+        "request.AddCourierCompany": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.AddCurrency": {
             "type": "object",
             "required": [
@@ -11322,6 +12114,81 @@
                 "name"
             ],
             "properties": {
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddInvoice": {
+            "type": "object",
+            "properties": {
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
+                "courierCompanyId": {
+                    "description": "鐗╂祦鍏徃",
+                    "type": "integer"
+                },
+                "courierNumber": {
+                    "description": "鐗╂祦鍗曞彿",
+                    "type": "string"
+                },
+                "invoiceDate": {
+                    "description": "寮�绁ㄦ棩鏈�",
+                    "type": "string"
+                },
+                "invoiceNumber": {
+                    "description": "鍙戠エ鍙风爜",
+                    "type": "string"
+                },
+                "invoiceStatusId": {
+                    "description": "鍙戠エ鐘舵�乮d",
+                    "type": "integer"
+                },
+                "invoiceTypeId": {
+                    "description": "鍙戠エ绫诲瀷id",
+                    "type": "integer"
+                },
+                "principalId": {
+                    "description": "閿�鍞礋璐d汉id",
+                    "type": "integer"
+                },
+                "sourceId": {
+                    "description": "婧愬崟id",
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)",
+                    "type": "integer"
+                },
+                "subject": {
+                    "description": "涓婚",
+                    "type": "string"
+                },
+                "taxpayerIdNumber": {
+                    "description": "绾崇◣璇嗗埆鍙�",
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddInvoiceStatus": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.AddInvoiceType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
                 "name": {
                     "type": "string"
                 }
@@ -13524,6 +14391,17 @@
                 }
             }
         },
+        "request.UpdateCourierCompany": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.UpdateCurrency": {
             "type": "object",
             "required": [
@@ -13679,64 +14557,6 @@
                 }
             }
         },
-        "request.UpdateFile": {
-            "type": "object",
-            "properties": {
-                "bucket": {
-                    "description": "瀵硅薄瀛樺偍bucket",
-                    "type": "string"
-                },
-                "content": {
-                    "description": "鏂囦欢鍐呭",
-                    "type": "string"
-                },
-                "createTime": {
-                    "description": "鍒涘缓鏃堕棿",
-                    "type": "string"
-                },
-                "downloadCount": {
-                    "description": "涓嬫娆℃暟",
-                    "type": "integer"
-                },
-                "filePath": {
-                    "description": "鏂囦欢璺緞",
-                    "type": "string"
-                },
-                "fileType": {
-                    "description": "鏂囦欢绫诲瀷",
-                    "type": "string"
-                },
-                "id": {
-                    "type": "integer"
-                },
-                "key": {
-                    "description": "瀵硅薄瀛樺偍key",
-                    "type": "string"
-                },
-                "name": {
-                    "type": "string"
-                },
-                "previewCount": {
-                    "description": "棰勮娆℃暟",
-                    "type": "integer"
-                },
-                "size": {
-                    "description": "鏂囦欢澶у皬",
-                    "type": "integer"
-                },
-                "sourceId": {
-                    "description": "鏉ユ簮id",
-                    "type": "integer"
-                },
-                "sourceType": {
-                    "description": "闄勪欢鏉ユ簮",
-                    "type": "string"
-                },
-                "updateTime": {
-                    "type": "string"
-                }
-            }
-        },
         "request.UpdateFollowRecord": {
             "type": "object",
             "required": [
@@ -13780,6 +14600,84 @@
                 }
             }
         },
+        "request.UpdateInvoice": {
+            "type": "object",
+            "properties": {
+                "clientId": {
+                    "description": "瀹㈡埛id",
+                    "type": "integer"
+                },
+                "courierCompanyId": {
+                    "description": "鐗╂祦鍏徃",
+                    "type": "integer"
+                },
+                "courierNumber": {
+                    "description": "鐗╂祦鍗曞彿",
+                    "type": "string"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "invoiceDate": {
+                    "description": "寮�绁ㄦ棩鏈�",
+                    "type": "integer"
+                },
+                "invoiceNumber": {
+                    "description": "鍙戠エ鍙风爜",
+                    "type": "string"
+                },
+                "invoiceStatusId": {
+                    "description": "鍙戠エ鐘舵�乮d",
+                    "type": "integer"
+                },
+                "invoiceTypeId": {
+                    "description": "鍙戠エ绫诲瀷id",
+                    "type": "integer"
+                },
+                "principalId": {
+                    "description": "閿�鍞礋璐d汉id",
+                    "type": "integer"
+                },
+                "sourceId": {
+                    "description": "婧愬崟id",
+                    "type": "integer"
+                },
+                "sourceType": {
+                    "description": "婧愬崟绫诲瀷(1閿�鍞槑缁嗗崟2鏈嶅姟鍚堝悓)",
+                    "type": "integer"
+                },
+                "subject": {
+                    "description": "涓婚",
+                    "type": "string"
+                },
+                "taxpayerIdNumber": {
+                    "description": "绾崇◣璇嗗埆鍙�",
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateInvoiceStatus": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
+        "request.UpdateInvoiceType": {
+            "type": "object",
+            "properties": {
+                "id": {
+                    "type": "integer"
+                },
+                "name": {
+                    "type": "string"
+                }
+            }
+        },
         "request.UpdateIsInvoice": {
             "type": "object",
             "required": [

--
Gitblit v1.8.0