change(hwmom-mes): 修改导入导出字段映射和忽略项

- 在 BaseMaterialInfoVo 和 BaseMaterialTypeVo 中明确字段注释
- 在 ProdBaseProcessInfoVo 中添加 @ExcelIgnore 注解以忽略特定字段
- 在 ProdBaseRouteProcessVo 中添加新的工序相关字段
- 在 ProdBaseRouteVo 中添加 @ExcelIgnore 注解以忽略工艺路线字段
master
zch 20 hours ago
parent 693029ad41
commit 1ceddf31d5

@ -373,7 +373,7 @@ public class BaseMaterialInfoVo implements Serializable {
*
*/
@ExcelProperty(value = "所属工厂")
private String factoryName;
private String factoryName;//映射字段
/**
*

@ -131,7 +131,7 @@ public class BaseMaterialTypeVo implements Serializable {
*
*/
@ExcelProperty(value = "工序名称")
private String processName;
private String processName;//工序名称
}

@ -1,5 +1,6 @@
package org.dromara.mes.domain.vo;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.baomidou.mybatisplus.annotation.TableField;
import org.dromara.mes.domain.ProdBaseProcessInfo;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
@ -121,14 +122,14 @@ public class ProdBaseProcessInfoVo implements Serializable {
/**
* 线
*/
@ExcelIgnore
private List<ProdBaseProcessProdLineVo> prodBaseProcessProdlineVoList;//工序关联产线信息,映射字段
/** 工序关联人员信息 */
@ExcelIgnore
private List<ProdBaseProcessUserVo> prodBaseProcessUserVoList;//工序关联人员信息,映射字段
@ExcelIgnore
private String processPercentageVo;//映射字段
}

@ -59,4 +59,19 @@ public class ProdBaseRouteProcessVo implements Serializable {
private String remark;
/**
*
*/
@ExcelProperty(value = "工序名称")
private String processName;
/**
* 1 2
*/
@ExcelProperty(value = "工序类别", converter = ExcelDictConvert.class)
private String processType;
}

@ -1,5 +1,6 @@
package org.dromara.mes.domain.vo;
import com.alibaba.excel.annotation.ExcelIgnore;
import org.dromara.mes.domain.ProdBaseRoute;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
@ -95,6 +96,10 @@ public class ProdBaseRouteVo implements Serializable {
@ExcelProperty(value = "更新时间")
private Date updateTime;
/**
* 线
*/
@ExcelIgnore
private List<ProdBaseRouteProcessVo> routeProcessVoList;

Loading…
Cancel
Save