|
|
|
|
@ -1,5 +1,8 @@ |
|
|
|
|
package org.springblade.desk.jobTransfer.controller; |
|
|
|
|
|
|
|
|
|
import io.swagger.v3.oas.annotations.Parameters; |
|
|
|
|
import io.swagger.v3.oas.annotations.enums.ParameterIn; |
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema; |
|
|
|
|
import io.swagger.v3.oas.annotations.tags.Tag; |
|
|
|
|
import io.swagger.v3.oas.annotations.Operation; |
|
|
|
|
import io.swagger.v3.oas.annotations.Parameter; |
|
|
|
|
@ -61,6 +64,14 @@ public class EquipmentMaintenanceController extends BladeController { |
|
|
|
|
*/ |
|
|
|
|
@GetMapping("/page") |
|
|
|
|
@ApiOperationSupport(order = 3) |
|
|
|
|
@Parameters({ |
|
|
|
|
@Parameter(name = "name", description = "姓名", in = ParameterIn.QUERY, schema = @Schema(type = "string")), |
|
|
|
|
@Parameter(name = "deptId", description = "所属班组", in = ParameterIn.QUERY, schema = @Schema(type = "integer")), |
|
|
|
|
@Parameter(name = "station", description = "所属岗位", in = ParameterIn.QUERY, schema = @Schema(type = "string")), |
|
|
|
|
@Parameter(name = "skill", description = "技能等级", in = ParameterIn.QUERY, schema = @Schema(type = "integer")), |
|
|
|
|
@Parameter(name = "equipmentId", description = "设备", in = ParameterIn.QUERY, schema = @Schema(type = "integer")), |
|
|
|
|
@Parameter(name = "maintenanceStatus", description = "状态", in = ParameterIn.QUERY, schema = @Schema(type = "integer")), |
|
|
|
|
}) |
|
|
|
|
@Operation(summary = "分页", description = "传入equipmentMaintenance") |
|
|
|
|
public R<IPage<EquipmentMaintenanceVO>> page(EquipmentMaintenanceVO equipmentMaintenance, Query query) { |
|
|
|
|
IPage<EquipmentMaintenanceVO> pages = equipmentMaintenanceService.selectEquipmentMaintenancePage(Condition.getPage(query), equipmentMaintenance); |
|
|
|
|
|