From fcacdbf9aa2598cbb08a880069abf892d69d061f Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 27 十一月 2023 17:24:06 +0800
Subject: [PATCH] fix
---
docs/swagger.yaml | 138 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 138 insertions(+), 0 deletions(-)
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 393866b..f69843e 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -57,6 +57,8 @@
type: string
procedureName:
type: string
+ productProcedureID:
+ type: string
startTime:
type: integer
workHours:
@@ -179,6 +181,16 @@
data: {}
msg:
type: string
+ type: object
+ contextx.ResponseList:
+ properties:
+ code:
+ type: integer
+ data: {}
+ msg:
+ type: string
+ total:
+ type: integer
type: object
model.DevicePlc:
properties:
@@ -387,6 +399,9 @@
processModelNumber:
description: 宸ヨ壓妯″瀷缂栧彿
type: string
+ productProcedureID:
+ description: 浜у搧宸ュ簭id
+ type: string
realEndTime:
type: integer
realStartTime:
@@ -434,6 +449,56 @@
updatedAt:
type: string
type: object
+ model.ReportWork:
+ properties:
+ barCode:
+ description: 鏉″舰鐮�
+ type: string
+ channel:
+ description: 閫氶亾
+ type: integer
+ createdAt:
+ type: string
+ deletedAt:
+ type: string
+ deviceId:
+ type: string
+ deviceName:
+ type: string
+ endTime:
+ type: integer
+ finishAmount:
+ description: 鏈鎶ュ伐 - 涓婃鎶ュ伐
+ type: integer
+ id:
+ type: integer
+ procedureId:
+ type: string
+ proceduresId:
+ description: procedures琛ㄧ殑id
+ type: integer
+ productProcedureID:
+ description: 浜у搧宸ュ簭id
+ type: string
+ reportAmount:
+ description: 鎶ュ伐鏁伴噺
+ type: integer
+ startTime:
+ type: integer
+ updatedAt:
+ type: string
+ workOrderId:
+ type: string
+ workerID:
+ description: 鎶ュ伐浜篿d
+ type: string
+ workerName:
+ description: 鎶ュ伐浜哄鍚�
+ type: string
+ workerTime:
+ description: 宸ユ椂锛屽崟浣嶇
+ type: integer
+ type: object
problem.CheckResult:
properties:
checkResult:
@@ -466,6 +531,8 @@
properties:
channel:
type: integer
+ procedureId:
+ type: integer
type: object
request.QueryType:
enum:
@@ -477,6 +544,22 @@
- QueryTypeUnFinish
- QueryTypeToday
- QueryTypeFinished
+ request.ReportWork:
+ properties:
+ procedureId:
+ description: 宸ュ簭id
+ type: integer
+ reportAmount:
+ description: 鎶ュ伐鏁伴噺
+ type: integer
+ workerID:
+ description: 鎶ュ憡鑰卛d
+ type: string
+ required:
+ - procedureId
+ - reportAmount
+ - workerID
+ type: object
request.SendProcessParams:
properties:
procedureId:
@@ -555,6 +638,9 @@
type: string
deviceName:
type: string
+ needSetProcessParams:
+ description: 鏄惁闇�瑕佽缃伐鑹哄弬鏁�
+ type: boolean
type: object
response.DeviceListResponse:
properties:
@@ -967,6 +1053,58 @@
summary: 鑾峰彇宸ヨ壓妯″瀷鍒楄〃
tags:
- 宸ヨ壓妯″瀷
+ /v1/reportWork/list:
+ get:
+ parameters:
+ - description: 椤电爜
+ in: query
+ name: page
+ type: integer
+ - description: 姣忛〉澶у皬
+ in: query
+ name: pageSize
+ type: integer
+ - description: 宸ュ簭id
+ in: query
+ name: procedureId
+ required: true
+ type: integer
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: 鎴愬姛
+ schema:
+ allOf:
+ - $ref: '#/definitions/contextx.ResponseList'
+ - properties:
+ data:
+ items:
+ $ref: '#/definitions/model.ReportWork'
+ type: array
+ type: object
+ summary: 鎶ュ伐鍒楄〃
+ tags:
+ - 鎶ュ伐
+ /v1/reportWork/report:
+ post:
+ parameters:
+ - description: 鏌ヨ鍙傛暟
+ in: body
+ name: object
+ required: true
+ schema:
+ $ref: '#/definitions/request.ReportWork'
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: 鎴愬姛
+ schema:
+ $ref: '#/definitions/contextx.Response'
+ summary: 涓婃姤
+ tags:
+ - 鎶ュ伐
/v1/system/problemList:
get:
produces:
--
Gitblit v1.8.0