设备维保调整字段和操作逻辑
This commit is contained in:
@@ -55,6 +55,12 @@ public class EqpMaintenancePlanDetail extends BaseEntity {
|
||||
* 维修内容描述
|
||||
*/
|
||||
private String repairContent;
|
||||
private String lineExecutor;
|
||||
private String equipmentExecutor;
|
||||
private String plannedCompleteTime;
|
||||
private String actualCompleteTime;
|
||||
private String totalHours;
|
||||
private String acceptanceUser;
|
||||
/**
|
||||
* 维修负责人
|
||||
*/
|
||||
|
||||
@@ -62,6 +62,12 @@ public class EqpMaintenancePlanDetailBo extends BaseEntity {
|
||||
* 维修内容描述
|
||||
*/
|
||||
private String repairContent;
|
||||
private String lineExecutor;
|
||||
private String equipmentExecutor;
|
||||
private String plannedCompleteTime;
|
||||
private String actualCompleteTime;
|
||||
private String totalHours;
|
||||
private String acceptanceUser;
|
||||
|
||||
/**
|
||||
* 维修负责人
|
||||
|
||||
@@ -25,80 +25,92 @@ public class EqpMaintenancePlanDetailVo {
|
||||
/**
|
||||
* 明细ID
|
||||
*/
|
||||
@ExcelProperty(value = "明细ID")
|
||||
@ExcelProperty(value = "编号")
|
||||
private Long detailId;
|
||||
|
||||
/**
|
||||
* 维修计划ID
|
||||
*/
|
||||
@ExcelProperty(value = "维修计划ID")
|
||||
private Long planId;
|
||||
|
||||
/**
|
||||
* 产线名称
|
||||
*/
|
||||
@ExcelProperty(value = "产线名称")
|
||||
private String productionLine;
|
||||
|
||||
/**
|
||||
* 设备部件名称
|
||||
*/
|
||||
@ExcelProperty(value = "设备部件名称")
|
||||
private String componentName;
|
||||
|
||||
/**
|
||||
* 单条维修项计划执行日期
|
||||
*/
|
||||
@ExcelProperty(value = "单条维修项计划执行日期")
|
||||
@ExcelProperty(value = "时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
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=已完成")
|
||||
@ExcelProperty(value = "是否完成", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "0=否,1=否,2=是")
|
||||
private Long detailStatus;
|
||||
|
||||
/**
|
||||
* 维修内容描述
|
||||
*/
|
||||
@ExcelProperty(value = "维修内容描述")
|
||||
@ExcelProperty(value = "具体工作内容")
|
||||
private String repairContent;
|
||||
|
||||
@ExcelProperty(value = "产线执行人员")
|
||||
private String lineExecutor;
|
||||
|
||||
@ExcelProperty(value = "设备执行人员")
|
||||
private String equipmentExecutor;
|
||||
|
||||
@ExcelProperty(value = "预计完成时间")
|
||||
private String plannedCompleteTime;
|
||||
|
||||
@ExcelProperty(value = "实际完成时间")
|
||||
private String actualCompleteTime;
|
||||
|
||||
@ExcelProperty(value = "总耗时(h)")
|
||||
private String totalHours;
|
||||
|
||||
@ExcelProperty(value = "验收人")
|
||||
private String acceptanceUser;
|
||||
|
||||
/**
|
||||
* 维修负责人
|
||||
*/
|
||||
@ExcelProperty(value = "维修负责人")
|
||||
private String repairUser;
|
||||
|
||||
/**
|
||||
* 完成时间(打勾时记录)
|
||||
*/
|
||||
@ExcelProperty(value = "完成时间", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "打=勾时记录")
|
||||
private Date completeTime;
|
||||
|
||||
/**
|
||||
* 实际支出金额(元)
|
||||
*/
|
||||
@ExcelProperty(value = "实际支出金额(元)")
|
||||
private BigDecimal actualCost;
|
||||
|
||||
/**
|
||||
* 完成进度百分比(0-100)
|
||||
*/
|
||||
@ExcelProperty(value = "完成进度百分比(0-100)")
|
||||
private Long progressRate;
|
||||
|
||||
/**
|
||||
* 目标厂家
|
||||
*/
|
||||
@ExcelProperty(value = "目标厂家")
|
||||
private String targetManufacturer;
|
||||
|
||||
/**
|
||||
|
||||
@@ -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