| | |
| | | "host": "{{.Host}}", |
| | | "basePath": "{{.BasePath}}", |
| | | "paths": { |
| | | "/api-jl/v1/attendance/attendanceInput": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/xlsx" |
| | | ], |
| | | "tags": [ |
| | | "考勤管理" |
| | | ], |
| | | "summary": "考勤导入", |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/attendance/deleteAttendanceInfo": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "考勤管理" |
| | | ], |
| | | "summary": "删除考勤信息", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.DeleteAttendanceInfo" |
| | | } |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "token", |
| | | "name": "Authorization", |
| | | "in": "header", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/attendance/getAttendanceList": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "考勤管理" |
| | | ], |
| | | "summary": "获取考勤列表", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.GetAttendanceList" |
| | | } |
| | | }, |
| | | { |
| | | "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/models.AttendanceManage" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/fineness/changeYieldRegister": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | { |
| | | "type": "string", |
| | | "description": "id", |
| | | "name": "number", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | }, |
| | |
| | | { |
| | | "type": "string", |
| | | "description": "id", |
| | | "name": "number", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | }, |
| | |
| | | { |
| | | "type": "string", |
| | | "description": "id", |
| | | "name": "number", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | }, |
| | |
| | | "valid": { |
| | | "description": "Valid is true if Time is not NULL", |
| | | "type": "boolean" |
| | | } |
| | | } |
| | | }, |
| | | "models.AttendanceManage": { |
| | | "type": "object", |
| | | "properties": { |
| | | "addPeople": { |
| | | "type": "string" |
| | | }, |
| | | "classes": { |
| | | "type": "string" |
| | | }, |
| | | "classesEndTime": { |
| | | "type": "string" |
| | | }, |
| | | "classesStartTime": { |
| | | "type": "string" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "createdAt": { |
| | | "type": "string" |
| | | }, |
| | | "date": { |
| | | "type": "string" |
| | | }, |
| | | "deletedAt": { |
| | | "$ref": "#/definitions/gorm.DeletedAt" |
| | | }, |
| | | "endWorkTime": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "startWorkTime": { |
| | | "type": "string" |
| | | }, |
| | | "updatedAt": { |
| | | "type": "string" |
| | | }, |
| | | "workerId": { |
| | | "type": "string" |
| | | }, |
| | | "workerName": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteAttendanceInfo": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.DynamicsRank": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.GetAttendanceList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | | }, |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.GetMentorList": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "contact": {} |
| | | }, |
| | | "paths": { |
| | | "/api-jl/v1/attendance/attendanceInput": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/xlsx" |
| | | ], |
| | | "tags": [ |
| | | "考勤管理" |
| | | ], |
| | | "summary": "考勤导入", |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/attendance/deleteAttendanceInfo": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "考勤管理" |
| | | ], |
| | | "summary": "删除考勤信息", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.DeleteAttendanceInfo" |
| | | } |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "token", |
| | | "name": "Authorization", |
| | | "in": "header", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/attendance/getAttendanceList": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "考勤管理" |
| | | ], |
| | | "summary": "获取考勤列表", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.GetAttendanceList" |
| | | } |
| | | }, |
| | | { |
| | | "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/models.AttendanceManage" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/fineness/changeYieldRegister": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | { |
| | | "type": "string", |
| | | "description": "id", |
| | | "name": "number", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | }, |
| | |
| | | { |
| | | "type": "string", |
| | | "description": "id", |
| | | "name": "number", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | }, |
| | |
| | | { |
| | | "type": "string", |
| | | "description": "id", |
| | | "name": "number", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | }, |
| | |
| | | "valid": { |
| | | "description": "Valid is true if Time is not NULL", |
| | | "type": "boolean" |
| | | } |
| | | } |
| | | }, |
| | | "models.AttendanceManage": { |
| | | "type": "object", |
| | | "properties": { |
| | | "addPeople": { |
| | | "type": "string" |
| | | }, |
| | | "classes": { |
| | | "type": "string" |
| | | }, |
| | | "classesEndTime": { |
| | | "type": "string" |
| | | }, |
| | | "classesStartTime": { |
| | | "type": "string" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "createdAt": { |
| | | "type": "string" |
| | | }, |
| | | "date": { |
| | | "type": "string" |
| | | }, |
| | | "deletedAt": { |
| | | "$ref": "#/definitions/gorm.DeletedAt" |
| | | }, |
| | | "endWorkTime": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "startWorkTime": { |
| | | "type": "string" |
| | | }, |
| | | "updatedAt": { |
| | | "type": "string" |
| | | }, |
| | | "workerId": { |
| | | "type": "string" |
| | | }, |
| | | "workerName": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteAttendanceInfo": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.DynamicsRank": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.GetAttendanceList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | | }, |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.GetMentorList": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | description: Valid is true if Time is not NULL |
| | | type: boolean |
| | | type: object |
| | | models.AttendanceManage: |
| | | properties: |
| | | addPeople: |
| | | type: string |
| | | classes: |
| | | type: string |
| | | classesEndTime: |
| | | type: string |
| | | classesStartTime: |
| | | type: string |
| | | createTime: |
| | | type: string |
| | | createdAt: |
| | | type: string |
| | | date: |
| | | type: string |
| | | deletedAt: |
| | | $ref: '#/definitions/gorm.DeletedAt' |
| | | endWorkTime: |
| | | type: string |
| | | id: |
| | | type: integer |
| | | startWorkTime: |
| | | type: string |
| | | updatedAt: |
| | | type: string |
| | | workerId: |
| | | type: string |
| | | workerName: |
| | | type: string |
| | | type: object |
| | | models.Dict: |
| | | properties: |
| | | createdAt: |
| | |
| | | description: 车间编码 |
| | | type: string |
| | | type: object |
| | | request.DeleteAttendanceInfo: |
| | | properties: |
| | | ids: |
| | | items: |
| | | type: integer |
| | | type: array |
| | | type: object |
| | | request.DynamicsRank: |
| | | properties: |
| | | rankName: |
| | |
| | | sum: |
| | | description: 合计 |
| | | type: number |
| | | type: object |
| | | request.GetAttendanceList: |
| | | properties: |
| | | keyword: |
| | | type: string |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | type: object |
| | | request.GetMentorList: |
| | | properties: |
| | |
| | | info: |
| | | contact: {} |
| | | paths: |
| | | /api-jl/v1/attendance/attendanceInput: |
| | | post: |
| | | produces: |
| | | - application/xlsx |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 考勤导入 |
| | | tags: |
| | | - 考勤管理 |
| | | /api-jl/v1/attendance/deleteAttendanceInfo: |
| | | delete: |
| | | parameters: |
| | | - description: 参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.DeleteAttendanceInfo' |
| | | - 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/attendance/getAttendanceList: |
| | | post: |
| | | parameters: |
| | | - description: 参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.GetAttendanceList' |
| | | - description: token |
| | | in: header |
| | | name: Authorization |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/util.ResponseList' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/models.AttendanceManage' |
| | | type: array |
| | | type: object |
| | | summary: 获取考勤列表 |
| | | tags: |
| | | - 考勤管理 |
| | | /api-jl/v1/fineness/changeYieldRegister: |
| | | post: |
| | | parameters: |
| | |
| | | parameters: |
| | | - description: id |
| | | in: path |
| | | name: number |
| | | name: id |
| | | required: true |
| | | type: string |
| | | - description: token |
| | |
| | | parameters: |
| | | - description: id |
| | | in: path |
| | | name: number |
| | | name: id |
| | | required: true |
| | | type: string |
| | | - description: token |
| | |
| | | parameters: |
| | | - description: id |
| | | in: path |
| | | name: number |
| | | name: id |
| | | required: true |
| | | type: string |
| | | - description: token |