feat(eqp): 添加机组字段支持
- 在EqpAuxiliaryMaterial实体类中添加unitTeam字段 - 在EqpAuxiliaryMaterialBo业务对象中添加unitTeam字段 - 更新EqpAuxiliaryMaterialMapper.xml映射文件添加unitTeam映射 - 在EqpAuxiliaryMaterialServiceImpl服务实现中添加机组查询条件 - 在EqpAuxiliaryMaterialVo视图对象中添加unitTeam字段并配置Excel导出 - 在EqpSparePart实体类中添加unitTeam字段 - 在EqpSparePartBo业务对象中添加unitTeam字段 - 更新EqpSparePartMapper.xml映射文件添加unitTeam映射和查询字段 - 在EqpSparePartServiceImpl服务实现中添加机组查询条件 - 在EqpSparePartVo视图对象中添加unitTeam字段并配置Excel导出
This commit is contained in:
@@ -44,6 +44,10 @@ public class EqpAuxiliaryMaterial extends BaseEntity {
|
||||
* 关联设备ID(可为空,通用辅料)
|
||||
*/
|
||||
private Long equipmentId;
|
||||
/**
|
||||
* 机组(如:1#机组、2#机组、公用机组等)
|
||||
*/
|
||||
private String unitTeam;
|
||||
/**
|
||||
* 当前库存数量
|
||||
*/
|
||||
|
||||
@@ -44,6 +44,10 @@ public class EqpSparePart extends BaseEntity {
|
||||
* 关联设备ID(可为空,通用备件)
|
||||
*/
|
||||
private Long equipmentId;
|
||||
/**
|
||||
* 机组(如:1#机组、2#机组、公用机组等)
|
||||
*/
|
||||
private String unitTeam;
|
||||
/**
|
||||
* 当前库存数量
|
||||
*/
|
||||
|
||||
@@ -47,6 +47,11 @@ public class EqpAuxiliaryMaterialBo extends BaseEntity {
|
||||
*/
|
||||
private Long equipmentId;
|
||||
|
||||
/**
|
||||
* 机组(如:1#机组、2#机组、公用机组等)
|
||||
*/
|
||||
private String unitTeam;
|
||||
|
||||
/**
|
||||
* 当前库存数量
|
||||
*/
|
||||
|
||||
@@ -47,6 +47,11 @@ public class EqpSparePartBo extends BaseEntity {
|
||||
*/
|
||||
private Long equipmentId;
|
||||
|
||||
/**
|
||||
* 机组(如:1#机组、2#机组、公用机组等)
|
||||
*/
|
||||
private String unitTeam;
|
||||
|
||||
/**
|
||||
* 当前库存数量
|
||||
*/
|
||||
|
||||
@@ -56,6 +56,12 @@ public class EqpAuxiliaryMaterialVo {
|
||||
@ExcelDictFormat(readConverterExp = "可=为空,通用辅料")
|
||||
private Long equipmentId;
|
||||
|
||||
/**
|
||||
* 机组(如:1#机组、2#机组、公用机组等)
|
||||
*/
|
||||
@ExcelProperty(value = "机组")
|
||||
private String unitTeam;
|
||||
|
||||
/**
|
||||
* 当前库存数量
|
||||
*/
|
||||
|
||||
@@ -56,6 +56,12 @@ public class EqpSparePartVo {
|
||||
@ExcelDictFormat(readConverterExp = "可=为空,通用备件")
|
||||
private Long equipmentId;
|
||||
|
||||
/**
|
||||
* 机组(如:1#机组、2#机组、公用机组等)
|
||||
*/
|
||||
@ExcelProperty(value = "机组")
|
||||
private String unitTeam;
|
||||
|
||||
/**
|
||||
* 当前库存数量
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user