From 849b89cde3bf2ac26bdcf33e3940f9a1a00d1e85 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 29 二月 2024 16:30:21 +0800
Subject: [PATCH] 纤度登记列表和删除接口

---
 docs/docs.go |  314 ++++++++++++++++++---------------------------------
 1 files changed, 111 insertions(+), 203 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index fc40334..c309a2a 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -16,6 +16,82 @@
     "host": "{{.Host}}",
     "basePath": "{{.BasePath}}",
     "paths": {
+        "/api-jl/v1/fineness/register": {
+            "get": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "绾ゅ害鐧昏"
+                ],
+                "summary": "绾ゅ害鐧昏鍒楄〃",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "椤电爜",
+                        "name": "page",
+                        "in": "query"
+                    },
+                    {
+                        "type": "integer",
+                        "description": "姣忛〉澶у皬",
+                        "name": "pageSize",
+                        "in": "query"
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/util.ResponseList"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/models.FinenessRegister"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api-jl/v1/fineness/register/{id}": {
+            "delete": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "绾ゅ害鐧昏"
+                ],
+                "summary": "绾ゅ害鐧昏鍒犻櫎",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "瀛楀吀淇℃伅",
+                        "name": "id",
+                        "in": "path",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api-jl/v1/system/dict": {
             "get": {
                 "produces": [
@@ -171,140 +247,6 @@
                     }
                 }
             }
-        },
-        "/api-s/v1/organize/department": {
-            "get": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "閮ㄩ棬淇℃伅"
-                ],
-                "summary": "鏌ヨ閮ㄩ棬淇℃伅鍒楄〃",
-                "parameters": [
-                    {
-                        "type": "integer",
-                        "description": "椤电爜",
-                        "name": "page",
-                        "in": "query"
-                    },
-                    {
-                        "type": "integer",
-                        "description": "姣忛〉澶у皬",
-                        "name": "pageSize",
-                        "in": "query"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "allOf": [
-                                {
-                                    "$ref": "#/definitions/util.ResponseList"
-                                },
-                                {
-                                    "type": "object",
-                                    "properties": {
-                                        "data": {
-                                            "type": "array",
-                                            "items": {
-                                                "$ref": "#/definitions/models.Department"
-                                            }
-                                        }
-                                    }
-                                }
-                            ]
-                        }
-                    }
-                }
-            },
-            "post": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "閮ㄩ棬淇℃伅"
-                ],
-                "summary": "娣诲姞閮ㄩ棬淇℃伅",
-                "parameters": [
-                    {
-                        "description": "閮ㄩ棬淇℃伅淇℃伅",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.AddDepartment"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/util.Response"
-                        }
-                    }
-                }
-            }
-        },
-        "/api-s/v1/organize/department/{id}": {
-            "put": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "閮ㄩ棬淇℃伅"
-                ],
-                "summary": "缂栬緫閮ㄩ棬淇℃伅",
-                "parameters": [
-                    {
-                        "description": "閮ㄩ棬淇℃伅淇℃伅",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.UpdateDepartment"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/util.Response"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "閮ㄩ棬淇℃伅"
-                ],
-                "summary": "缂栬緫閮ㄩ棬淇℃伅",
-                "parameters": [
-                    {
-                        "description": "閮ㄩ棬淇℃伅淇℃伅",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.UpdateDepartment"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "鎴愬姛",
-                        "schema": {
-                            "$ref": "#/definitions/util.Response"
-                        }
-                    }
-                }
-            }
         }
     },
     "definitions": {
@@ -338,44 +280,6 @@
                 "valid": {
                     "description": "Valid is true if Time is not NULL",
                     "type": "boolean"
-                }
-            }
-        },
-        "models.Department": {
-            "type": "object",
-            "properties": {
-                "children": {
-                    "type": "array",
-                    "items": {
-                        "$ref": "#/definitions/models.Department"
-                    }
-                },
-                "head": {
-                    "description": "閮ㄩ棬璐熻矗浜�",
-                    "type": "string"
-                },
-                "id": {
-                    "type": "integer"
-                },
-                "name": {
-                    "description": "閮ㄩ棬鍚嶇О",
-                    "type": "string"
-                },
-                "number": {
-                    "description": "閮ㄩ棬缂栧彿",
-                    "type": "string"
-                },
-                "parentId": {
-                    "description": "涓婄骇閮ㄩ棬ID",
-                    "type": "integer"
-                },
-                "remark": {
-                    "description": "澶囨敞",
-                    "type": "string"
-                },
-                "sort": {
-                    "description": "鎺掑簭",
-                    "type": "integer"
                 }
             }
         },
@@ -416,23 +320,51 @@
                 }
             }
         },
-        "request.AddDepartment": {
+        "models.FinenessRegister": {
             "type": "object",
             "properties": {
+                "createdAt": {
+                    "type": "string"
+                },
+                "deletedAt": {
+                    "$ref": "#/definitions/gorm.DeletedAt"
+                },
+                "endCircle": {
+                    "description": "缁撴潫鍥炴暟",
+                    "type": "integer"
+                },
+                "finishDate": {
+                    "description": "钀戒笣鏃堕棿",
+                    "type": "string"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "market": {
+                    "description": "搴勫彛",
+                    "type": "string"
+                },
                 "name": {
-                    "description": "閮ㄩ棬鍚嶇О",
+                    "description": "杞﹂棿",
                     "type": "string"
                 },
                 "number": {
-                    "description": "閮ㄩ棬缂栧彿",
+                    "description": "缂栧彿",
                     "type": "string"
                 },
-                "parentId": {
-                    "description": "涓婄骇閮ㄩ棬ID 涓�绾ч儴闂ㄤ紶0",
+                "spec": {
+                    "description": "瑙勬牸",
+                    "type": "string"
+                },
+                "startCircle": {
+                    "description": "寮�濮嬪洖鏁�",
                     "type": "integer"
                 },
-                "remark": {
-                    "description": "澶囨敞",
+                "updatedAt": {
+                    "type": "string"
+                },
+                "workshopGroup": {
+                    "description": "杞︾粍",
                     "type": "string"
                 }
             }
@@ -455,30 +387,6 @@
                 "number": {
                     "description": "缂栫爜",
                     "type": "string"
-                },
-                "remark": {
-                    "description": "澶囨敞",
-                    "type": "string"
-                }
-            }
-        },
-        "request.UpdateDepartment": {
-            "type": "object",
-            "properties": {
-                "id": {
-                    "type": "integer"
-                },
-                "name": {
-                    "description": "閮ㄩ棬鍚嶇О",
-                    "type": "string"
-                },
-                "number": {
-                    "description": "閮ㄩ棬缂栧彿",
-                    "type": "string"
-                },
-                "parentId": {
-                    "description": "涓婄骇閮ㄩ棬ID 涓�绾ч儴闂ㄤ紶0",
-                    "type": "integer"
                 },
                 "remark": {
                     "description": "澶囨敞",

--
Gitblit v1.8.0