docs/docs.go
@@ -1,5 +1,4 @@
// Code generated by swaggo/swag. DO NOT EDIT.
// Package docs Code generated by swaggo/swag. DO NOT EDIT
package docs
import "github.com/swaggo/swag"
@@ -201,6 +200,36 @@
                }
            }
        },
        "/api-jl/v1/attendance/getTemplate": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "考勤管理"
                ],
                "summary": "获取模版列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.TemplateCategoryRequest"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-jl/v1/attendance/saveAttendanceRule": {
            "post": {
                "produces": [
@@ -218,6 +247,43 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/models.AttendanceRule"
                        }
                    },
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-jl/v1/attendance/updateAttendance": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "考勤管理"
                ],
                "summary": "更新考勤",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateAttendance"
                        }
                    },
                    {
@@ -291,6 +357,12 @@
                "summary": "纤度检验列表",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "纤度登记表ID",
                        "name": "finenessRegisterID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "keyword",
                        "in": "query"
@@ -332,7 +404,7 @@
                    }
                }
            },
            "post": {
            "put": {
                "produces": [
                    "application/json"
                ],
@@ -342,13 +414,20 @@
                "summary": "纤度检验修改",
                "parameters": [
                    {
                        "description": "字典信息",
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/models.FinenessCheck"
                            "$ref": "#/definitions/response.FinenessCheckInfo"
                        }
                    },
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    }
                ],
                "responses": {
@@ -373,7 +452,7 @@
                "parameters": [
                    {
                        "type": "string",
                        "description": "字典信息",
                        "description": "纤度检验ID",
                        "name": "id",
                        "in": "path",
                        "required": true
@@ -422,6 +501,46 @@
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-jl/v1/fineness/checkFinenessID/{id}": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "纤度检验"
                ],
                "summary": "根据纤度登记ID获取纤度检验详情",
                "parameters": [
                    {
                        "type": "string",
                        "description": "纤度登记ID",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/util.ResponseList"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/response.FinenessCheckInfo"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
@@ -552,6 +671,12 @@
                ],
                "summary": "纤度登记列表",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "纤度登记表ID",
                        "name": "finenessRegisterID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "name": "keyword",
@@ -714,6 +839,95 @@
                        "schema": {
                            "$ref": "#/definitions/request.YieldRegisterInfo"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-jl/v1/forms/salaryReportForms": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "报表管理"
                ],
                "summary": "获取薪资报表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.SalaryReportForms"
                        }
                    },
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/util.ResponseList"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/response.SalaryReportForms"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api-jl/v1/forms/updateSalaryReportForms": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "报表管理"
                ],
                "summary": "修改薪资报表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateSalaryReportForms"
                        }
                    },
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    }
                ],
                "responses": {
@@ -922,6 +1136,356 @@
                }
            }
        },
        "/api-jl/v1/salary/getPayrollConstituteList": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "员工薪资/薪酬方案"
                ],
                "summary": "获取人员每月的薪资列表",
                "parameters": [
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    },
                    {
                        "type": "string",
                        "description": "统计周期按月查询(年-月)",
                        "name": "cycle",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "关键字",
                        "name": "keyword",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "工种编码",
                        "name": "workTypeCode",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "工种ID",
                        "name": "workTypeID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "员工ID",
                        "name": "workerID",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/util.ResponseList"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "additionalProperties": true
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api-jl/v1/salary/getPayrollProductionCarList": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "员工薪资/薪酬方案"
                ],
                "summary": "获取车台每天的产量列表",
                "parameters": [
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    },
                    {
                        "type": "integer",
                        "description": "车台号",
                        "name": "carNumber",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "统计周期(年-月-日)",
                        "name": "cycle",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "等级",
                        "name": "finishLevel",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "组别",
                        "name": "groupNumber",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "庄口编号",
                        "name": "marketNumber",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "统计周期按月查询(年-月)",
                        "name": "monthly",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "规格",
                        "name": "spec",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "车间编号",
                        "name": "workshopNumber",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/util.ResponseList"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/models.PayrollProductionCar"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api-jl/v1/salary/getPayrollProductionGroupList": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "员工薪资/薪酬方案"
                ],
                "summary": "获取小组每天的产量列表",
                "parameters": [
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    },
                    {
                        "type": "string",
                        "description": "统计周期(年-月-日)",
                        "name": "cycle",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "组别",
                        "name": "groupNumber",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "统计周期按月查询(年-月)",
                        "name": "monthly",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "车间编号",
                        "name": "workshopNumber",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/util.ResponseList"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/models.PayrollProductionGroup"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api-jl/v1/salary/getPayrollSalaryPlanList": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "员工薪资/薪酬方案"
                ],
                "summary": "获取人员每月的薪资列表",
                "parameters": [
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    },
                    {
                        "type": "string",
                        "description": "统计周期按月查询(年-月)",
                        "name": "cycle",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "关键字",
                        "name": "keyword",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "工种编码",
                        "name": "workTypeCode",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "工种ID",
                        "name": "workTypeID",
                        "in": "query"
                    },
                    {
                        "type": "string",
                        "description": "员工ID",
                        "name": "workerID",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/util.ResponseList"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/models.PayrollSalaryPlan"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api-jl/v1/salary/getSalaryPlanList": {
            "post": {
                "produces": [
@@ -1019,6 +1583,43 @@
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api-jl/v1/salary/savePayrollConstitute": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "员工薪资/薪酬方案"
                ],
                "summary": "薪酬数额调整",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.SavePayrollConstitute"
                        }
                    },
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
@@ -1166,10 +1767,10 @@
                "parameters": [
                    {
                        "enum": [
                            0,
                            1,
                            2,
                            3
                            3,
                            4
                        ],
                        "type": "integer",
                        "x-enum-comments": {
@@ -1311,6 +1912,53 @@
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-jl/v1/system/getAutoCode": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "系统设置/字典"
                ],
                "summary": "获取自动编码",
                "parameters": [
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    },
                    {
                        "type": "integer",
                        "description": "类型",
                        "name": "type",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/util.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "object",
                                            "additionalProperties": true
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
@@ -1589,7 +2237,7 @@
            }
        },
        "/api-jl/v1/system/getWorkshopManageList": {
            "get": {
            "post": {
                "produces": [
                    "application/json"
                ],
@@ -1637,7 +2285,7 @@
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/models.WorkshopManage"
                                                "$ref": "#/definitions/response.WorkshopManage"
                                            }
                                        }
                                    }
@@ -1719,20 +2367,20 @@
                "summary": "保存车间管理",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/models.WorkshopManage"
                        }
                    },
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    },
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddWorkshopManage"
                        }
                    }
                ],
                "responses": {
@@ -2218,18 +2866,15 @@
            "type": "integer",
            "enum": [
                1,
                2,
                3
                2
            ],
            "x-enum-comments": {
                "AllCar": "全车结束",
                "LeftHalfCar": "左半车",
                "RightHalfCar": "右半车"
            },
            "x-enum-varnames": [
                "LeftHalfCar",
                "RightHalfCar",
                "AllCar"
                "RightHalfCar"
            ]
        },
        "constvar.CheckItem": {
@@ -2259,10 +2904,10 @@
        "constvar.DictType": {
            "type": "integer",
            "enum": [
                0,
                1,
                2,
                3
                3,
                4
            ],
            "x-enum-comments": {
                "DictTypeColor": "颜色",
@@ -2277,6 +2922,66 @@
                "DictTypeSpec"
            ]
        },
        "constvar.FileTemplateCategory": {
            "type": "integer",
            "enum": [
                1,
                2
            ],
            "x-enum-comments": {
                "FileTemplateCategory_Output": "出库",
                "FileTemplateCategory_Selfmade": "入库-自制"
            },
            "x-enum-varnames": [
                "FileTemplateCategory_Selfmade",
                "FileTemplateCategory_Output"
            ]
        },
        "constvar.JobType": {
            "type": "string",
            "enum": [
                "weavers",
                "car_head",
                "maintenance",
                "boiled",
                "scoop",
                "transport",
                "cleaner",
                "machine_cleaner",
                "all-powerful",
                "monitor",
                "test",
                "other"
            ],
            "x-enum-comments": {
                "JobTypeAllPowerful": "全能机动",
                "JobTypeBoiled": "煮茧工",
                "JobTypeCarHead": "车头工",
                "JobTypeCleaner": "清洁工",
                "JobTypeMachineCleaner": "感知器清洗工",
                "JobTypeMaintenance": "保全工",
                "JobTypeMonitor": "班长",
                "JobTypeOther": "其它",
                "JobTypeScoop": "舀茧工",
                "JobTypeTest": "测试",
                "JobTypeTransport": "送茧工",
                "JobTypeWeavers": "挡车工"
            },
            "x-enum-varnames": [
                "JobTypeWeavers",
                "JobTypeCarHead",
                "JobTypeMaintenance",
                "JobTypeBoiled",
                "JobTypeScoop",
                "JobTypeTransport",
                "JobTypeCleaner",
                "JobTypeMachineCleaner",
                "JobTypeAllPowerful",
                "JobTypeMonitor",
                "JobTypeTest",
                "JobTypeOther"
            ]
        },
        "constvar.MiniDictType": {
            "type": "integer",
            "enum": [
@@ -2287,9 +2992,12 @@
                5,
                6,
                7,
                8
                8,
                9,
                10
            ],
            "x-enum-comments": {
                "Absenteeism": "缺勤",
                "EarlyWarningDay": "预警天数",
                "InspectionWayType": "质检方式类型",
                "MiniDictTypeBomVersionType": "Bom版本类型",
@@ -2297,7 +3005,8 @@
                "OutsourcingSupplierCreditGrade": "信用等级",
                "OutsourcingSupplierRange": "供货范围",
                "OutsourcingSupplierType": "委外供应商类型",
                "SalaryType": "嘉联薪资类型"
                "SalaryType": "嘉联薪资类型",
                "WildSilk": "野纤"
            },
            "x-enum-varnames": [
                "MiniDictTypePlcBrand",
@@ -2307,7 +3016,9 @@
                "OutsourcingSupplierType",
                "OutsourcingSupplierCreditGrade",
                "OutsourcingSupplierRange",
                "SalaryType"
                "SalaryType",
                "WildSilk",
                "Absenteeism"
            ]
        },
        "constvar.WorkerStatus": {
@@ -2329,6 +3040,21 @@
                "WorkerStatusRest",
                "WorkerStatusHoliday",
                "WorkerStatusOvertime"
            ]
        },
        "constvar.WorkshopType": {
            "type": "integer",
            "enum": [
                1,
                2
            ],
            "x-enum-comments": {
                "Group": "分组信息",
                "Workshop": "车间信息"
            },
            "x-enum-varnames": [
                "Workshop",
                "Group"
            ]
        },
        "gorm.DeletedAt": {
@@ -2378,6 +3104,9 @@
                },
                "overTimeDuration": {
                    "type": "number"
                },
                "phoneNum": {
                    "type": "string"
                },
                "startWorkTime": {
                    "type": "string"
@@ -2615,6 +3344,7 @@
                    "type": "number"
                },
                "finenessRegisterID": {
                    "description": "纤度登记ID",
                    "type": "integer"
                },
                "id": {
@@ -2668,11 +3398,15 @@
                    "type": "integer"
                },
                "market": {
                    "description": "庄口",
                    "description": "庄口名称",
                    "type": "string"
                },
                "name": {
                    "description": "车间",
                "marketId": {
                    "description": "庄口ID",
                    "type": "integer"
                },
                "marketNumber": {
                    "description": "庄口编号",
                    "type": "string"
                },
                "number": {
@@ -2703,6 +3437,14 @@
                "workshopGroup": {
                    "description": "车组",
                    "type": "integer"
                },
                "workshopName": {
                    "description": "车间名称",
                    "type": "string"
                },
                "workshopNumber": {
                    "description": "车间编号",
                    "type": "string"
                }
            }
        },
@@ -2779,6 +3521,297 @@
                }
            }
        },
        "models.PayrollProductionCar": {
            "type": "object",
            "properties": {
                "badSilkAvgQuantity": {
                    "description": "野纤平均数量",
                    "type": "number"
                },
                "badSilkQuantity": {
                    "description": "野纤数量",
                    "type": "number"
                },
                "badSilkTotalAmount": {
                    "description": "野纤总价",
                    "type": "number"
                },
                "badSilkTotalAvgAmount": {
                    "description": "野纤人平均总价",
                    "type": "number"
                },
                "badSilkType": {
                    "description": "野纤类型",
                    "type": "string"
                },
                "badSilkUnitAmount": {
                    "description": "野纤单价",
                    "type": "number"
                },
                "carNumber": {
                    "description": "车台号",
                    "type": "integer"
                },
                "carWorkIds": {
                    "description": "车台关联挡车工ID",
                    "type": "string"
                },
                "carWorkQuantity": {
                    "description": "车台关联人员数量",
                    "type": "integer"
                },
                "cycle": {
                    "description": "统计周期(年月日)",
                    "type": "string"
                },
                "desiredLevel": {
                    "description": "期望等级",
                    "type": "string"
                },
                "fallingSilkBucket": {
                    "description": "落丝桶数",
                    "type": "number"
                },
                "finishLevel": {
                    "description": "成品等级",
                    "type": "string"
                },
                "finishTotalAmount": {
                    "description": "成品金额",
                    "type": "number"
                },
                "finishTotalAvgAmount": {
                    "description": "成品人平均金额",
                    "type": "number"
                },
                "groupNumber": {
                    "description": "组别",
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "marketId": {
                    "description": "庄口编号",
                    "type": "integer"
                },
                "marketName": {
                    "description": "庄口名称",
                    "type": "string"
                },
                "marketNumber": {
                    "description": "庄口编号",
                    "type": "string"
                },
                "silkAvgQuantity": {
                    "description": "人平均丝量",
                    "type": "number"
                },
                "silkQuantity": {
                    "description": "丝量",
                    "type": "number"
                },
                "silkTotalAmount": {
                    "description": "丝量总价",
                    "type": "number"
                },
                "silkTotalAvgAmount": {
                    "description": "丝量人平均总价",
                    "type": "number"
                },
                "silkUnitAmount": {
                    "description": "丝单价",
                    "type": "number"
                },
                "spec": {
                    "description": "规格",
                    "type": "string"
                },
                "workshopId": {
                    "type": "integer"
                },
                "workshopNumber": {
                    "description": "车间编号",
                    "type": "string"
                }
            }
        },
        "models.PayrollProductionGroup": {
            "type": "object",
            "properties": {
                "badSilkQuantity": {
                    "description": "野纤数量",
                    "type": "number"
                },
                "badSilkTotalAmount": {
                    "description": "野纤总价",
                    "type": "number"
                },
                "badSilkTotalAvgAmount": {
                    "description": "野纤人平均总价",
                    "type": "number"
                },
                "cycle": {
                    "description": "统计周期(年月日)",
                    "type": "string"
                },
                "fallingSilkBucket": {
                    "type": "number"
                },
                "finishTotalAmount": {
                    "description": "成品金额",
                    "type": "number"
                },
                "finishTotalAvgAmount": {
                    "description": "成品人平均金额",
                    "type": "number"
                },
                "groupNumber": {
                    "description": "组别",
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "silkAvgQuantity": {
                    "description": "人平均丝量",
                    "type": "number"
                },
                "silkQuantity": {
                    "description": "丝量",
                    "type": "number"
                },
                "silkTotalAmount": {
                    "description": "丝量总价",
                    "type": "number"
                },
                "silkTotalAvgAmount": {
                    "description": "丝量人平均总价",
                    "type": "number"
                },
                "workshopId": {
                    "type": "integer"
                },
                "workshopName": {
                    "description": "车间名称",
                    "type": "string"
                },
                "workshopNumber": {
                    "description": "车间编号",
                    "type": "string"
                }
            }
        },
        "models.PayrollSalaryPlan": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "应发工资",
                    "type": "number"
                },
                "baseSalaryAmount": {
                    "description": "不达保底",
                    "type": "number"
                },
                "cycle": {
                    "description": "月份",
                    "type": "string"
                },
                "dailyInspectionAmount": {
                    "description": "日常检查/奖罚3",
                    "type": "number"
                },
                "downtimeAmount": {
                    "description": "停机补贴",
                    "type": "number"
                },
                "heatAmount": {
                    "description": "奖罚2/清凉补贴",
                    "type": "number"
                },
                "id": {
                    "type": "integer"
                },
                "longTermAmount": {
                    "description": "满勤",
                    "type": "number"
                },
                "masterApprenticeAmount": {
                    "description": "带徒补贴",
                    "type": "number"
                },
                "overtimeAmount": {
                    "description": "加班工资",
                    "type": "number"
                },
                "positionAmount": {
                    "description": "岗位补贴",
                    "type": "number"
                },
                "productionAmount": {
                    "description": "生产工资",
                    "type": "number"
                },
                "qualityStandardsAmount": {
                    "description": "质量奖",
                    "type": "number"
                },
                "quantity": {
                    "description": "产量",
                    "type": "number"
                },
                "remark": {
                    "description": "备注",
                    "type": "string"
                },
                "seniorityAmount": {
                    "description": "工龄补贴",
                    "type": "number"
                },
                "socialSecurityAmount": {
                    "description": "社保补贴",
                    "type": "number"
                },
                "substandardQualityAmount": {
                    "description": "奖罚1",
                    "type": "number"
                },
                "timeoutAmount": {
                    "description": "超时工资",
                    "type": "number"
                },
                "trafficAmount": {
                    "description": "交通补贴",
                    "type": "number"
                },
                "workTypeCode": {
                    "description": "工种代码",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.JobType"
                        }
                    ]
                },
                "workTypeID": {
                    "description": "工种ID",
                    "type": "integer"
                },
                "workTypeName": {
                    "description": "工种名称",
                    "type": "string"
                },
                "worker": {
                    "$ref": "#/definitions/models.Worker"
                },
                "workerId": {
                    "description": "员工ID",
                    "type": "string"
                },
                "workerName": {
                    "type": "string"
                }
            }
        },
        "models.RawSilkPriceStandard": {
            "type": "object",
            "properties": {
@@ -2795,6 +3828,9 @@
                    "type": "integer"
                },
                "marketName": {
                    "type": "string"
                },
                "marketNumber": {
                    "type": "string"
                },
                "notes": {
@@ -2839,10 +3875,14 @@
                    "type": "string"
                },
                "salaryFormula": {
                    "description": "SalaryType    string            ` + "`" + `json:\"salaryType\" gorm:\"type:varchar(255);comment:薪资类型\"` + "`" + `",
                    "type": "string"
                },
                "salaryType": {
                    "type": "string"
                    "$ref": "#/definitions/models.MiniDict"
                },
                "salaryTypeId": {
                    "type": "integer"
                },
                "updatedAt": {
                    "type": "string"
@@ -2860,6 +3900,9 @@
            "properties": {
                "addPeople": {
                    "type": "string"
                },
                "code": {
                    "$ref": "#/definitions/constvar.JobType"
                },
                "createTime": {
                    "type": "string"
@@ -2899,6 +3942,9 @@
                "addPeople": {
                    "type": "string"
                },
                "deletedAt": {
                    "$ref": "#/definitions/gorm.DeletedAt"
                },
                "employmentTime": {
                    "type": "string"
                },
@@ -2920,11 +3966,17 @@
                "shopName": {
                    "type": "string"
                },
                "shopNumber": {
                    "type": "string"
                },
                "status": {
                    "$ref": "#/definitions/constvar.WorkerStatus"
                },
                "workType": {
                    "type": "string"
                },
                "workTypeCode": {
                    "$ref": "#/definitions/constvar.JobType"
                },
                "workTypeId": {
                    "type": "integer"
@@ -2954,10 +4006,6 @@
                "id": {
                    "type": "integer"
                },
                "name": {
                    "description": "车间",
                    "type": "string"
                },
                "startDate": {
                    "description": "开始日期",
                    "type": "string"
@@ -2981,9 +4029,17 @@
                    "description": "工人ID",
                    "type": "string"
                },
                "workshop": {
                    "description": "车间编号",
                    "type": "string"
                },
                "workshopGroup": {
                    "description": "车组",
                    "type": "integer"
                },
                "workshopName": {
                    "description": "车间名称",
                    "type": "string"
                }
            }
        },
@@ -2991,13 +4047,16 @@
            "type": "object",
            "properties": {
                "carFlag": {
                    "$ref": "#/definitions/constvar.CarFlag"
                    "type": "integer"
                },
                "createdAt": {
                    "type": "string"
                },
                "deletedAt": {
                    "$ref": "#/definitions/gorm.DeletedAt"
                },
                "endCarHalf": {
                    "$ref": "#/definitions/constvar.CarFlag"
                },
                "endCarNumber": {
                    "type": "integer"
@@ -3011,8 +4070,22 @@
                "notes": {
                    "type": "string"
                },
                "parentID": {
                    "type": "string"
                },
                "startCarHalf": {
                    "$ref": "#/definitions/constvar.CarFlag"
                },
                "startCarNumber": {
                    "type": "integer"
                },
                "type": {
                    "description": "类型(1车间、2分组)",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.WorkshopType"
                        }
                    ]
                },
                "updatedAt": {
                    "type": "string"
@@ -3092,6 +4165,10 @@
                    "description": "庄口名",
                    "type": "string"
                },
                "marketNumber": {
                    "description": "庄口编号",
                    "type": "string"
                },
                "number": {
                    "type": "string"
                },
@@ -3136,6 +4213,9 @@
                },
                "vehicleSpeed": {
                    "type": "number"
                },
                "workshopId": {
                    "type": "integer"
                },
                "workshopName": {
                    "description": "车间名",
@@ -3273,10 +4353,6 @@
                    "description": "庄口",
                    "type": "string"
                },
                "name": {
                    "description": "车间",
                    "type": "string"
                },
                "number": {
                    "description": "编号",
                    "type": "string"
@@ -3304,6 +4380,12 @@
                "workshopGroup": {
                    "description": "车组",
                    "type": "integer"
                },
                "workshopName": {
                    "type": "string"
                },
                "workshopNumber": {
                    "type": "string"
                }
            }
        },
@@ -3333,7 +4415,8 @@
                "startWorkerPosition",
                "workerId",
                "workshop",
                "workshopGroup"
                "workshopGroup",
                "workshopName"
            ],
            "properties": {
                "endDate": {
@@ -3357,12 +4440,78 @@
                    "type": "string"
                },
                "workshop": {
                    "description": "车间",
                    "description": "车间编号",
                    "type": "string"
                },
                "workshopGroup": {
                    "description": "车组",
                    "type": "integer"
                },
                "workshopName": {
                    "description": "车间名称",
                    "type": "string"
                }
            }
        },
        "request.AddWorkshopManage": {
            "type": "object",
            "properties": {
                "carFlag": {
                    "type": "integer"
                },
                "createdAt": {
                    "type": "string"
                },
                "deletedAt": {
                    "$ref": "#/definitions/gorm.DeletedAt"
                },
                "details": {
                    "description": "车间信息",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/models.WorkshopManage"
                    }
                },
                "endCarHalf": {
                    "$ref": "#/definitions/constvar.CarFlag"
                },
                "endCarNumber": {
                    "type": "integer"
                },
                "groupNumber": {
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "notes": {
                    "type": "string"
                },
                "parentID": {
                    "type": "string"
                },
                "startCarHalf": {
                    "$ref": "#/definitions/constvar.CarFlag"
                },
                "startCarNumber": {
                    "type": "integer"
                },
                "type": {
                    "description": "类型(1车间、2分组)",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.WorkshopType"
                        }
                    ]
                },
                "updatedAt": {
                    "type": "string"
                },
                "workshopName": {
                    "type": "string"
                },
                "workshopNumber": {
                    "type": "string"
                }
            }
        },
@@ -3460,6 +4609,9 @@
        "request.GetAttendanceStatistic": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "month": {
                    "description": "月份",
                    "type": "string"
@@ -3560,6 +4712,10 @@
                "workshopName": {
                    "description": "车间名称",
                    "type": "string"
                },
                "workshopNumber": {
                    "description": "车间编号",
                    "type": "string"
                }
            }
        },
@@ -3637,6 +4793,25 @@
                }
            }
        },
        "request.SalaryReportForms": {
            "type": "object",
            "properties": {
                "keyword": {
                    "type": "string"
                },
                "month": {
                    "type": "string"
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                }
            }
        },
        "request.SalaryType": {
            "type": "object",
            "properties": {
@@ -3659,12 +4834,52 @@
        "request.SalaryTypeValue": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer"
                },
                "isDefault": {
                    "description": "是否可编辑",
                    "type": "boolean"
                },
                "name": {
                    "description": "名称",
                    "type": "string"
                }
            }
        },
        "request.SavePayrollConstitute": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "金额",
                    "type": "number"
                },
                "cycle": {
                    "description": "周期(月份)",
                    "type": "string"
                },
                "salaryPlanId": {
                    "description": "薪资方案ID",
                    "type": "integer"
                },
                "workTypeCode": {
                    "description": "工种代码",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.JobType"
                        }
                    ]
                },
                "workTypeID": {
                    "description": "工种ID",
                    "type": "integer"
                },
                "workTypeName": {
                    "description": "工种名称",
                    "type": "string"
                },
                "workerId": {
                    "description": "员工ID",
                    "type": "string"
                }
            }
@@ -3677,6 +4892,67 @@
                    "items": {
                        "$ref": "#/definitions/request.RankStandard"
                    }
                }
            }
        },
        "request.TemplateCategoryRequest": {
            "type": "object",
            "properties": {
                "category": {
                    "$ref": "#/definitions/constvar.FileTemplateCategory"
                }
            }
        },
        "request.UpdateAttendance": {
            "type": "object",
            "properties": {
                "classes": {
                    "description": "班次",
                    "type": "string"
                },
                "classesEndTime": {
                    "description": "班次下班时间",
                    "type": "string"
                },
                "classesStartTime": {
                    "description": "班次开始时间",
                    "type": "string"
                },
                "date": {
                    "description": "日期",
                    "type": "string"
                },
                "endWorkTime": {
                    "description": "下班打卡时间",
                    "type": "string"
                },
                "overTimeDuration": {
                    "description": "加班时长",
                    "type": "number"
                },
                "startWorkTime": {
                    "description": "上班打卡时间",
                    "type": "string"
                },
                "status": {
                    "description": "状态",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.AttendanceStatus"
                        }
                    ]
                },
                "workTypeId": {
                    "description": "工种id",
                    "type": "integer"
                },
                "workerId": {
                    "description": "人员id",
                    "type": "string"
                },
                "workerName": {
                    "description": "人员姓名",
                    "type": "string"
                }
            }
        },
@@ -3728,6 +5004,23 @@
                }
            }
        },
        "request.UpdateSalaryReportForms": {
            "type": "object",
            "properties": {
                "amount": {
                    "type": "number"
                },
                "month": {
                    "type": "string"
                },
                "salaryTypeId": {
                    "type": "integer"
                },
                "workerId": {
                    "type": "string"
                }
            }
        },
        "request.UpdateWorkerPositionRequest": {
            "type": "object",
            "required": [
@@ -3737,7 +5030,8 @@
                "startWorkerPosition",
                "workerId",
                "workshop",
                "workshopGroup"
                "workshopGroup",
                "workshopName"
            ],
            "properties": {
                "endDate": {
@@ -3764,12 +5058,16 @@
                    "type": "string"
                },
                "workshop": {
                    "description": "车间",
                    "description": "车间编号",
                    "type": "string"
                },
                "workshopGroup": {
                    "description": "车组",
                    "type": "integer"
                },
                "workshopName": {
                    "description": "车间名称",
                    "type": "string"
                }
            }
        },
@@ -3879,6 +5177,10 @@
                    "description": "庄口id",
                    "type": "integer"
                },
                "marketNumber": {
                    "description": "庄口编号",
                    "type": "string"
                },
                "number": {
                    "description": "编号",
                    "type": "string"
@@ -3973,8 +5275,28 @@
        "response.AttendanceDetail": {
            "type": "object",
            "properties": {
                "classes": {
                    "description": "班次",
                    "type": "string"
                },
                "classesEndTime": {
                    "description": "班次下班时间",
                    "type": "string"
                },
                "classesStartTime": {
                    "description": "班次开始时间",
                    "type": "string"
                },
                "date": {
                    "description": "日期",
                    "type": "integer"
                },
                "endWorkTime": {
                    "description": "下班打卡时间",
                    "type": "string"
                },
                "startWorkTime": {
                    "description": "上班打卡时间",
                    "type": "string"
                },
                "status": {
@@ -3984,6 +5306,10 @@
                            "$ref": "#/definitions/constvar.AttendanceStatus"
                        }
                    ]
                },
                "weekDay": {
                    "description": "星期",
                    "type": "string"
                }
            }
        },
@@ -4031,6 +5357,10 @@
                "workType": {
                    "description": "工种",
                    "type": "string"
                },
                "workTypeId": {
                    "description": "工种id",
                    "type": "integer"
                },
                "workerId": {
                    "description": "人员id",
@@ -4133,6 +5463,117 @@
                }
            }
        },
        "response.SalaryDetail": {
            "type": "object",
            "properties": {
                "amount": {
                    "description": "工资值",
                    "type": "number"
                },
                "salaryType": {
                    "description": "薪资类型",
                    "type": "string"
                },
                "salaryTypeId": {
                    "description": "薪资类型id",
                    "type": "integer"
                }
            }
        },
        "response.SalaryReportForms": {
            "type": "object",
            "properties": {
                "details": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/response.SalaryDetail"
                    }
                },
                "issueSalary": {
                    "description": "应发工资",
                    "type": "number"
                },
                "phone": {
                    "type": "string"
                },
                "remark": {
                    "description": "备注",
                    "type": "string"
                },
                "workType": {
                    "description": "工种",
                    "type": "string"
                },
                "workerId": {
                    "type": "string"
                },
                "workerName": {
                    "type": "string"
                }
            }
        },
        "response.WorkshopManage": {
            "type": "object",
            "properties": {
                "carFlag": {
                    "type": "integer"
                },
                "createdAt": {
                    "type": "string"
                },
                "deletedAt": {
                    "$ref": "#/definitions/gorm.DeletedAt"
                },
                "details": {
                    "description": "车间信息",
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/models.WorkshopManage"
                    }
                },
                "endCarHalf": {
                    "$ref": "#/definitions/constvar.CarFlag"
                },
                "endCarNumber": {
                    "type": "integer"
                },
                "groupNumber": {
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "notes": {
                    "type": "string"
                },
                "parentID": {
                    "type": "string"
                },
                "startCarHalf": {
                    "$ref": "#/definitions/constvar.CarFlag"
                },
                "startCarNumber": {
                    "type": "integer"
                },
                "type": {
                    "description": "类型(1车间、2分组)",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.WorkshopType"
                        }
                    ]
                },
                "updatedAt": {
                    "type": "string"
                },
                "workshopName": {
                    "type": "string"
                },
                "workshopNumber": {
                    "type": "string"
                }
            }
        },
        "util.Response": {
            "type": "object",
            "properties": {