修复样品类型导入导出 默认类型不对问题

This commit is contained in:
dengchun
2025-05-01 11:16:23 +08:00
parent bfdae0e0f0
commit a9eb923350

View File

@@ -55,13 +55,14 @@ public class SearchResult implements Serializable {
/** /**
* 搜索的数据类型,参考枚举 @ComponentSearchType * 搜索的数据类型,参考枚举 @ComponentSearchType
* 默认值是样品类型调用地方样品类型excel导入时候
*/ */
@Schema(description = "数据类型") @Schema(description = "数据类型")
private int dataType; private int dataType = 3;
/** /**
* 搜索的内容 * 搜索的内容
*/ */
@Excel(name = "内容", width = 15) @Excel(name = "内容", width = 20)
@Schema(description = "搜索内容") @Schema(description = "搜索内容")
private String content; private String content;