haungxing
11 months ago
6 changed files with 108 additions and 0 deletions
@ -0,0 +1,62 @@ |
|||||||
|
package com.hnac.hzims.operational.maintenance.vo; |
||||||
|
|
||||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||||
|
import io.swagger.annotations.ApiModel; |
||||||
|
import io.swagger.annotations.ApiModelProperty; |
||||||
|
import lombok.Data; |
||||||
|
import lombok.EqualsAndHashCode; |
||||||
|
|
||||||
|
import java.io.Serializable; |
||||||
|
|
||||||
|
@Data |
||||||
|
@EqualsAndHashCode |
||||||
|
@ApiModel("日常维护任务查询导出对象") |
||||||
|
public class MaintenanceTaskQueryVO implements Serializable { |
||||||
|
|
||||||
|
@ApiModelProperty(value = "序号") |
||||||
|
@ExcelProperty("序号") |
||||||
|
private Integer index; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建机构名称") |
||||||
|
@ExcelProperty("单位") |
||||||
|
private String deptName; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "维护类型 01=定期试验 02=定期保养 03=定期操作 04=其他") |
||||||
|
private String typeCode; |
||||||
|
|
||||||
|
@ExcelProperty("维护类型") |
||||||
|
@ApiModelProperty(value = "维护类型名称") |
||||||
|
private String typeName; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "设备编号") |
||||||
|
private String emCode; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "维护设备") |
||||||
|
@ExcelProperty("维护设备") |
||||||
|
private String emName; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "维护内容") |
||||||
|
@ExcelProperty("维护内容") |
||||||
|
private String content; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "计划执行时间") |
||||||
|
@ExcelProperty("计划执行时间") |
||||||
|
private String planDisposeTime; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "实际执行时间") |
||||||
|
@ExcelProperty("实际执行时间") |
||||||
|
private String disposeTime; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "执行人") |
||||||
|
@ExcelProperty("执行人") |
||||||
|
private String disposerName; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "逾期状态") |
||||||
|
@ExcelProperty("逾期状态") |
||||||
|
private String delayStatus; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "状态") |
||||||
|
@ExcelProperty("状态") |
||||||
|
private String status; |
||||||
|
|
||||||
|
} |
@ -0,0 +1,24 @@ |
|||||||
|
package com.hnac.hzims.operational.maintenance.controller; |
||||||
|
|
||||||
|
import io.swagger.annotations.Api; |
||||||
|
import lombok.AllArgsConstructor; |
||||||
|
import org.springblade.core.boot.ctrl.BladeController; |
||||||
|
import org.springframework.web.bind.annotation.RequestMapping; |
||||||
|
import org.springframework.web.bind.annotation.RestController; |
||||||
|
|
||||||
|
/** |
||||||
|
* @ClassName MaintenanceTaskQueryController |
||||||
|
* @description: |
||||||
|
* @author: hx |
||||||
|
* @create: 2024-01-08 14:35 |
||||||
|
* @Version 4.0 |
||||||
|
**/ |
||||||
|
@RestController |
||||||
|
@RequestMapping("/maintenance/task/query") |
||||||
|
@Api(value = "日常维护任务导出管理",tags = "日常维护任务导出管理") |
||||||
|
@AllArgsConstructor |
||||||
|
public class MaintenanceTaskQueryController extends BladeController { |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
} |
@ -0,0 +1,4 @@ |
|||||||
|
package com.hnac.hzims.operational.maintenance.service; |
||||||
|
|
||||||
|
public interface IMaintenanceTaskQueryService { |
||||||
|
} |
@ -0,0 +1,14 @@ |
|||||||
|
package com.hnac.hzims.operational.maintenance.service.impl; |
||||||
|
|
||||||
|
import com.hnac.hzims.operational.maintenance.service.IMaintenanceTaskQueryService; |
||||||
|
import com.hnac.hzims.operational.maintenance.service.IOperMaintenanceTaskService; |
||||||
|
import lombok.AllArgsConstructor; |
||||||
|
import org.springframework.stereotype.Service; |
||||||
|
|
||||||
|
@Service |
||||||
|
@AllArgsConstructor |
||||||
|
public class MaintenanceTaskQueryServiceImpl implements IMaintenanceTaskQueryService { |
||||||
|
|
||||||
|
private final IOperMaintenanceTaskService operMaintenanceTaskService; |
||||||
|
|
||||||
|
} |
Loading…
Reference in new issue