设备维保调整字段和操作逻辑
This commit is contained in:
@@ -55,6 +55,30 @@ public class EqpMaintenancePlanDetail extends BaseEntity {
|
||||
* 维修内容描述
|
||||
*/
|
||||
private String repairContent;
|
||||
/**
|
||||
* 产线执行人员
|
||||
*/
|
||||
private String lineExecutor;
|
||||
/**
|
||||
* 设备执行人员
|
||||
*/
|
||||
private String equipmentExecutor;
|
||||
/**
|
||||
* 预计完成时间
|
||||
*/
|
||||
private String plannedCompleteTime;
|
||||
/**
|
||||
* 实际完成时间
|
||||
*/
|
||||
private String actualCompleteTime;
|
||||
/**
|
||||
* 总耗时(h)
|
||||
*/
|
||||
private String totalHours;
|
||||
/**
|
||||
* 验收人
|
||||
*/
|
||||
private String acceptanceUser;
|
||||
/**
|
||||
* 维修负责人
|
||||
*/
|
||||
|
||||
@@ -62,6 +62,30 @@ public class EqpMaintenancePlanDetailBo extends BaseEntity {
|
||||
* 维修内容描述
|
||||
*/
|
||||
private String repairContent;
|
||||
/**
|
||||
* 产线执行人员
|
||||
*/
|
||||
private String lineExecutor;
|
||||
/**
|
||||
* 设备执行人员
|
||||
*/
|
||||
private String equipmentExecutor;
|
||||
/**
|
||||
* 预计完成时间
|
||||
*/
|
||||
private String plannedCompleteTime;
|
||||
/**
|
||||
* 实际完成时间
|
||||
*/
|
||||
private String actualCompleteTime;
|
||||
/**
|
||||
* 总耗时(h)
|
||||
*/
|
||||
private String totalHours;
|
||||
/**
|
||||
* 验收人
|
||||
*/
|
||||
private String acceptanceUser;
|
||||
|
||||
/**
|
||||
* 维修负责人
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
package com.klp.flow.domain.vo;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import com.klp.common.annotation.ExcelDictFormat;
|
||||
@@ -25,7 +23,7 @@ public class EqpMaintenancePlanDetailVo {
|
||||
/**
|
||||
* 明细ID
|
||||
*/
|
||||
@ExcelProperty(value = "明细ID")
|
||||
@ExcelProperty(value = "编号")
|
||||
private Long detailId;
|
||||
|
||||
/**
|
||||
@@ -35,71 +33,66 @@ public class EqpMaintenancePlanDetailVo {
|
||||
private Long planId;
|
||||
|
||||
/**
|
||||
* 产线名称
|
||||
* 时间
|
||||
*/
|
||||
@ExcelProperty(value = "产线名称")
|
||||
private String productionLine;
|
||||
|
||||
/**
|
||||
* 设备部件名称
|
||||
*/
|
||||
@ExcelProperty(value = "设备部件名称")
|
||||
private String componentName;
|
||||
|
||||
/**
|
||||
* 单条维修项计划执行日期
|
||||
*/
|
||||
@ExcelProperty(value = "单条维修项计划执行日期")
|
||||
@ExcelProperty(value = "时间")
|
||||
private Date itemPlanDate;
|
||||
|
||||
/**
|
||||
* 明细类型:0=保养 1=维修
|
||||
*/
|
||||
@ExcelProperty(value = "明细类型:0=保养 1=维修")
|
||||
@ExcelProperty(value = "明细类型", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "0=保养,1=维修")
|
||||
private Long maintenanceCategory;
|
||||
|
||||
/**
|
||||
* 明细完成状态:0=未开始 1=进行中 2=已完成
|
||||
* 具体工作内容
|
||||
*/
|
||||
@ExcelProperty(value = "明细完成状态:0=未开始 1=进行中 2=已完成")
|
||||
private Long detailStatus;
|
||||
|
||||
/**
|
||||
* 维修内容描述
|
||||
*/
|
||||
@ExcelProperty(value = "维修内容描述")
|
||||
@ExcelProperty(value = "具体工作内容")
|
||||
private String repairContent;
|
||||
|
||||
/**
|
||||
* 维修负责人
|
||||
* 产线执行人员
|
||||
*/
|
||||
@ExcelProperty(value = "维修负责人")
|
||||
private String repairUser;
|
||||
@ExcelProperty(value = "产线执行人员")
|
||||
private String lineExecutor;
|
||||
|
||||
/**
|
||||
* 完成时间(打勾时记录)
|
||||
* 设备执行人员
|
||||
*/
|
||||
@ExcelProperty(value = "完成时间", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "打=勾时记录")
|
||||
private Date completeTime;
|
||||
@ExcelProperty(value = "设备执行人员")
|
||||
private String equipmentExecutor;
|
||||
|
||||
/**
|
||||
* 实际支出金额(元)
|
||||
* 预计完成时间
|
||||
*/
|
||||
@ExcelProperty(value = "实际支出金额(元)")
|
||||
private BigDecimal actualCost;
|
||||
@ExcelProperty(value = "预计完成时间")
|
||||
private String plannedCompleteTime;
|
||||
|
||||
/**
|
||||
* 完成进度百分比(0-100)
|
||||
* 实际完成时间
|
||||
*/
|
||||
@ExcelProperty(value = "完成进度百分比(0-100)")
|
||||
private Long progressRate;
|
||||
@ExcelProperty(value = "实际完成时间")
|
||||
private String actualCompleteTime;
|
||||
|
||||
/**
|
||||
* 目标厂家
|
||||
* 总耗时(h)
|
||||
*/
|
||||
@ExcelProperty(value = "目标厂家")
|
||||
private String targetManufacturer;
|
||||
@ExcelProperty(value = "总耗时(h)")
|
||||
private String totalHours;
|
||||
|
||||
/**
|
||||
* 验收人
|
||||
*/
|
||||
@ExcelProperty(value = "验收人")
|
||||
private String acceptanceUser;
|
||||
|
||||
/**
|
||||
* 是否完成
|
||||
*/
|
||||
@ExcelProperty(value = "是否完成", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "0=否,1=否,2=是")
|
||||
private Long detailStatus;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
<result property="maintenanceCategory" column="maintenance_category"/>
|
||||
<result property="detailStatus" column="detail_status"/>
|
||||
<result property="repairContent" column="repair_content"/>
|
||||
<result property="lineExecutor" column="line_executor"/>
|
||||
<result property="equipmentExecutor" column="equipment_executor"/>
|
||||
<result property="plannedCompleteTime" column="planned_complete_time"/>
|
||||
<result property="actualCompleteTime" column="actual_complete_time"/>
|
||||
<result property="totalHours" column="total_hours"/>
|
||||
<result property="acceptanceUser" column="acceptance_user"/>
|
||||
<result property="repairUser" column="repair_user"/>
|
||||
<result property="completeTime" column="complete_time"/>
|
||||
<result property="actualCost" column="actual_cost"/>
|
||||
|
||||
Reference in New Issue
Block a user