| | |
| | | enum: |
| | | - 1 |
| | | - 2 |
| | | - 3 |
| | | type: integer |
| | | x-enum-comments: |
| | | AllCar: 全车结束 |
| | | LeftHalfCar: 左半车 |
| | | RightHalfCar: 右半车 |
| | | x-enum-varnames: |
| | | - LeftHalfCar |
| | | - RightHalfCar |
| | | - AllCar |
| | | constvar.CheckItem: |
| | | enum: |
| | | - 1 |
| | |
| | | - WorkerStatusRest |
| | | - WorkerStatusHoliday |
| | | - WorkerStatusOvertime |
| | | constvar.WorkshopType: |
| | | enum: |
| | | - 1 |
| | | - 2 |
| | | type: integer |
| | | x-enum-comments: |
| | | Group: 分组信息 |
| | | Workshop: 车间信息 |
| | | x-enum-varnames: |
| | | - Workshop |
| | | - Group |
| | | gorm.DeletedAt: |
| | | properties: |
| | | time: |
| | |
| | | id: |
| | | type: integer |
| | | market: |
| | | description: 庄口 |
| | | description: 庄口名称 |
| | | type: string |
| | | marketNumber: |
| | | description: 庄口编号 |
| | | type: string |
| | | number: |
| | | description: 编号 |
| | |
| | | description: 车组 |
| | | type: integer |
| | | workshopName: |
| | | description: 车间名称 |
| | | type: string |
| | | workshopNumber: |
| | | description: 车间编号 |
| | | type: string |
| | | type: object |
| | | models.FinenessRoundingItem: |
| | |
| | | properties: |
| | | addPeople: |
| | | type: string |
| | | deletedAt: |
| | | $ref: '#/definitions/gorm.DeletedAt' |
| | | employmentTime: |
| | | type: string |
| | | groupNumber: |
| | |
| | | models.WorkshopManage: |
| | | properties: |
| | | carFlag: |
| | | $ref: '#/definitions/constvar.CarFlag' |
| | | type: integer |
| | | createdAt: |
| | | type: string |
| | | deletedAt: |
| | | $ref: '#/definitions/gorm.DeletedAt' |
| | | endCarHalf: |
| | | $ref: '#/definitions/constvar.CarFlag' |
| | | endCarNumber: |
| | | type: integer |
| | | groupNumber: |
| | |
| | | type: integer |
| | | notes: |
| | | type: string |
| | | parentID: |
| | | type: string |
| | | startCarHalf: |
| | | $ref: '#/definitions/constvar.CarFlag' |
| | | startCarNumber: |
| | | type: integer |
| | | type: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.WorkshopType' |
| | | description: 类型(1车间、2分组) |
| | | updatedAt: |
| | | type: string |
| | | workshopName: |
| | |
| | | - workshopGroup |
| | | - workshopName |
| | | type: object |
| | | request.AddWorkshopManage: |
| | | properties: |
| | | carFlag: |
| | | type: integer |
| | | createdAt: |
| | | type: string |
| | | deletedAt: |
| | | $ref: '#/definitions/gorm.DeletedAt' |
| | | details: |
| | | description: 车间信息 |
| | | items: |
| | | $ref: '#/definitions/models.WorkshopManage' |
| | | type: array |
| | | 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: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.WorkshopType' |
| | | description: 类型(1车间、2分组) |
| | | updatedAt: |
| | | type: string |
| | | workshopName: |
| | | type: string |
| | | workshopNumber: |
| | | type: string |
| | | type: object |
| | | request.ChangeYieldRegister: |
| | | properties: |
| | | createTime: |
| | |
| | | type: string |
| | | workshopName: |
| | | description: 车间名称 |
| | | type: string |
| | | workshopNumber: |
| | | description: 车间编号 |
| | | type: string |
| | | type: object |
| | | request.GetYieldRegisterList: |
| | |
| | | type: string |
| | | workerId: |
| | | description: 工人ID |
| | | type: string |
| | | type: object |
| | | request.UpdateSalaryReportForms: |
| | | properties: |
| | | amount: |
| | | type: number |
| | | month: |
| | | type: string |
| | | salaryTypeId: |
| | | type: integer |
| | | workerId: |
| | | type: string |
| | | type: object |
| | | request.UpdateWorkerPositionRequest: |
| | |
| | | workerId: |
| | | type: string |
| | | workerName: |
| | | type: string |
| | | type: object |
| | | response.WorkshopManage: |
| | | properties: |
| | | carFlag: |
| | | type: integer |
| | | createdAt: |
| | | type: string |
| | | deletedAt: |
| | | $ref: '#/definitions/gorm.DeletedAt' |
| | | details: |
| | | description: 车间信息 |
| | | items: |
| | | $ref: '#/definitions/models.WorkshopManage' |
| | | type: array |
| | | 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: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.WorkshopType' |
| | | description: 类型(1车间、2分组) |
| | | updatedAt: |
| | | type: string |
| | | workshopName: |
| | | type: string |
| | | workshopNumber: |
| | | type: string |
| | | type: object |
| | | util.Response: |
| | |
| | | $ref: '#/definitions/response.SalaryReportForms' |
| | | type: array |
| | | type: object |
| | | summary: 薪资报表 |
| | | summary: 获取薪资报表 |
| | | tags: |
| | | - 报表管理 |
| | | /api-jl/v1/forms/updateSalaryReportForms: |
| | | post: |
| | | parameters: |
| | | - description: 参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateSalaryReportForms' |
| | | - description: token |
| | | in: header |
| | | name: Authorization |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 修改薪资报表 |
| | | tags: |
| | | - 报表管理 |
| | | /api-jl/v1/mentor/createMentorInfo: |
| | |
| | | summary: 删除字典 |
| | | tags: |
| | | - 系统设置/字典 |
| | | /api-jl/v1/system/getAutoCode: |
| | | get: |
| | | parameters: |
| | | - description: token |
| | | in: header |
| | | name: Authorization |
| | | required: true |
| | | type: string |
| | | - description: 类型 |
| | | in: query |
| | | name: type |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/util.Response' |
| | | - properties: |
| | | data: |
| | | additionalProperties: true |
| | | type: object |
| | | type: object |
| | | summary: 获取自动编码 |
| | | tags: |
| | | - 系统设置/字典 |
| | | /api-jl/v1/system/getCarAndLevel: |
| | | post: |
| | | parameters: |
| | |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/models.WorkshopManage' |
| | | $ref: '#/definitions/response.WorkshopManage' |
| | | type: array |
| | | type: object |
| | | summary: 获取车间管理列表 |
| | |
| | | /api-jl/v1/system/saveWorkshopManage: |
| | | post: |
| | | parameters: |
| | | - description: 参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/models.WorkshopManage' |
| | | - description: token |
| | | in: header |
| | | name: Authorization |
| | | required: true |
| | | type: string |
| | | - description: 参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddWorkshopManage' |
| | | produces: |
| | | - application/json |
| | | responses: |