farm模块-类型字段修改

This commit is contained in:
顾君禹
2025-08-25 11:28:04 +08:00
parent 7c3be5b624
commit 69e569b1c2
4 changed files with 66 additions and 66 deletions

View File

@@ -17,7 +17,7 @@ public class ModelPestDiseaseWeedPageReqVO extends PageParam {
private String cycleId; private String cycleId;
@Schema(description = "病虫草害类型", example = "2") @Schema(description = "病虫草害类型", example = "2")
private Integer type; private String type;
@Schema(description = "病虫草害名称", example = "芋艿") @Schema(description = "病虫草害名称", example = "芋艿")
private String name; private String name;

View File

@@ -22,7 +22,7 @@ public class ModelPestDiseaseWeedRespVO {
@Schema(description = "病虫草害类型", example = "2") @Schema(description = "病虫草害类型", example = "2")
@ExcelProperty("病虫草害类型") @ExcelProperty("病虫草害类型")
private Integer type; private String type;
@Schema(description = "病虫草害名称", example = "芋艿") @Schema(description = "病虫草害名称", example = "芋艿")
@ExcelProperty("病虫草害名称") @ExcelProperty("病虫草害名称")

View File

@@ -14,7 +14,7 @@ public class ModelPestDiseaseWeedSaveReqVO {
private String cycleId; private String cycleId;
@Schema(description = "病虫草害类型", example = "2") @Schema(description = "病虫草害类型", example = "2")
private Integer type; private String type;
@Schema(description = "病虫草害名称", example = "芋艿") @Schema(description = "病虫草害名称", example = "芋艿")
private String name; private String name;

View File

@@ -34,7 +34,7 @@ public class ModelPestDiseaseWeedDO extends BaseDO {
/** /**
* 病虫草害类型 * 病虫草害类型
*/ */
private Integer type; private String type;
/** /**
* 病虫草害名称 * 病虫草害名称
*/ */