From a5435e6664093cd4b2ead49409cb41e301e46514 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期二, 30 四月 2024 14:07:04 +0800 Subject: [PATCH] 薪资计算2 --- docs/swagger.yaml | 87 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 86 insertions(+), 1 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 7d4e568..da4f0f1 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -162,6 +162,8 @@ type: integer overTimeDuration: type: number + phoneNum: + type: string startWorkTime: type: string status: @@ -477,9 +479,12 @@ name: 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 workTypes: @@ -1032,6 +1037,19 @@ description: 寮�濮嬬氦搴� type: number type: object + request.SalaryReportForms: + properties: + keyword: + type: string + month: + type: string + page: + description: 椤电爜 + type: integer + pageSize: + description: 姣忛〉澶у皬 + type: integer + type: object request.SalaryType: properties: type: @@ -1045,6 +1063,8 @@ type: object request.SalaryTypeValue: properties: + id: + type: integer isDefault: description: 鏄惁鍙紪杈� type: boolean @@ -1445,6 +1465,40 @@ startFineness: description: 寮�濮嬬氦搴� type: number + type: object + response.SalaryDetail: + properties: + amount: + description: 宸ヨ祫鍊� + type: number + salaryType: + description: 钖祫绫诲瀷 + type: string + salaryTypeId: + description: 钖祫绫诲瀷id + type: integer + type: object + response.SalaryReportForms: + properties: + details: + items: + $ref: '#/definitions/response.SalaryDetail' + type: array + issueSalary: + description: 搴斿彂宸ヨ祫 + type: number + phone: + type: string + remark: + description: 澶囨敞 + type: string + workType: + description: 宸ョ + type: string + workerId: + type: string + workerName: + type: string type: object util.Response: properties: @@ -1950,6 +2004,37 @@ summary: 淇濆瓨浜ч噺鐧昏琛� tags: - 鐢熶骇绠$悊/浜ч噺鐧昏琛� + /api-jl/v1/forms/salaryReportForms: + post: + parameters: + - description: 鍙傛暟 + in: body + name: object + required: true + schema: + $ref: '#/definitions/request.SalaryReportForms' + - 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/response.SalaryReportForms' + type: array + type: object + summary: 钖祫鎶ヨ〃 + tags: + - 鎶ヨ〃绠$悊 /api-jl/v1/mentor/createMentorInfo: post: parameters: -- Gitblit v1.8.0