zhangqian
2023-09-12 61f1ad8d1fe79ada641a650609d275e2a5d0e0fb
docs/docs.go
@@ -294,7 +294,7 @@
                }
            }
        },
        "/api-wms/v1/warehouse/jobType": {
        "/api-wms/v1/warehouse/operationType": {
            "get": {
                "produces": [
                    "application/json"
@@ -336,7 +336,7 @@
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/models.JobType"
                                                "$ref": "#/definitions/models.OperationType"
                                            }
                                        }
                                    }
@@ -361,7 +361,7 @@
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddJobType"
                            "$ref": "#/definitions/request.AddOperationType"
                        }
                    }
                ],
@@ -375,7 +375,7 @@
                }
            }
        },
        "/api-wms/v1/warehouse/jobType/{id}": {
        "/api-wms/v1/warehouse/operationType/{id}": {
            "put": {
                "produces": [
                    "application/json"
@@ -391,7 +391,7 @@
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateJobType"
                            "$ref": "#/definitions/request.UpdateOperationType"
                        }
                    },
                    {
@@ -584,7 +584,7 @@
        }
    },
    "definitions": {
        "constvar.BaseJobType": {
        "constvar.BaseOperationType": {
            "type": "integer",
            "enum": [
                1,
@@ -592,14 +592,14 @@
                3
            ],
            "x-enum-comments": {
                "BaseJobTypeIncoming": "收货",
                "BaseJobTypeInternal": "内部调拨",
                "BaseJobTypeOutgoing": "交货"
                "BaseOperationTypeIncoming": "收货",
                "BaseOperationTypeInternal": "内部调拨",
                "BaseOperationTypeOutgoing": "交货"
            },
            "x-enum-varnames": [
                "BaseJobTypeIncoming",
                "BaseJobTypeOutgoing",
                "BaseJobTypeInternal"
                "BaseOperationTypeIncoming",
                "BaseOperationTypeOutgoing",
                "BaseOperationTypeInternal"
            ]
        },
        "constvar.ReservationMethod": {
@@ -694,18 +694,36 @@
                }
            }
        },
        "models.JobType": {
        "models.Location": {
            "type": "object",
            "properties": {
                "createTime": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "name": {
                    "description": "位置名称",
                    "type": "string"
                },
                "updateTime": {
                    "type": "string"
                }
            }
        },
        "models.OperationType": {
            "type": "object",
            "properties": {
                "ReservationDaysBeforePriority": {
                    "description": "在优先级的前几天",
                    "type": "integer"
                },
                "baseJobType": {
                "baseOperationType": {
                    "description": "基础作业类型",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.BaseJobType"
                            "$ref": "#/definitions/constvar.BaseOperationType"
                        }
                    ]
                },
@@ -779,11 +797,11 @@
                        }
                    ]
                },
                "returnJobType": {
                "returnOperationType": {
                    "description": "退货类型名称",
                    "type": "string"
                },
                "returnJobTypeID": {
                "returnOperationTypeID": {
                    "description": "退货类型ID",
                    "type": "integer"
                },
@@ -805,24 +823,6 @@
                "warehouseId": {
                    "description": "仓库id",
                    "type": "integer"
                }
            }
        },
        "models.Location": {
            "type": "object",
            "properties": {
                "createTime": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "name": {
                    "description": "位置名称",
                    "type": "string"
                },
                "updateTime": {
                    "type": "string"
                }
            }
        },
@@ -915,18 +915,18 @@
                }
            }
        },
        "request.AddJobType": {
        "request.AddOperationType": {
            "type": "object",
            "properties": {
                "ReservationDaysBeforePriority": {
                    "description": "在优先级的前几天",
                    "type": "integer"
                },
                "baseJobType": {
                "baseOperationType": {
                    "description": "基础作业类型",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.BaseJobType"
                            "$ref": "#/definitions/constvar.BaseOperationType"
                        }
                    ]
                },
@@ -973,7 +973,7 @@
                        }
                    ]
                },
                "returnJobTypeID": {
                "returnOperationTypeID": {
                    "description": "退货类型ID",
                    "type": "integer"
                },
@@ -1060,18 +1060,18 @@
                }
            }
        },
        "request.UpdateJobType": {
        "request.UpdateOperationType": {
            "type": "object",
            "properties": {
                "ReservationDaysBeforePriority": {
                    "description": "在优先级的前几天",
                    "type": "integer"
                },
                "baseJobType": {
                "baseOperationType": {
                    "description": "基础作业类型",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.BaseJobType"
                            "$ref": "#/definitions/constvar.BaseOperationType"
                        }
                    ]
                },
@@ -1118,7 +1118,7 @@
                        }
                    ]
                },
                "returnJobTypeID": {
                "returnOperationTypeID": {
                    "description": "退货类型ID",
                    "type": "integer"
                },