zhangqian
2023-08-05 a5ccc6b321a3127ca064b935e42db44428c41305
docs/docs.go
@@ -2141,6 +2141,17 @@
                    "常见问题管理"
                ],
                "summary": "获取常见问题列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetFaqList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
@@ -6024,6 +6035,136 @@
                }
            }
        },
        "/api/serviceCollectionPlan/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "服务合同收款计划管理"
                ],
                "summary": "添加服务合同收款计划",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddServiceCollectionPlan"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceCollectionPlan/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/serviceCollectionPlan/list": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "服务合同收款计划管理"
                ],
                "summary": "获取服务合同收款计划列表",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "服务合同id",
                        "name": "serviceContractId",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/response.ListResponse"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/model.ServiceCollectionPlan"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api/serviceCollectionPlan/update": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "服务合同收款计划管理"
                ],
                "summary": "更新服务合同收款计划",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateServiceCollectionPlan"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "$ref": "#/definitions/contextx.Response"
                        }
                    }
                }
            }
        },
        "/api/serviceContract/add": {
            "post": {
                "produces": [
@@ -7930,6 +8071,24 @@
        }
    },
    "definitions": {
        "constvar.FaqKeywordType": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "FaqKeywordCustomerName"
            ]
        },
        "constvar.FaqQueryClass": {
            "type": "string",
            "enum": [
                ""
            ],
            "x-enum-varnames": [
                "FaqQueryClassExpireLessThen60Days"
            ]
        },
        "constvar.SalesStatus": {
            "type": "integer",
            "enum": [
@@ -9395,6 +9554,58 @@
                }
            }
        },
        "model.ServiceCollectionPlan": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "金额",
                    "type": "number"
                },
                "collectionDate": {
                    "description": "计划收款日期",
                    "type": "string"
                },
                "collectionType": {
                    "description": "类型(1 计划收款日期 2 项目状态)",
                    "type": "integer"
                },
                "fileId": {
                    "description": "附件id",
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "moneyType": {
                    "description": "币种",
                    "type": "string"
                },
                "percent": {
                    "description": "比例",
                    "type": "number"
                },
                "principal": {
                    "description": "收款负责人ID",
                    "type": "integer"
                },
                "remark": {
                    "description": "备注",
                    "type": "string"
                },
                "serviceContractId": {
                    "description": "服务合同id",
                    "type": "integer"
                },
                "status": {
                    "description": "状态(1未收2已收)",
                    "type": "integer"
                },
                "term": {
                    "description": "期次",
                    "type": "integer"
                }
            }
        },
        "model.ServiceContract": {
            "type": "object",
            "properties": {
@@ -9543,6 +9754,9 @@
                },
                "serviceId": {
                    "type": "integer"
                },
                "serviceOrder": {
                    "$ref": "#/definitions/model.ServiceOrder"
                },
                "solveRateId": {
                    "type": "integer"
@@ -10681,6 +10895,17 @@
                }
            }
        },
        "request.AddServiceCollectionPlan": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/model.ServiceCollectionPlan"
                    }
                }
            }
        },
        "request.AddServiceContract": {
            "type": "object",
            "properties": {
@@ -11386,6 +11611,28 @@
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.GetFaqList": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "keywordType": {
                    "$ref": "#/definitions/constvar.FaqKeywordType"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                },
                "queryClass": {
                    "$ref": "#/definitions/constvar.FaqQueryClass"
                }
            }
        },
@@ -13296,6 +13543,58 @@
                }
            }
        },
        "request.UpdateServiceCollectionPlan": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "金额",
                    "type": "number"
                },
                "collectionDate": {
                    "description": "计划收款日期",
                    "type": "string"
                },
                "collectionType": {
                    "description": "类型(1 计划收款日期 2 项目状态)",
                    "type": "integer"
                },
                "fileId": {
                    "description": "附件id",
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "moneyType": {
                    "description": "币种",
                    "type": "string"
                },
                "percent": {
                    "description": "比例",
                    "type": "number"
                },
                "principal": {
                    "description": "收款负责人ID",
                    "type": "integer"
                },
                "remark": {
                    "description": "备注",
                    "type": "string"
                },
                "serviceContractId": {
                    "description": "服务合同id",
                    "type": "integer"
                },
                "status": {
                    "description": "状态(1未收2已收)",
                    "type": "integer"
                },
                "term": {
                    "description": "期次",
                    "type": "integer"
                }
            }
        },
        "request.UpdateServiceContract": {
            "type": "object",
            "properties": {