| | |
| | | "summary": "纤度检验列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "纤度登记表ID", |
| | | "name": "finenessRegisterID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "keyword", |
| | | "in": "query" |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "字典信息", |
| | | "description": "纤度检验ID", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/fineness/checkFinenessID/{id}": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "纤度检验" |
| | | ], |
| | | "summary": "根据纤度登记ID获取纤度检验详情", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "纤度登记ID", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.ResponseList" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.FinenessCheckInfo" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | |
| | | ], |
| | | "summary": "纤度登记列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "纤度登记表ID", |
| | | "name": "finenessRegisterID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "name": "keyword", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/salary/getPayrollProductionCarList": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "员工薪资/薪酬方案" |
| | | ], |
| | | "summary": "获取车台每天的产量列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "token", |
| | | "name": "Authorization", |
| | | "in": "header", |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "车台号", |
| | | "name": "carNumber", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "统计周期(年-月-日)", |
| | | "name": "cycle", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "等级", |
| | | "name": "finishLevel", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "组别", |
| | | "name": "groupNumber", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "庄口编号", |
| | | "name": "marketNumber", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "统计周期按月查询(年-月)", |
| | | "name": "monthly", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "规格", |
| | | "name": "spec", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "车间编号", |
| | | "name": "workshopNumber", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.ResponseList" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/models.PayrollProductionCar" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/salary/getPayrollProductionGroupList": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "员工薪资/薪酬方案" |
| | | ], |
| | | "summary": "获取小组每天的产量列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "token", |
| | | "name": "Authorization", |
| | | "in": "header", |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "统计周期(年-月-日)", |
| | | "name": "cycle", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "组别", |
| | | "name": "groupNumber", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "统计周期按月查询(年-月)", |
| | | "name": "monthly", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "车间编号", |
| | | "name": "workshopNumber", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.ResponseList" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/models.PayrollProductionGroup" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/salary/getPayrollSalaryPlanList": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "员工薪资/薪酬方案" |
| | | ], |
| | | "summary": "获取人员每月的薪资列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "token", |
| | | "name": "Authorization", |
| | | "in": "header", |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "统计周期按月查询(年-月)", |
| | | "name": "cycle", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "关键字", |
| | | "name": "keyword", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "工种编码", |
| | | "name": "workTypeCode", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "工种ID", |
| | | "name": "workTypeID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "员工ID", |
| | | "name": "workerID", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.ResponseList" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/models.PayrollSalaryPlan" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/salary/getSalaryPlanList": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "parameters": [ |
| | | { |
| | | "enum": [ |
| | | 0, |
| | | 1, |
| | | 2, |
| | | 3 |
| | | 3, |
| | | 4, |
| | | 5 |
| | | ], |
| | | "type": "integer", |
| | | "x-enum-comments": { |
| | | "DictTypeColor": "颜色", |
| | | "DictTypeMarket": "庄口", |
| | | "DictTypeSpec": "规格", |
| | | "DictTypeSubsidy": "补贴", |
| | | "DictTypeWorkshop": "车间" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "DictTypeMarket", |
| | | "DictTypeWorkshop", |
| | | "DictTypeColor", |
| | | "DictTypeSpec" |
| | | "DictTypeSpec", |
| | | "DictTypeSubsidy" |
| | | ], |
| | | "description": "字典类型", |
| | | "name": "dictType", |
| | |
| | | "constvar.DictType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 0, |
| | | 1, |
| | | 2, |
| | | 3 |
| | | 3, |
| | | 4, |
| | | 5 |
| | | ], |
| | | "x-enum-comments": { |
| | | "DictTypeColor": "颜色", |
| | | "DictTypeMarket": "庄口", |
| | | "DictTypeSpec": "规格", |
| | | "DictTypeSubsidy": "补贴", |
| | | "DictTypeWorkshop": "车间" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "DictTypeMarket", |
| | | "DictTypeWorkshop", |
| | | "DictTypeColor", |
| | | "DictTypeSpec" |
| | | "DictTypeSpec", |
| | | "DictTypeSubsidy" |
| | | ] |
| | | }, |
| | | "constvar.FileTemplateCategory": { |
| | |
| | | "x-enum-varnames": [ |
| | | "FileTemplateCategory_Selfmade", |
| | | "FileTemplateCategory_Output" |
| | | ] |
| | | }, |
| | | "constvar.JobType": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "weavers", |
| | | "car_head", |
| | | "maintenance", |
| | | "boiled", |
| | | "scoop", |
| | | "transport", |
| | | "cleaner", |
| | | "machine_cleaner", |
| | | "all-powerful", |
| | | "monitor" |
| | | ], |
| | | "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": { |
| | |
| | | "type": "number" |
| | | }, |
| | | "finenessRegisterID": { |
| | | "description": "纤度登记ID", |
| | | "type": "integer" |
| | | }, |
| | | "id": { |
| | |
| | | "market": { |
| | | "description": "庄口名称", |
| | | "type": "string" |
| | | }, |
| | | "marketId": { |
| | | "description": "庄口ID", |
| | | "type": "integer" |
| | | }, |
| | | "marketNumber": { |
| | | "description": "庄口编号", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "models.PayrollProductionCar": { |
| | | "type": "object", |
| | | "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" |
| | | } |
| | | } |
| | | }, |
| | | "models.PayrollProductionGroup": { |
| | | "type": "object", |
| | | "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" |
| | | } |
| | | } |
| | | }, |
| | | "models.PayrollSalaryPlan": { |
| | | "type": "object", |
| | | "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": { |
| | | "description": "工种代码", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.JobType" |
| | | } |
| | | ] |
| | | }, |
| | | "workTypeID": { |
| | | "description": "工种ID", |
| | | "type": "integer" |
| | | }, |
| | | "workTypeName": { |
| | | "description": "工种名称", |
| | | "type": "string" |
| | | }, |
| | | "worker": { |
| | | "$ref": "#/definitions/models.Worker" |
| | | }, |
| | | "workerId": { |
| | | "description": "员工ID", |
| | | "type": "string" |
| | | }, |
| | | "workerName": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "models.RawSilkPriceStandard": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "type": "integer" |
| | | }, |
| | | "marketName": { |
| | | "type": "string" |
| | | }, |
| | | "marketNumber": { |
| | | "type": "string" |
| | | }, |
| | | "notes": { |
| | |
| | | "addPeople": { |
| | | "type": "string" |
| | | }, |
| | | "code": { |
| | | "$ref": "#/definitions/constvar.JobType" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | |
| | | }, |
| | | "workType": { |
| | | "type": "string" |
| | | }, |
| | | "workTypeCode": { |
| | | "$ref": "#/definitions/constvar.JobType" |
| | | }, |
| | | "workTypeId": { |
| | | "type": "integer" |
| | |
| | | }, |
| | | "marketName": { |
| | | "description": "庄口名", |
| | | "type": "string" |
| | | }, |
| | | "marketNumber": { |
| | | "description": "庄口编号", |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | |
| | | "description": "庄口id", |
| | | "type": "integer" |
| | | }, |
| | | "marketNumber": { |
| | | "description": "庄口编号", |
| | | "type": "string" |
| | | }, |
| | | "number": { |
| | | "description": "编号", |
| | | "type": "string" |