feat(wms): 实现产品和原材料列表空值处理及导出功能
- 在 WmsProductServiceImpl 中添加空值检查逻辑,将 null 值替换为"空置" - 在 WmsRawMaterialServiceImpl 中添加空值检查逻辑,将 null 值替换为"空置" - 为 WmsProductVo 的 productId 字段添加 Excel 导出注解 - 为 WmsRawMaterialVo 的 rawMaterialId 字段添加 Excel 导出注解 - 统一处理两个服务中的空值显示问题,提升数据展示一致性 - 增强列表查询方法的健壮性,避免返回 null 情况下的异常
This commit is contained in:
@@ -25,6 +25,7 @@ public class WmsProductVo {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ExcelProperty(value = "ID")
|
||||
private Long productId;
|
||||
|
||||
/**
|
||||
|
||||
@@ -25,6 +25,7 @@ public class WmsRawMaterialVo {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ExcelProperty(value = "ID")
|
||||
private Long rawMaterialId;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user