| | |
| | | // 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" |
| | |
| | | "tags": [ |
| | | "报表管理" |
| | | ], |
| | | "summary": "薪资报表", |
| | | "summary": "获取薪资报表", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/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": { |
| | | "200": { |
| | | "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 |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/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": { |
| | |
| | | "WorkerStatusRest", |
| | | "WorkerStatusHoliday", |
| | | "WorkerStatusOvertime" |
| | | ] |
| | | }, |
| | | "constvar.WorkshopType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2 |
| | | ], |
| | | "x-enum-comments": { |
| | | "Group": "分组信息", |
| | | "Workshop": "车间信息" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "Workshop", |
| | | "Group" |
| | | ] |
| | | }, |
| | | "gorm.DeletedAt": { |
| | |
| | | "type": "integer" |
| | | }, |
| | | "market": { |
| | | "description": "庄口", |
| | | "description": "庄口名称", |
| | | "type": "string" |
| | | }, |
| | | "marketNumber": { |
| | | "description": "庄口编号", |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | |
| | | "type": "integer" |
| | | }, |
| | | "workshopName": { |
| | | "description": "车间名称", |
| | | "type": "string" |
| | | }, |
| | | "workshopNumber": { |
| | | "description": "车间编号", |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "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" |
| | |
| | | } |
| | | } |
| | | }, |
| | | "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.ChangeYieldRegister": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | }, |
| | | "workshopName": { |
| | | "description": "车间名称", |
| | | "type": "string" |
| | | }, |
| | | "workshopNumber": { |
| | | "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.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": { |