| | |
| | | // 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" |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/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": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "post": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | |
| | | "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": { |
| | |
| | | "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": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/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 |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/system/getCarAndLevel": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/models.WorkshopManage" |
| | | "$ref": "#/definitions/response.WorkshopManage" |
| | | } |
| | | } |
| | | } |
| | |
| | | "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": { |
| | |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2, |
| | | 3 |
| | | 2 |
| | | ], |
| | | "x-enum-comments": { |
| | | "AllCar": "全车结束", |
| | | "LeftHalfCar": "左半车", |
| | | "RightHalfCar": "右半车" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "LeftHalfCar", |
| | | "RightHalfCar", |
| | | "AllCar" |
| | | "RightHalfCar" |
| | | ] |
| | | }, |
| | | "constvar.CheckItem": { |
| | |
| | | "DictTypeSpec" |
| | | ] |
| | | }, |
| | | "constvar.FileTemplateCategory": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2 |
| | | ], |
| | | "x-enum-comments": { |
| | | "FileTemplateCategory_Output": "出库", |
| | | "FileTemplateCategory_Selfmade": "入库-自制" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "FileTemplateCategory_Selfmade", |
| | | "FileTemplateCategory_Output" |
| | | ] |
| | | }, |
| | | "constvar.MiniDictType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | |
| | | 5, |
| | | 6, |
| | | 7, |
| | | 8 |
| | | 8, |
| | | 9, |
| | | 10 |
| | | ], |
| | | "x-enum-comments": { |
| | | "Absenteeism": "缺勤", |
| | | "EarlyWarningDay": "预警天数", |
| | | "InspectionWayType": "质检方式类型", |
| | | "MiniDictTypeBomVersionType": "Bom版本类型", |
| | |
| | | "OutsourcingSupplierCreditGrade": "信用等级", |
| | | "OutsourcingSupplierRange": "供货范围", |
| | | "OutsourcingSupplierType": "委外供应商类型", |
| | | "SalaryType": "嘉联薪资类型" |
| | | "SalaryType": "嘉联薪资类型", |
| | | "WildSilk": "野纤" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "MiniDictTypePlcBrand", |
| | |
| | | "OutsourcingSupplierType", |
| | | "OutsourcingSupplierCreditGrade", |
| | | "OutsourcingSupplierRange", |
| | | "SalaryType" |
| | | "SalaryType", |
| | | "WildSilk", |
| | | "Absenteeism" |
| | | ] |
| | | }, |
| | | "constvar.WorkerStatus": { |
| | |
| | | "WorkerStatusRest", |
| | | "WorkerStatusHoliday", |
| | | "WorkerStatusOvertime" |
| | | ] |
| | | }, |
| | | "constvar.WorkshopType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2 |
| | | ], |
| | | "x-enum-comments": { |
| | | "Group": "分组信息", |
| | | "Workshop": "车间信息" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "Workshop", |
| | | "Group" |
| | | ] |
| | | }, |
| | | "gorm.DeletedAt": { |
| | |
| | | }, |
| | | "overTimeDuration": { |
| | | "type": "number" |
| | | }, |
| | | "phoneNum": { |
| | | "type": "string" |
| | | }, |
| | | "startWorkTime": { |
| | | "type": "string" |
| | |
| | | "type": "integer" |
| | | }, |
| | | "market": { |
| | | "description": "庄口", |
| | | "description": "庄口名称", |
| | | "type": "string" |
| | | }, |
| | | "name": { |
| | | "description": "车间", |
| | | "marketNumber": { |
| | | "description": "庄口编号", |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | |
| | | "workshopGroup": { |
| | | "description": "车组", |
| | | "type": "integer" |
| | | }, |
| | | "workshopName": { |
| | | "description": "车间名称", |
| | | "type": "string" |
| | | }, |
| | | "workshopNumber": { |
| | | "description": "车间编号", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "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" |
| | |
| | | "properties": { |
| | | "addPeople": { |
| | | "type": "string" |
| | | }, |
| | | "deletedAt": { |
| | | "$ref": "#/definitions/gorm.DeletedAt" |
| | | }, |
| | | "employmentTime": { |
| | | "type": "string" |
| | |
| | | "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" |
| | |
| | | "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" |
| | |
| | | "description": "庄口", |
| | | "type": "string" |
| | | }, |
| | | "name": { |
| | | "description": "车间", |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | | "description": "编号", |
| | | "type": "string" |
| | |
| | | "workshopGroup": { |
| | | "description": "车组", |
| | | "type": "integer" |
| | | }, |
| | | "workshopName": { |
| | | "type": "string" |
| | | }, |
| | | "workshopNumber": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | }, |
| | | "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" |
| | | } |
| | | } |
| | |
| | | "request.GetAttendanceStatistic": { |
| | | "type": "object", |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "month": { |
| | | "description": "月份", |
| | | "type": "string" |
| | |
| | | "workshopName": { |
| | | "description": "车间名称", |
| | | "type": "string" |
| | | }, |
| | | "workshopNumber": { |
| | | "description": "车间编号", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.SalaryReportForms": { |
| | | "type": "object", |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "month": { |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | | }, |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.SalaryType": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "request.SalaryTypeValue": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "isDefault": { |
| | | "description": "是否可编辑", |
| | | "type": "boolean" |
| | |
| | | } |
| | | } |
| | | }, |
| | | "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": "状态", |
| | |
| | | } |
| | | ] |
| | | }, |
| | | "workTypeId": { |
| | | "description": "工种id", |
| | | "type": "integer" |
| | | }, |
| | | "workerId": { |
| | | "description": "人员id", |
| | | "type": "string" |
| | | }, |
| | | "workerName": { |
| | | "description": "人员姓名", |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | }, |
| | | "workerId": { |
| | | "description": "工人ID", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateSalaryReportForms": { |
| | | "type": "object", |
| | | "properties": { |
| | | "amount": { |
| | | "type": "number" |
| | | }, |
| | | "month": { |
| | | "type": "string" |
| | | }, |
| | | "salaryTypeId": { |
| | | "type": "integer" |
| | | }, |
| | | "workerId": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "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": { |
| | | "description": "状态", |
| | |
| | | "$ref": "#/definitions/constvar.AttendanceStatus" |
| | | } |
| | | ] |
| | | }, |
| | | "weekDay": { |
| | | "description": "星期", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "workType": { |
| | | "description": "工种", |
| | | "type": "string" |
| | | }, |
| | | "workTypeId": { |
| | | "description": "工种id", |
| | | "type": "integer" |
| | | }, |
| | | "workerId": { |
| | | "description": "人员id", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "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": { |