definitions:
|
constvar.AttendanceStatus:
|
enum:
|
- 1
|
- 2
|
- 3
|
- 4
|
type: integer
|
x-enum-comments:
|
Abnormal: 异常
|
Normal: 正常
|
Overtime: 加班
|
Vacation: 休假
|
x-enum-varnames:
|
- Normal
|
- Overtime
|
- Vacation
|
- Abnormal
|
constvar.CarFlag:
|
enum:
|
- 1
|
- 2
|
type: integer
|
x-enum-comments:
|
LeftHalfCar: 左半车
|
RightHalfCar: 右半车
|
x-enum-varnames:
|
- LeftHalfCar
|
- RightHalfCar
|
constvar.CheckItem:
|
enum:
|
- 1
|
- 2
|
- 3
|
- 4
|
- 5
|
type: integer
|
x-enum-comments:
|
CheckItemCleanliness: 清洁分
|
CheckItemDeviation: 纤度偏差
|
CheckItemMaxDeviation: 最大偏差
|
CheckItemPurity: 洁净分
|
CheckItemTwiceChange: 二次变化
|
x-enum-varnames:
|
- CheckItemDeviation
|
- CheckItemTwiceChange
|
- CheckItemCleanliness
|
- CheckItemPurity
|
- CheckItemMaxDeviation
|
constvar.DictType:
|
enum:
|
- 1
|
- 2
|
- 3
|
- 4
|
- 5
|
type: integer
|
x-enum-comments:
|
DictTypeColor: 颜色
|
DictTypeMarket: 庄口
|
DictTypeSpec: 规格
|
DictTypeSubsidy: 补贴
|
DictTypeWorkshop: 车间
|
x-enum-varnames:
|
- DictTypeMarket
|
- DictTypeWorkshop
|
- DictTypeColor
|
- DictTypeSpec
|
- DictTypeSubsidy
|
constvar.FileTemplateCategory:
|
enum:
|
- 1
|
- 2
|
type: integer
|
x-enum-comments:
|
FileTemplateCategory_Output: 出库
|
FileTemplateCategory_Selfmade: 入库-自制
|
x-enum-varnames:
|
- FileTemplateCategory_Selfmade
|
- FileTemplateCategory_Output
|
constvar.JobType:
|
enum:
|
- weavers
|
- car_head
|
- maintenance
|
- boiled
|
- scoop
|
- transport
|
- cleaner
|
- machine_cleaner
|
- all-powerful
|
- monitor
|
type: string
|
x-enum-comments:
|
JobTypeAllPowerful: 全能机动
|
JobTypeBoiled: 煮茧工
|
JobTypeCarHead: 车头工
|
JobTypeCleaner: 清洁工
|
JobTypeMachineCleaner: 感知器清洗工
|
JobTypeMaintenance: 保全工
|
JobTypeMonitor: 班长
|
JobTypeScoop: 舀茧工
|
JobTypeTransport: 送茧工
|
JobTypeWeavers: 挡车工
|
x-enum-varnames:
|
- JobTypeWeavers
|
- JobTypeCarHead
|
- JobTypeMaintenance
|
- JobTypeBoiled
|
- JobTypeScoop
|
- JobTypeTransport
|
- JobTypeCleaner
|
- JobTypeMachineCleaner
|
- JobTypeAllPowerful
|
- JobTypeMonitor
|
constvar.MiniDictType:
|
enum:
|
- 1
|
- 2
|
- 3
|
- 4
|
- 5
|
- 6
|
- 7
|
- 8
|
- 9
|
- 10
|
type: integer
|
x-enum-comments:
|
Absenteeism: 缺勤
|
EarlyWarningDay: 预警天数
|
InspectionWayType: 质检方式类型
|
MiniDictTypeBomVersionType: Bom版本类型
|
MiniDictTypePlcBrand: PLC品牌
|
OutsourcingSupplierCreditGrade: 信用等级
|
OutsourcingSupplierRange: 供货范围
|
OutsourcingSupplierType: 委外供应商类型
|
SalaryType: 嘉联薪资类型
|
WildSilk: 野纤
|
x-enum-varnames:
|
- MiniDictTypePlcBrand
|
- MiniDictTypeBomVersionType
|
- EarlyWarningDay
|
- InspectionWayType
|
- OutsourcingSupplierType
|
- OutsourcingSupplierCreditGrade
|
- OutsourcingSupplierRange
|
- SalaryType
|
- WildSilk
|
- Absenteeism
|
constvar.WorkerStatus:
|
enum:
|
- 1
|
- 2
|
- 3
|
- 4
|
type: integer
|
x-enum-comments:
|
WorkerStatusHoliday: 请假
|
WorkerStatusOvertime: 加班
|
WorkerStatusRest: 休息
|
WorkerStatusWorking: 在班
|
x-enum-varnames:
|
- WorkerStatusWorking
|
- WorkerStatusRest
|
- WorkerStatusHoliday
|
- WorkerStatusOvertime
|
constvar.WorkshopType:
|
enum:
|
- 1
|
- 2
|
type: integer
|
x-enum-comments:
|
Group: 分组信息
|
Workshop: 车间信息
|
x-enum-varnames:
|
- Workshop
|
- Group
|
gorm.DeletedAt:
|
properties:
|
time:
|
type: string
|
valid:
|
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
|
overTimeDuration:
|
type: number
|
phoneNum:
|
type: string
|
startWorkTime:
|
type: string
|
status:
|
$ref: '#/definitions/constvar.AttendanceStatus'
|
updatedAt:
|
type: string
|
workType:
|
$ref: '#/definitions/models.WorkTypeManage'
|
workTypeId:
|
type: integer
|
workerId:
|
type: string
|
workerName:
|
type: string
|
type: object
|
models.AttendanceRule:
|
properties:
|
createdAt:
|
type: string
|
deletedAt:
|
$ref: '#/definitions/gorm.DeletedAt'
|
id:
|
type: integer
|
overTimeStart:
|
type: number
|
restDayRule:
|
type: integer
|
restDayStart:
|
type: number
|
updatedAt:
|
type: string
|
weekdayRule:
|
type: integer
|
type: object
|
models.Dict:
|
properties:
|
createdAt:
|
type: string
|
deletedAt:
|
$ref: '#/definitions/gorm.DeletedAt'
|
dictType:
|
allOf:
|
- $ref: '#/definitions/constvar.DictType'
|
description: 字典类型
|
id:
|
type: integer
|
name:
|
description: 名称
|
type: string
|
number:
|
description: 编号
|
type: string
|
remark:
|
description: 备注
|
type: string
|
updatedAt:
|
type: string
|
type: object
|
models.FinenessCheck:
|
properties:
|
averageFineness:
|
description: 平均纤度
|
type: number
|
cleanliness:
|
description: 清洁度
|
type: number
|
createdAt:
|
type: string
|
deletedAt:
|
$ref: '#/definitions/gorm.DeletedAt'
|
deviation:
|
description: 偏差
|
type: number
|
finenessGrade:
|
description: 纤度等级
|
type: string
|
finenessRegister:
|
allOf:
|
- $ref: '#/definitions/models.FinenessRegister'
|
description: 纤度登记
|
finenessRegisterID:
|
description: 纤度登记表ID
|
type: integer
|
id:
|
type: integer
|
inspector:
|
description: 检验员
|
type: string
|
marketProcessOrderNumber:
|
description: 庄口工艺单编号
|
type: string
|
measureFineness:
|
description: 公量纤度
|
type: number
|
purity:
|
description: 洁净度
|
type: number
|
totalDeviation:
|
description: 总差
|
type: number
|
twiceChange:
|
description: 二度变化
|
type: number
|
updatedAt:
|
type: string
|
type: object
|
models.FinenessCheckItem:
|
properties:
|
cleanliness:
|
description: 清洁度
|
type: number
|
createdAt:
|
type: string
|
deletedAt:
|
$ref: '#/definitions/gorm.DeletedAt'
|
deviation:
|
description: 偏差
|
type: number
|
finenessCheckID:
|
description: 纤度检验表ID
|
type: integer
|
finenessGrade:
|
description: 纤度等级
|
type: string
|
finenessRegisterID:
|
description: 纤度登记表ID
|
type: integer
|
finenessRoundingItems:
|
description: 纤度列表
|
items:
|
$ref: '#/definitions/models.FinenessRoundingItem'
|
type: array
|
id:
|
type: integer
|
position:
|
description: 车号
|
type: integer
|
purity:
|
description: 洁净度
|
type: number
|
remark:
|
description: 备注
|
type: string
|
totalDeviation:
|
description: 总差
|
type: number
|
twiceChange:
|
description: 二度变化
|
type: number
|
updatedAt:
|
type: string
|
type: object
|
models.FinenessItem:
|
properties:
|
createdAt:
|
type: string
|
deletedAt:
|
$ref: '#/definitions/gorm.DeletedAt'
|
fineness:
|
description: 纤度
|
type: number
|
finenessRegisterID:
|
description: 纤度登记ID
|
type: integer
|
id:
|
type: integer
|
position:
|
description: 车号
|
type: integer
|
quantity:
|
description: 数量
|
type: integer
|
sum:
|
description: 纤度合计
|
type: number
|
updatedAt:
|
type: string
|
type: object
|
models.FinenessRegister:
|
properties:
|
circle:
|
description: 回数
|
type: integer
|
createdAt:
|
type: string
|
deletedAt:
|
$ref: '#/definitions/gorm.DeletedAt'
|
finenessCheckID:
|
description: 纤度检验表ID
|
type: integer
|
finenessList:
|
items:
|
$ref: '#/definitions/models.FinenessItem'
|
type: array
|
finishDate:
|
description: 落丝时间
|
type: string
|
id:
|
type: integer
|
market:
|
description: 庄口名称
|
type: string
|
marketId:
|
description: 庄口ID
|
type: integer
|
marketNumber:
|
description: 庄口编号
|
type: string
|
number:
|
description: 编号
|
type: string
|
position:
|
description: 最后一个车号
|
type: integer
|
spec:
|
description: 规格
|
type: string
|
sumFineness:
|
type: number
|
sumQuantity:
|
type: number
|
totalCircle:
|
description: 总回数
|
type: integer
|
updatedAt:
|
type: string
|
workshopGroup:
|
description: 车组
|
type: integer
|
workshopName:
|
description: 车间名称
|
type: string
|
workshopNumber:
|
description: 车间编号
|
type: string
|
type: object
|
models.FinenessRoundingItem:
|
properties:
|
fineness:
|
description: 纤度
|
type: number
|
quantity:
|
description: 数量
|
type: integer
|
type: object
|
models.Mentor:
|
properties:
|
createdAt:
|
type: string
|
creator:
|
type: string
|
days:
|
description: 天数
|
type: integer
|
deletedAt:
|
$ref: '#/definitions/gorm.DeletedAt'
|
id:
|
type: integer
|
month:
|
description: 月份
|
type: string
|
updatedAt:
|
type: string
|
worker:
|
allOf:
|
- $ref: '#/definitions/models.Worker'
|
description: 工人
|
workerId:
|
description: 工人ID
|
type: string
|
type: object
|
models.MiniDict:
|
properties:
|
id:
|
type: integer
|
isDefault:
|
type: boolean
|
name:
|
type: string
|
type:
|
$ref: '#/definitions/constvar.MiniDictType'
|
value:
|
type: string
|
type: object
|
models.PayrollProductionCar:
|
properties:
|
badSilkQuantity:
|
description: 野纤数量
|
type: number
|
badSilkTotalAmount:
|
description: 野纤总价
|
type: number
|
badSilkTotalAvgAmount:
|
description: 野纤人平均总价
|
type: number
|
badSilkType:
|
description: 野纤类型
|
type: string
|
badSilkUnitAmount:
|
description: 野纤单价
|
type: number
|
carNumber:
|
description: 车台号
|
type: integer
|
carWorkIds:
|
description: 车台关联挡车工ID
|
type: string
|
carWorkQuantity:
|
description: 车台关联人员数量
|
type: integer
|
cycle:
|
description: 统计周期(年月日)
|
type: string
|
desiredLevel:
|
description: 期望等级
|
type: string
|
fallingSilkBucket:
|
description: 落丝桶数
|
type: number
|
finishLevel:
|
description: 成品等级
|
type: string
|
finishTotalAmount:
|
description: 成品金额
|
type: number
|
finishTotalAvgAmount:
|
description: 成品人平均金额
|
type: number
|
groupNumber:
|
description: 组别
|
type: integer
|
id:
|
type: integer
|
marketId:
|
description: 庄口编号
|
type: integer
|
marketName:
|
description: 庄口名称
|
type: string
|
marketNumber:
|
description: 庄口编号
|
type: string
|
silkAvgQuantity:
|
description: 人平均丝量
|
type: number
|
silkQuantity:
|
description: 丝量
|
type: number
|
silkTotalAmount:
|
description: 丝量总价
|
type: number
|
silkTotalAvgAmount:
|
description: 丝量人平均总价
|
type: number
|
silkUnitAmount:
|
description: 丝单价
|
type: number
|
spec:
|
description: 规格
|
type: string
|
workshopNumber:
|
description: 车间编号
|
type: string
|
type: object
|
models.PayrollProductionGroup:
|
properties:
|
badSilkQuantity:
|
description: 野纤数量
|
type: number
|
badSilkTotalAmount:
|
description: 野纤总价
|
type: number
|
badSilkTotalAvgAmount:
|
description: 野纤人平均总价
|
type: number
|
cycle:
|
description: 统计周期(年月日)
|
type: string
|
fallingSilkBucket:
|
type: number
|
finishTotalAmount:
|
description: 成品金额
|
type: number
|
finishTotalAvgAmount:
|
description: 成品人平均金额
|
type: number
|
groupNumber:
|
description: 组别
|
type: integer
|
id:
|
type: integer
|
silkAvgQuantity:
|
description: 人平均丝量
|
type: number
|
silkQuantity:
|
description: 丝量
|
type: number
|
silkTotalAmount:
|
description: 丝量总价
|
type: number
|
silkTotalAvgAmount:
|
description: 丝量人平均总价
|
type: number
|
workshopName:
|
description: 车间名称
|
type: string
|
workshopNumber:
|
description: 车间编号
|
type: string
|
type: object
|
models.PayrollSalaryPlan:
|
properties:
|
amount:
|
description: 应发工资
|
type: number
|
baseSalaryAmount:
|
description: 不达保底
|
type: number
|
cycle:
|
description: 月份
|
type: string
|
dailyInspectionAmount:
|
description: 日常检查/奖罚3
|
type: number
|
downtimeAmount:
|
description: 停机补贴
|
type: number
|
heatAmount:
|
description: 奖罚2/清凉补贴
|
type: number
|
id:
|
type: integer
|
longTermAmount:
|
description: 满勤
|
type: number
|
masterApprenticeAmount:
|
description: 带徒补贴
|
type: number
|
overtimeAmount:
|
description: 加班工资
|
type: number
|
positionAmount:
|
description: 岗位补贴
|
type: number
|
productionAmount:
|
description: 生产工资
|
type: number
|
qualityStandardsAmount:
|
description: 质量奖
|
type: number
|
quantity:
|
description: 产量
|
type: number
|
remark:
|
description: 备注
|
type: string
|
seniorityAmount:
|
description: 工龄补贴
|
type: number
|
socialSecurityAmount:
|
description: 社保补贴
|
type: number
|
substandardQualityAmount:
|
description: 奖罚1
|
type: number
|
timeoutAmount:
|
description: 超时工资
|
type: number
|
trafficAmount:
|
description: 交通补贴
|
type: number
|
workTypeCode:
|
allOf:
|
- $ref: '#/definitions/constvar.JobType'
|
description: 工种代码
|
workTypeID:
|
description: 工种ID
|
type: integer
|
workTypeName:
|
description: 工种名称
|
type: string
|
worker:
|
$ref: '#/definitions/models.Worker'
|
workerId:
|
description: 员工ID
|
type: string
|
workerName:
|
type: string
|
type: object
|
models.RawSilkPriceStandard:
|
properties:
|
createdAt:
|
type: string
|
deletedAt:
|
$ref: '#/definitions/gorm.DeletedAt'
|
id:
|
type: integer
|
marketId:
|
type: integer
|
marketName:
|
type: string
|
marketNumber:
|
type: string
|
notes:
|
type: string
|
payStandard:
|
type: number
|
rawSilkGrade:
|
type: string
|
unit:
|
type: string
|
updatedAt:
|
type: string
|
type: object
|
models.SalaryPlan:
|
properties:
|
addPeople:
|
type: string
|
createTime:
|
type: string
|
createdAt:
|
type: string
|
cycle:
|
type: string
|
deletedAt:
|
$ref: '#/definitions/gorm.DeletedAt'
|
id:
|
type: integer
|
name:
|
type: string
|
salaryFormula:
|
description: SalaryType string `json:"salaryType" gorm:"type:varchar(255);comment:薪资类型"`
|
type: string
|
salaryType:
|
$ref: '#/definitions/models.MiniDict'
|
salaryTypeId:
|
type: integer
|
updatedAt:
|
type: string
|
workTypes:
|
items:
|
$ref: '#/definitions/models.WorkTypeManage'
|
type: array
|
type: object
|
models.WorkTypeManage:
|
properties:
|
addPeople:
|
type: string
|
code:
|
$ref: '#/definitions/constvar.JobType'
|
createTime:
|
type: string
|
createdAt:
|
type: string
|
deletedAt:
|
$ref: '#/definitions/gorm.DeletedAt'
|
guaranteedWages:
|
type: number
|
id:
|
type: integer
|
isGuaranteed:
|
type: boolean
|
salaryPlans:
|
items:
|
$ref: '#/definitions/models.SalaryPlan'
|
type: array
|
updatedAt:
|
type: string
|
workName:
|
type: string
|
type: object
|
models.Worker:
|
properties:
|
addPeople:
|
type: string
|
deletedAt:
|
$ref: '#/definitions/gorm.DeletedAt'
|
employmentTime:
|
type: string
|
groupNumber:
|
type: integer
|
id:
|
type: string
|
name:
|
type: string
|
phoneNum:
|
type: string
|
shopId:
|
type: string
|
shopName:
|
type: string
|
status:
|
$ref: '#/definitions/constvar.WorkerStatus'
|
workType:
|
type: string
|
workTypeCode:
|
$ref: '#/definitions/constvar.JobType'
|
workTypeId:
|
type: integer
|
type: object
|
models.WorkerPosition:
|
properties:
|
createdAt:
|
type: string
|
creator:
|
type: string
|
deletedAt:
|
$ref: '#/definitions/gorm.DeletedAt'
|
endDate:
|
description: 结束日期
|
type: string
|
endWorkerPosition:
|
description: 结束车号
|
type: integer
|
id:
|
type: integer
|
startDate:
|
description: 开始日期
|
type: string
|
startWorkerPosition:
|
description: 开始车号
|
type: integer
|
updatedAt:
|
type: string
|
worker:
|
allOf:
|
- $ref: '#/definitions/models.Worker'
|
description: 工人
|
workerId:
|
description: 工人ID
|
type: string
|
workshop:
|
description: 车间编号
|
type: string
|
workshopGroup:
|
description: 车组
|
type: integer
|
workshopName:
|
description: 车间名称
|
type: string
|
type: object
|
models.WorkshopManage:
|
properties:
|
carFlag:
|
type: integer
|
createdAt:
|
type: string
|
deletedAt:
|
$ref: '#/definitions/gorm.DeletedAt'
|
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
|
models.YieldRegister:
|
properties:
|
bucketCocoonNumber:
|
type: number
|
circle:
|
type: integer
|
circles:
|
items:
|
$ref: '#/definitions/models.YieldRegisterCircle'
|
type: array
|
createTime:
|
type: string
|
createdAt:
|
type: string
|
deletedAt:
|
$ref: '#/definitions/gorm.DeletedAt'
|
fallingSilkBucketOne:
|
type: number
|
fallingSilkBucketThree:
|
type: number
|
fallingSilkBucketTwo:
|
type: number
|
fallingSilkCocoonNumber:
|
type: number
|
groupNumber:
|
type: integer
|
groupReelingdiscount:
|
type: string
|
hourYield:
|
type: number
|
id:
|
type: integer
|
items:
|
items:
|
$ref: '#/definitions/models.YieldRegisterItem'
|
type: array
|
jieZhuang:
|
type: string
|
level:
|
type: string
|
marketId:
|
type: integer
|
marketName:
|
description: 庄口名
|
type: string
|
marketNumber:
|
description: 庄口编号
|
type: string
|
number:
|
type: string
|
oneBack:
|
type: string
|
record:
|
type: number
|
selectOne:
|
type: boolean
|
selectThree:
|
type: boolean
|
selectTwo:
|
type: boolean
|
spec:
|
type: string
|
theorySilkAmount:
|
type: number
|
threeBack:
|
type: string
|
timeJia:
|
type: string
|
timeYi:
|
type: string
|
total:
|
type: number
|
twoBack:
|
type: string
|
updatedAt:
|
type: string
|
vehicleSpeed:
|
type: number
|
workshopName:
|
description: 车间名
|
type: string
|
workshopNumber:
|
type: string
|
type: object
|
models.YieldRegisterCircle:
|
properties:
|
allYield:
|
type: number
|
carNumber:
|
type: integer
|
circle:
|
type: integer
|
createdAt:
|
type: string
|
deletedAt:
|
$ref: '#/definitions/gorm.DeletedAt'
|
id:
|
type: integer
|
oneYield:
|
type: number
|
pieceNumber:
|
type: integer
|
reelingdiscount:
|
type: string
|
updatedAt:
|
type: string
|
value:
|
type: number
|
yieldRegisterId:
|
type: integer
|
type: object
|
models.YieldRegisterItem:
|
properties:
|
carNumber:
|
type: integer
|
createdAt:
|
type: string
|
deletedAt:
|
$ref: '#/definitions/gorm.DeletedAt'
|
hourYield:
|
type: number
|
id:
|
type: integer
|
oneYield:
|
type: number
|
peopleYield:
|
type: number
|
personReelingdiscount:
|
type: string
|
updatedAt:
|
type: string
|
yieldRegisterId:
|
type: integer
|
type: object
|
request.AddDict:
|
properties:
|
dictType:
|
allOf:
|
- $ref: '#/definitions/constvar.DictType'
|
description: 字典类型
|
name:
|
description: 名称
|
type: string
|
number:
|
description: 编码
|
type: string
|
remark:
|
description: 备注
|
type: string
|
type: object
|
request.AddFinenessRegister:
|
properties:
|
circle:
|
description: 回数
|
type: integer
|
finenessList:
|
description: 纤度数组
|
items:
|
$ref: '#/definitions/request.FinenessItem'
|
type: array
|
finishDate:
|
description: 落丝时间
|
type: string
|
id:
|
description: id 添加时传0
|
type: integer
|
market:
|
description: 庄口
|
type: string
|
number:
|
description: 编号
|
type: string
|
position:
|
description: 最后一个车号
|
type: integer
|
spec:
|
description: 规格
|
type: string
|
sumFineness:
|
description: 合计纤度
|
type: number
|
sumQuantity:
|
description: 合计数量
|
type: number
|
totalCircle:
|
description: 总回数
|
type: integer
|
workshopGroup:
|
description: 车组
|
type: integer
|
workshopName:
|
type: string
|
workshopNumber:
|
type: string
|
type: object
|
request.AddMentorRequest:
|
properties:
|
days:
|
description: 天数
|
type: integer
|
month:
|
description: 月份
|
type: string
|
workerId:
|
description: 工人ID
|
type: string
|
type: object
|
request.AddWorkPositionRequest:
|
properties:
|
endDate:
|
description: 结束日期
|
type: string
|
endWorkerPosition:
|
description: 结束车号
|
type: integer
|
startDate:
|
description: 开始日期
|
type: string
|
startWorkerPosition:
|
description: 开始车号
|
type: integer
|
workerId:
|
description: 工人ID
|
type: string
|
workshop:
|
description: 车间编号
|
type: string
|
workshopGroup:
|
description: 车组
|
type: integer
|
workshopName:
|
description: 车间名称
|
type: string
|
required:
|
- endDate
|
- endWorkerPosition
|
- startDate
|
- startWorkerPosition
|
- workerId
|
- workshop
|
- 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:
|
description: 创建时间
|
type: string
|
groupNumber:
|
description: 组别
|
type: integer
|
marketId:
|
description: 庄口id
|
type: integer
|
spec:
|
description: 规格
|
type: string
|
workshopNumber:
|
description: 车间编码
|
type: string
|
type: object
|
request.DeleteAttendanceInfo:
|
properties:
|
ids:
|
description: 记录id
|
items:
|
type: integer
|
type: array
|
type: object
|
request.DynamicsRank:
|
properties:
|
rankName:
|
description: 等级名称
|
type: string
|
rankProp:
|
description: 前缀key
|
type: string
|
rankValue:
|
description: 等级值
|
type: number
|
type: object
|
request.FinenessItem:
|
properties:
|
fineness:
|
description: 纤度
|
type: number
|
position:
|
description: 车号
|
type: integer
|
quantity:
|
description: 数量
|
type: integer
|
sum:
|
description: 合计
|
type: number
|
type: object
|
request.GetAttendanceList:
|
properties:
|
keyword:
|
type: string
|
page:
|
description: 页码
|
type: integer
|
pageSize:
|
description: 每页大小
|
type: integer
|
type: object
|
request.GetAttendanceStatistic:
|
properties:
|
keyword:
|
type: string
|
month:
|
description: 月份
|
type: string
|
type: object
|
request.GetMentorList:
|
properties:
|
keyword:
|
type: string
|
page:
|
description: 页码
|
type: integer
|
pageSize:
|
description: 每页大小
|
type: integer
|
type: object
|
request.GetSalaryPlanList:
|
properties:
|
keyword:
|
type: string
|
page:
|
description: 页码
|
type: integer
|
pageSize:
|
description: 每页大小
|
type: integer
|
type: object
|
request.GetWorkTypeList:
|
properties:
|
keyword:
|
type: string
|
page:
|
description: 页码
|
type: integer
|
pageSize:
|
description: 每页大小
|
type: integer
|
type: object
|
request.GetWorkerList:
|
properties:
|
keyword:
|
type: string
|
page:
|
description: 页码
|
type: integer
|
pageSize:
|
description: 每页大小
|
type: integer
|
type: object
|
request.GetWorkerPositionList:
|
properties:
|
keyword:
|
type: string
|
page:
|
description: 页码
|
type: integer
|
pageSize:
|
description: 每页大小
|
type: integer
|
type: object
|
request.GetWorkshopManageCar:
|
properties:
|
groupNumber:
|
description: 组别
|
type: integer
|
marketName:
|
description: 庄口名
|
type: string
|
workshopName:
|
description: 车间名称
|
type: string
|
workshopNumber:
|
description: 车间编号
|
type: string
|
type: object
|
request.GetYieldRegisterList:
|
properties:
|
keyWord:
|
type: string
|
number:
|
description: 产量登记表编号
|
type: string
|
page:
|
description: 页码
|
type: integer
|
pageSize:
|
description: 每页大小
|
type: integer
|
type: object
|
request.PieceInfo:
|
properties:
|
pieceNumber:
|
type: integer
|
value:
|
type: number
|
type: object
|
request.RankStandard:
|
properties:
|
checkItem:
|
allOf:
|
- $ref: '#/definitions/constvar.CheckItem'
|
description: 检查项目名称
|
dynamicsRanks:
|
items:
|
$ref: '#/definitions/request.DynamicsRank'
|
type: array
|
endFineness:
|
description: 结束纤度
|
type: number
|
lineId:
|
description: 行id
|
type: string
|
rankA:
|
description: 野纤
|
type: number
|
rankB:
|
description: 大野
|
type: number
|
rankC:
|
description: 特野
|
type: number
|
startFineness:
|
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:
|
allOf:
|
- $ref: '#/definitions/constvar.MiniDictType'
|
description: 字典类型,薪资类型:8
|
values:
|
items:
|
$ref: '#/definitions/request.SalaryTypeValue'
|
type: array
|
type: object
|
request.SalaryTypeValue:
|
properties:
|
id:
|
type: integer
|
isDefault:
|
description: 是否可编辑
|
type: boolean
|
name:
|
description: 名称
|
type: string
|
type: object
|
request.SaveRankStandard:
|
properties:
|
rankStandard:
|
items:
|
$ref: '#/definitions/request.RankStandard'
|
type: array
|
type: object
|
request.TemplateCategoryRequest:
|
properties:
|
category:
|
$ref: '#/definitions/constvar.FileTemplateCategory'
|
type: object
|
request.UpdateAttendance:
|
properties:
|
classes:
|
description: 班次
|
type: string
|
classesEndTime:
|
description: 班次下班时间
|
type: string
|
classesStartTime:
|
description: 班次开始时间
|
type: string
|
date:
|
description: 日期
|
type: string
|
endWorkTime:
|
description: 下班打卡时间
|
type: string
|
overTimeDuration:
|
description: 加班时长
|
type: number
|
startWorkTime:
|
description: 上班打卡时间
|
type: string
|
status:
|
allOf:
|
- $ref: '#/definitions/constvar.AttendanceStatus'
|
description: 状态
|
workTypeId:
|
description: 工种id
|
type: integer
|
workerId:
|
description: 人员id
|
type: string
|
workerName:
|
description: 人员姓名
|
type: string
|
type: object
|
request.UpdateDict:
|
properties:
|
dictType:
|
allOf:
|
- $ref: '#/definitions/constvar.DictType'
|
description: 字典类型
|
id:
|
type: integer
|
name:
|
description: 名称
|
type: string
|
number:
|
description: 编码
|
type: string
|
remark:
|
description: 备注
|
type: string
|
type: object
|
request.UpdateMentorRequest:
|
properties:
|
days:
|
description: 天数
|
type: integer
|
id:
|
type: integer
|
month:
|
description: 月份
|
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:
|
properties:
|
endDate:
|
description: 结束日期
|
type: string
|
endWorkerPosition:
|
description: 结束车号
|
type: integer
|
id:
|
type: integer
|
startDate:
|
description: 开始日期
|
type: string
|
startWorkerPosition:
|
description: 开始车号
|
type: integer
|
workerId:
|
description: 工人ID
|
type: string
|
workshop:
|
description: 车间编号
|
type: string
|
workshopGroup:
|
description: 车组
|
type: integer
|
workshopName:
|
description: 车间名称
|
type: string
|
required:
|
- endDate
|
- endWorkerPosition
|
- startDate
|
- startWorkerPosition
|
- workerId
|
- workshop
|
- workshopGroup
|
- workshopName
|
type: object
|
request.YieldRegisterCircleInfo:
|
properties:
|
allYield:
|
description: 产量
|
type: number
|
carNumber:
|
description: 车号
|
type: integer
|
circle:
|
description: 回数
|
type: integer
|
oneYield:
|
description: 台产
|
type: number
|
pieceNumbers:
|
description: 片数信息
|
items:
|
$ref: '#/definitions/request.PieceInfo'
|
type: array
|
reelingdiscount:
|
description: 缫折
|
type: string
|
yieldRegisterId:
|
description: 产量登记表id
|
type: integer
|
type: object
|
request.YieldRegisterInfo:
|
properties:
|
bucketCocoonNumber:
|
description: 每桶茧数
|
type: number
|
circle:
|
description: 回数
|
type: integer
|
circles:
|
items:
|
$ref: '#/definitions/request.YieldRegisterCircleInfo'
|
type: array
|
createTime:
|
description: 创建时间
|
type: string
|
fallingSilkBucketOne:
|
description: 落丝桶数1
|
type: number
|
fallingSilkBucketThree:
|
description: 落丝桶数3
|
type: number
|
fallingSilkBucketTwo:
|
description: 落丝桶数2
|
type: number
|
fallingSilkCocoonNumber:
|
description: 落丝茧数
|
type: number
|
groupNumber:
|
description: 组别
|
type: integer
|
groupReelingdiscount:
|
description: 车组缫折
|
type: string
|
hourYield:
|
description: 台时产量
|
type: number
|
id:
|
type: integer
|
items:
|
items:
|
$ref: '#/definitions/request.YieldRegisterItemInfo'
|
type: array
|
jieZhuang:
|
description: 是否结庄
|
type: string
|
level:
|
description: 等级
|
type: string
|
marketId:
|
description: 庄口id
|
type: integer
|
marketNumber:
|
description: 庄口编号
|
type: string
|
number:
|
description: 编号
|
type: string
|
oneBack:
|
description: 第一回
|
type: string
|
record:
|
description: 生产用时
|
type: number
|
selectOne:
|
description: 落丝桶数1选中
|
type: boolean
|
selectThree:
|
description: 落丝桶数3选中
|
type: boolean
|
selectTwo:
|
description: 落丝桶数2选中
|
type: boolean
|
spec:
|
description: 规格
|
type: string
|
theorySilkAmount:
|
description: 理论丝量
|
type: number
|
threeBack:
|
description: 第三回
|
type: string
|
timeJia:
|
description: 甲班时间
|
type: string
|
timeYi:
|
description: 乙班时间
|
type: string
|
total:
|
description: 总产量
|
type: number
|
twoBack:
|
description: 第二回
|
type: string
|
vehicleSpeed:
|
description: 实时车速
|
type: number
|
workshopNumber:
|
description: 车间编码
|
type: string
|
type: object
|
request.YieldRegisterItemInfo:
|
properties:
|
carNumber:
|
description: 车号
|
type: integer
|
hourYield:
|
description: 台时产量
|
type: number
|
oneYield:
|
description: 台产量
|
type: number
|
peopleYield:
|
description: 个人产量
|
type: number
|
personReelingdiscount:
|
description: 个人缫折
|
type: string
|
yieldRegisterId:
|
description: 产量登记表id
|
type: integer
|
type: object
|
response.AttendanceDetail:
|
properties:
|
classes:
|
description: 班次
|
type: string
|
classesEndTime:
|
description: 班次下班时间
|
type: string
|
classesStartTime:
|
description: 班次开始时间
|
type: string
|
date:
|
description: 日期
|
type: integer
|
endWorkTime:
|
description: 下班打卡时间
|
type: string
|
startWorkTime:
|
description: 上班打卡时间
|
type: string
|
status:
|
allOf:
|
- $ref: '#/definitions/constvar.AttendanceStatus'
|
description: 状态
|
weekDay:
|
description: 星期
|
type: string
|
type: object
|
response.AttendanceList:
|
properties:
|
list:
|
items:
|
$ref: '#/definitions/response.AttendanceStatistic'
|
type: array
|
type: object
|
response.AttendanceStatistic:
|
properties:
|
actualAttendanceDays:
|
description: 实际出勤天数
|
type: integer
|
details:
|
description: 详情
|
items:
|
$ref: '#/definitions/response.AttendanceDetail'
|
type: array
|
month:
|
description: 月份
|
type: string
|
requiredAttendanceDays:
|
description: 应出勤天数
|
type: integer
|
restDayOverTime:
|
description: 休息日加班时长
|
type: number
|
weekdayOverTime:
|
description: 工作日加班时长
|
type: number
|
workType:
|
description: 工种
|
type: string
|
workTypeId:
|
description: 工种id
|
type: integer
|
workerId:
|
description: 人员id
|
type: string
|
workerName:
|
description: 人员姓名
|
type: string
|
type: object
|
response.CarAndLevel:
|
properties:
|
car:
|
items:
|
items:
|
type: integer
|
type: array
|
type: array
|
level:
|
type: string
|
type: object
|
response.DynamicsRank:
|
properties:
|
rankName:
|
description: 等级名称
|
type: string
|
rankProp:
|
description: 前缀key
|
type: string
|
rankValue:
|
description: 等级值
|
type: number
|
type: object
|
response.FinenessCheckInfo:
|
properties:
|
info:
|
$ref: '#/definitions/models.FinenessCheck'
|
items:
|
items:
|
$ref: '#/definitions/models.FinenessCheckItem'
|
type: array
|
type: object
|
response.RankStandard:
|
properties:
|
checkItem:
|
allOf:
|
- $ref: '#/definitions/constvar.CheckItem'
|
description: 检查项目名称
|
dynamicsRanks:
|
items:
|
$ref: '#/definitions/response.DynamicsRank'
|
type: array
|
endFineness:
|
description: 结束纤度
|
type: number
|
lineId:
|
description: 行id
|
type: string
|
rankA:
|
description: 野纤
|
type: number
|
rankB:
|
description: 大野
|
type: number
|
rankC:
|
description: 特野
|
type: number
|
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
|
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:
|
properties:
|
code:
|
type: integer
|
data: {}
|
msg:
|
type: string
|
type: object
|
util.ResponseList:
|
properties:
|
code:
|
type: integer
|
data: {}
|
msg:
|
type: string
|
page:
|
type: integer
|
pageSize:
|
type: integer
|
total: {}
|
type: object
|
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/attendance/getAttendanceRule:
|
get:
|
parameters:
|
- 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/getAttendanceStatistic:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.GetAttendanceStatistic'
|
- description: token
|
in: header
|
name: Authorization
|
required: true
|
type: string
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.Response'
|
- properties:
|
data:
|
$ref: '#/definitions/response.AttendanceList'
|
type: object
|
summary: 获取考勤统计
|
tags:
|
- 考勤管理
|
/api-jl/v1/attendance/getTemplate:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.TemplateCategoryRequest'
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
$ref: '#/definitions/util.Response'
|
summary: 获取模版列表
|
tags:
|
- 考勤管理
|
/api-jl/v1/attendance/saveAttendanceRule:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/models.AttendanceRule'
|
- 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/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:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.ChangeYieldRegister'
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.Response'
|
- properties:
|
data:
|
$ref: '#/definitions/models.YieldRegister'
|
type: object
|
summary: 切换产量登记表
|
tags:
|
- 生产管理/产量登记表
|
/api-jl/v1/fineness/check:
|
get:
|
parameters:
|
- description: 纤度登记表ID
|
in: query
|
name: finenessRegisterID
|
type: integer
|
- in: query
|
name: keyword
|
type: string
|
- description: 页码
|
in: query
|
name: page
|
type: integer
|
- description: 每页大小
|
in: query
|
name: pageSize
|
type: integer
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.ResponseList'
|
- properties:
|
data:
|
items:
|
$ref: '#/definitions/models.FinenessCheck'
|
type: array
|
type: object
|
summary: 纤度检验列表
|
tags:
|
- 纤度检验
|
put:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/response.FinenessCheckInfo'
|
- 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/check/{id}:
|
delete:
|
parameters:
|
- description: 字典信息
|
in: path
|
name: id
|
required: true
|
type: string
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
$ref: '#/definitions/util.Response'
|
summary: 纤度检验删除
|
tags:
|
- 纤度检验
|
get:
|
parameters:
|
- description: 纤度检验ID
|
in: path
|
name: id
|
required: true
|
type: string
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.ResponseList'
|
- properties:
|
data:
|
$ref: '#/definitions/response.FinenessCheckInfo'
|
type: object
|
summary: 纤度检验详情
|
tags:
|
- 纤度检验
|
/api-jl/v1/fineness/checkFinenessID/{id}:
|
get:
|
parameters:
|
- description: 纤度登记ID
|
in: path
|
name: id
|
required: true
|
type: string
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.ResponseList'
|
- properties:
|
data:
|
$ref: '#/definitions/response.FinenessCheckInfo'
|
type: object
|
summary: 根据纤度登记ID获取纤度检验详情
|
tags:
|
- 纤度检验
|
/api-jl/v1/fineness/deleteYieldRegister/{number}:
|
delete:
|
parameters:
|
- description: number
|
in: path
|
name: number
|
required: true
|
type: string
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
$ref: '#/definitions/util.Response'
|
summary: 删除产量登记表记录
|
tags:
|
- 生产管理/产量登记表
|
/api-jl/v1/fineness/getYieldRegisterInfo:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.GetYieldRegisterList'
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.Response'
|
- properties:
|
data:
|
$ref: '#/definitions/request.YieldRegisterInfo'
|
type: object
|
summary: 获取产量登记表详情
|
tags:
|
- 生产管理/产量登记表
|
/api-jl/v1/fineness/getYieldRegisterList:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.GetYieldRegisterList'
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.ResponseList'
|
- properties:
|
data:
|
items:
|
$ref: '#/definitions/models.YieldRegister'
|
type: array
|
type: object
|
summary: 获取产量登记表
|
tags:
|
- 生产管理/产量登记表
|
/api-jl/v1/fineness/register:
|
get:
|
parameters:
|
- description: 纤度登记表ID
|
in: query
|
name: finenessRegisterID
|
type: integer
|
- in: query
|
name: keyword
|
type: string
|
- description: 页码
|
in: query
|
name: page
|
type: integer
|
- description: 每页大小
|
in: query
|
name: pageSize
|
type: integer
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.ResponseList'
|
- properties:
|
data:
|
items:
|
$ref: '#/definitions/models.FinenessRegister'
|
type: array
|
type: object
|
summary: 纤度登记列表
|
tags:
|
- 纤度登记
|
post:
|
parameters:
|
- description: 字典信息
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.AddFinenessRegister'
|
- 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/register/{id}:
|
delete:
|
parameters:
|
- description: 字典信息
|
in: path
|
name: id
|
required: true
|
type: string
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
$ref: '#/definitions/util.Response'
|
summary: 纤度登记删除
|
tags:
|
- 纤度登记
|
get:
|
parameters:
|
- description: 字典信息
|
in: path
|
name: id
|
required: true
|
type: string
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.ResponseList'
|
- properties:
|
data:
|
$ref: '#/definitions/models.FinenessRegister'
|
type: object
|
summary: 纤度登记详情
|
tags:
|
- 纤度登记
|
/api-jl/v1/fineness/saveYieldRegister:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.YieldRegisterInfo'
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
$ref: '#/definitions/util.Response'
|
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/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:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.AddMentorRequest'
|
- 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/deleteMentorInfo/{id}:
|
delete:
|
parameters:
|
- description: id
|
in: path
|
name: id
|
required: true
|
type: string
|
- 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/getMentorList:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.GetMentorList'
|
- 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.Mentor'
|
type: array
|
type: object
|
summary: 获取带徒信息列表
|
tags:
|
- 带徒管理
|
/api-jl/v1/mentor/updateMentorInfo:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.UpdateMentorRequest'
|
- 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/salary/deleteSalaryPlanInfo/{id}:
|
delete:
|
parameters:
|
- description: id
|
in: path
|
name: id
|
required: true
|
type: string
|
- 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/salary/getPayrollProductionCarList:
|
get:
|
parameters:
|
- description: token
|
in: header
|
name: Authorization
|
required: true
|
type: string
|
- description: 车台号
|
in: query
|
name: carNumber
|
type: integer
|
- description: 统计周期(年-月-日)
|
in: query
|
name: cycle
|
type: string
|
- description: 等级
|
in: query
|
name: finishLevel
|
type: string
|
- description: 组别
|
in: query
|
name: groupNumber
|
type: integer
|
- description: 庄口编号
|
in: query
|
name: marketNumber
|
type: string
|
- description: 统计周期按月查询(年-月)
|
in: query
|
name: monthly
|
type: string
|
- description: 页码
|
in: query
|
name: page
|
type: integer
|
- description: 每页大小
|
in: query
|
name: pageSize
|
type: integer
|
- description: 规格
|
in: query
|
name: spec
|
type: string
|
- description: 车间编号
|
in: query
|
name: workshopNumber
|
type: string
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.ResponseList'
|
- properties:
|
data:
|
items:
|
$ref: '#/definitions/models.PayrollProductionCar'
|
type: array
|
type: object
|
summary: 获取车台每天的产量列表
|
tags:
|
- 员工薪资/薪酬方案
|
/api-jl/v1/salary/getPayrollProductionGroupList:
|
get:
|
parameters:
|
- description: token
|
in: header
|
name: Authorization
|
required: true
|
type: string
|
- description: 统计周期(年-月-日)
|
in: query
|
name: cycle
|
type: string
|
- description: 组别
|
in: query
|
name: groupNumber
|
type: integer
|
- description: 统计周期按月查询(年-月)
|
in: query
|
name: monthly
|
type: string
|
- description: 页码
|
in: query
|
name: page
|
type: integer
|
- description: 每页大小
|
in: query
|
name: pageSize
|
type: integer
|
- description: 车间编号
|
in: query
|
name: workshopNumber
|
type: string
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.ResponseList'
|
- properties:
|
data:
|
items:
|
$ref: '#/definitions/models.PayrollProductionGroup'
|
type: array
|
type: object
|
summary: 获取小组每天的产量列表
|
tags:
|
- 员工薪资/薪酬方案
|
/api-jl/v1/salary/getPayrollSalaryPlanList:
|
get:
|
parameters:
|
- description: token
|
in: header
|
name: Authorization
|
required: true
|
type: string
|
- description: 统计周期按月查询(年-月)
|
in: query
|
name: cycle
|
type: string
|
- description: 关键字
|
in: query
|
name: keyword
|
type: string
|
- description: 页码
|
in: query
|
name: page
|
type: integer
|
- description: 每页大小
|
in: query
|
name: pageSize
|
type: integer
|
- description: 工种编码
|
in: query
|
name: workTypeCode
|
type: string
|
- description: 工种ID
|
in: query
|
name: workTypeID
|
type: integer
|
- description: 员工ID
|
in: query
|
name: workerID
|
type: string
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.ResponseList'
|
- properties:
|
data:
|
items:
|
$ref: '#/definitions/models.PayrollSalaryPlan'
|
type: array
|
type: object
|
summary: 获取人员每月的薪资列表
|
tags:
|
- 员工薪资/薪酬方案
|
/api-jl/v1/salary/getSalaryPlanList:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.GetSalaryPlanList'
|
- 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.SalaryPlan'
|
type: array
|
type: object
|
summary: 获取薪酬方案列表
|
tags:
|
- 员工薪资/薪酬方案
|
/api-jl/v1/salary/getSalaryTypeList/{type}:
|
get:
|
parameters:
|
- description: type
|
in: path
|
name: number
|
required: true
|
type: string
|
- 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.MiniDict'
|
type: array
|
type: object
|
summary: 获取薪资类型列表
|
tags:
|
- 员工薪资/薪酬方案
|
/api-jl/v1/salary/saveSalaryPlan:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/models.SalaryPlan'
|
- 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/salary/saveSalaryType:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.SalaryType'
|
- 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/system/deletePriceStandard/{id}:
|
delete:
|
parameters:
|
- description: id
|
in: path
|
name: id
|
required: true
|
type: string
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
$ref: '#/definitions/util.Response'
|
summary: 删除生丝定价标准
|
tags:
|
- 系统设置/生丝定价标准
|
/api-jl/v1/system/deleteWorkshopManage/{id}:
|
delete:
|
parameters:
|
- description: id
|
in: path
|
name: id
|
required: true
|
type: string
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
$ref: '#/definitions/util.Response'
|
summary: 删除车间管理
|
tags:
|
- 系统设置/车间管理
|
/api-jl/v1/system/dict:
|
get:
|
parameters:
|
- description: 字典类型
|
enum:
|
- 1
|
- 2
|
- 3
|
- 4
|
- 5
|
in: query
|
name: dictType
|
type: integer
|
x-enum-comments:
|
DictTypeColor: 颜色
|
DictTypeMarket: 庄口
|
DictTypeSpec: 规格
|
DictTypeSubsidy: 补贴
|
DictTypeWorkshop: 车间
|
x-enum-varnames:
|
- DictTypeMarket
|
- DictTypeWorkshop
|
- DictTypeColor
|
- DictTypeSpec
|
- DictTypeSubsidy
|
- description: 搜索关键字
|
in: query
|
name: keyword
|
type: string
|
- description: 页码
|
in: query
|
name: page
|
type: integer
|
- description: 每页大小
|
in: query
|
name: pageSize
|
type: integer
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.ResponseList'
|
- properties:
|
data:
|
items:
|
$ref: '#/definitions/models.Dict'
|
type: array
|
type: object
|
summary: 查询字典列表
|
tags:
|
- 系统设置/字典
|
post:
|
parameters:
|
- description: 字典信息
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.AddDict'
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
$ref: '#/definitions/util.Response'
|
summary: 添加字典
|
tags:
|
- 系统设置/字典
|
put:
|
parameters:
|
- description: 字典信息
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.UpdateDict'
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
$ref: '#/definitions/util.Response'
|
summary: 编辑字典
|
tags:
|
- 系统设置/字典
|
/api-jl/v1/system/dict/{id}:
|
delete:
|
parameters:
|
- description: 字典信息
|
in: path
|
name: id
|
required: true
|
type: string
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
$ref: '#/definitions/util.Response'
|
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:
|
- description: token
|
in: header
|
name: Authorization
|
required: true
|
type: string
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.GetWorkshopManageCar'
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.Response'
|
- properties:
|
data:
|
$ref: '#/definitions/response.CarAndLevel'
|
type: object
|
summary: 获取车辆编号和等级
|
tags:
|
- 系统设置/车间管理
|
/api-jl/v1/system/getCarNumber:
|
post:
|
parameters:
|
- description: token
|
in: header
|
name: Authorization
|
required: true
|
type: string
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.GetWorkshopManageCar'
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.Response'
|
- properties:
|
data:
|
items:
|
type: integer
|
type: array
|
type: object
|
summary: 获取车辆编号
|
tags:
|
- 系统设置/车间管理
|
/api-jl/v1/system/getPriceStandardList:
|
get:
|
parameters:
|
- in: query
|
name: keyWord
|
type: string
|
- description: 页码
|
in: query
|
name: page
|
type: integer
|
- description: 每页大小
|
in: query
|
name: pageSize
|
type: integer
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.ResponseList'
|
- properties:
|
data:
|
items:
|
$ref: '#/definitions/models.RawSilkPriceStandard'
|
type: array
|
type: object
|
summary: 获取生丝定价标准
|
tags:
|
- 系统设置/生丝定价标准
|
/api-jl/v1/system/getRankStandard:
|
get:
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.ResponseList'
|
- properties:
|
data:
|
items:
|
$ref: '#/definitions/response.RankStandard'
|
type: array
|
type: object
|
summary: 获取生丝定级标准
|
tags:
|
- 系统设置/生丝定级标准
|
/api-jl/v1/system/getRankStandardGrade:
|
get:
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.Response'
|
- properties:
|
data:
|
additionalProperties:
|
type: string
|
type: object
|
type: object
|
summary: 获取生丝等级
|
tags:
|
- 系统设置/生丝定级标准
|
/api-jl/v1/system/getWorkshopManageGroup/{number}:
|
get:
|
parameters:
|
- description: token
|
in: header
|
name: Authorization
|
required: true
|
type: string
|
- description: number
|
in: path
|
name: number
|
required: true
|
type: string
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.Response'
|
- properties:
|
data:
|
additionalProperties:
|
type: integer
|
type: object
|
type: object
|
summary: 获取车间组别
|
tags:
|
- 系统设置/车间管理
|
/api-jl/v1/system/getWorkshopManageList:
|
post:
|
parameters:
|
- description: token
|
in: header
|
name: Authorization
|
required: true
|
type: string
|
- in: query
|
name: keyWord
|
type: string
|
- description: 页码
|
in: query
|
name: page
|
type: integer
|
- description: 每页大小
|
in: query
|
name: pageSize
|
type: integer
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
allOf:
|
- $ref: '#/definitions/util.ResponseList'
|
- properties:
|
data:
|
items:
|
$ref: '#/definitions/response.WorkshopManage'
|
type: array
|
type: object
|
summary: 获取车间管理列表
|
tags:
|
- 系统设置/车间管理
|
/api-jl/v1/system/savePriceStandard:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/models.RawSilkPriceStandard'
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
$ref: '#/definitions/util.Response'
|
summary: 保存生丝定价标准
|
tags:
|
- 系统设置/生丝定价标准
|
/api-jl/v1/system/saveRankStandard:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.SaveRankStandard'
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
$ref: '#/definitions/util.Response'
|
summary: 保存生丝定级标准
|
tags:
|
- 系统设置/生丝定级标准
|
/api-jl/v1/system/saveWorkshopManage:
|
post:
|
parameters:
|
- 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:
|
"200":
|
description: 成功
|
schema:
|
$ref: '#/definitions/util.Response'
|
summary: 保存车间管理
|
tags:
|
- 系统设置/车间管理
|
/api-jl/v1/worker/createWorkerInfo:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/models.Worker'
|
- 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/worker/deleteWorkTypeInfo/{id}:
|
delete:
|
parameters:
|
- description: id
|
in: path
|
name: id
|
required: true
|
type: string
|
- 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/worker/deleteWorkerInfo/{id}:
|
delete:
|
parameters:
|
- description: id
|
in: path
|
name: id
|
required: true
|
type: string
|
- 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/worker/getWorkTypeList:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.GetWorkTypeList'
|
- 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.WorkTypeManage'
|
type: array
|
type: object
|
summary: 获取工种列表
|
tags:
|
- 员工管理/工种信息
|
/api-jl/v1/worker/getWorkerList:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.GetWorkerList'
|
- 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.Worker'
|
type: array
|
type: object
|
summary: 获取人员信息列表
|
tags:
|
- 员工管理/员工信息
|
/api-jl/v1/worker/saveWorkTypeInfo:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/models.WorkTypeManage'
|
- 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/worker/updateWorkerInfo:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/models.Worker'
|
- 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/workerPosition/createWorkerPositionInfo:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.AddWorkPositionRequest'
|
- 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/workerPosition/deleteWorkerPositionInfo/{id}:
|
delete:
|
parameters:
|
- description: id
|
in: path
|
name: id
|
required: true
|
type: string
|
- 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/workerPosition/getWorkerPositionList:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.GetWorkerPositionList'
|
- 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.WorkerPosition'
|
type: array
|
type: object
|
summary: 获取机台信息列表
|
tags:
|
- 机台管理
|
/api-jl/v1/workerPosition/updateWorkerPositionInfo:
|
post:
|
parameters:
|
- description: 参数
|
in: body
|
name: object
|
required: true
|
schema:
|
$ref: '#/definitions/request.UpdateWorkerPositionRequest'
|
- description: token
|
in: header
|
name: Authorization
|
required: true
|
type: string
|
produces:
|
- application/json
|
responses:
|
"200":
|
description: 成功
|
schema:
|
$ref: '#/definitions/util.Response'
|
summary: 更新机台信息
|
tags:
|
- 机台管理
|
swagger: "2.0"
|