liujiandao
2024-04-23 adb8a4d6c2806beae1ac97af7f71c8a3ce3ed0c9
docs/swagger.yaml
@@ -535,9 +535,6 @@
        type: integer
      id:
        type: integer
      name:
        description: 车间
        type: string
      startDate:
        description: 开始日期
        type: string
@@ -553,9 +550,15 @@
      workerId:
        description: 工人ID
        type: string
      workshop:
        description: 车间编号
        type: string
      workshopGroup:
        description: 车组
        type: integer
      workshopName:
        description: 车间名称
        type: string
    type: object
  models.WorkshopManage:
    properties:
@@ -803,11 +806,14 @@
        description: 工人ID
        type: string
      workshop:
        description: 车间
        description: 车间编号
        type: string
      workshopGroup:
        description: 车组
        type: integer
      workshopName:
        description: 车间名称
        type: string
    required:
    - endDate
    - endWorkerPosition
@@ -816,6 +822,7 @@
    - workerId
    - workshop
    - workshopGroup
    - workshopName
    type: object
  request.ChangeYieldRegister:
    properties:
@@ -1031,6 +1038,22 @@
          $ref: '#/definitions/request.RankStandard'
        type: array
    type: object
  request.UpdateAttendance:
    properties:
      date:
        description: 日期
        type: string
      overTimeDuration:
        description: 加班时长
        type: number
      status:
        allOf:
        - $ref: '#/definitions/constvar.AttendanceStatus'
        description: 状态
      workerId:
        description: 人员id
        type: string
    type: object
  request.UpdateDict:
    properties:
      dictType:
@@ -1083,11 +1106,14 @@
        description: 工人ID
        type: string
      workshop:
        description: 车间
        description: 车间编号
        type: string
      workshopGroup:
        description: 车组
        type: integer
      workshopName:
        description: 车间名称
        type: string
    required:
    - endDate
    - endWorkerPosition
@@ -1096,6 +1122,7 @@
    - workerId
    - workshop
    - workshopGroup
    - workshopName
    type: object
  request.YieldRegisterCircleInfo:
    properties:
@@ -1513,6 +1540,30 @@
      summary: 保存加班规则
      tags:
      - 考勤管理
  /api-jl/v1/attendance/updateAttendance:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateAttendance'
      - 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/fineness/changeYieldRegister:
    post:
      parameters: