liujiandao
2024-04-23 adb8a4d6c2806beae1ac97af7f71c8a3ce3ed0c9
docs/docs.go
@@ -238,6 +238,43 @@
                }
            }
        },
        "/api-jl/v1/attendance/updateAttendance": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "考勤管理"
                ],
                "summary": "更新考勤",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateAttendance"
                        }
                    },
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-jl/v1/fineness/changeYieldRegister": {
            "post": {
                "produces": [
@@ -2954,10 +2991,6 @@
                "id": {
                    "type": "integer"
                },
                "name": {
                    "description": "车间",
                    "type": "string"
                },
                "startDate": {
                    "description": "开始日期",
                    "type": "string"
@@ -2981,9 +3014,17 @@
                    "description": "工人ID",
                    "type": "string"
                },
                "workshop": {
                    "description": "车间编号",
                    "type": "string"
                },
                "workshopGroup": {
                    "description": "车组",
                    "type": "integer"
                },
                "workshopName": {
                    "description": "车间名称",
                    "type": "string"
                }
            }
        },
@@ -3333,7 +3374,8 @@
                "startWorkerPosition",
                "workerId",
                "workshop",
                "workshopGroup"
                "workshopGroup",
                "workshopName"
            ],
            "properties": {
                "endDate": {
@@ -3357,12 +3399,16 @@
                    "type": "string"
                },
                "workshop": {
                    "description": "车间",
                    "description": "车间编号",
                    "type": "string"
                },
                "workshopGroup": {
                    "description": "车组",
                    "type": "integer"
                },
                "workshopName": {
                    "description": "车间名称",
                    "type": "string"
                }
            }
        },
@@ -3680,6 +3726,31 @@
                }
            }
        },
        "request.UpdateAttendance": {
            "type": "object",
            "properties": {
                "date": {
                    "description": "日期",
                    "type": "string"
                },
                "overTimeDuration": {
                    "description": "加班时长",
                    "type": "number"
                },
                "status": {
                    "description": "状态",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.AttendanceStatus"
                        }
                    ]
                },
                "workerId": {
                    "description": "人员id",
                    "type": "string"
                }
            }
        },
        "request.UpdateDict": {
            "type": "object",
            "properties": {
@@ -3737,7 +3808,8 @@
                "startWorkerPosition",
                "workerId",
                "workshop",
                "workshopGroup"
                "workshopGroup",
                "workshopName"
            ],
            "properties": {
                "endDate": {
@@ -3764,12 +3836,16 @@
                    "type": "string"
                },
                "workshop": {
                    "description": "车间",
                    "description": "车间编号",
                    "type": "string"
                },
                "workshopGroup": {
                    "description": "车组",
                    "type": "integer"
                },
                "workshopName": {
                    "description": "车间名称",
                    "type": "string"
                }
            }
        },