diff --git a/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectBaseVO.java b/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectBaseVO.java index 3c52ae7b..98bd2768 100644 --- a/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectBaseVO.java +++ b/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectBaseVO.java @@ -21,6 +21,13 @@ public class ProjectBaseVO { @ApiModelProperty(value = "") private String content; + @ApiModelProperty(value = "") + private Integer state; + + private Object areas; + + private Integer cropId; + @ApiModelProperty(value = "") private Object resources; diff --git a/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectExcelVO.java b/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectExcelVO.java index fe34ade9..212f7437 100644 --- a/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectExcelVO.java +++ b/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectExcelVO.java @@ -23,6 +23,13 @@ public class ProjectExcelVO { @ExcelProperty("") private String content; + @ExcelProperty("") + private Integer state; + + private Object areas; + + private Integer cropId; + @ExcelProperty("") private Object resources; diff --git a/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectExportReqVO.java b/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectExportReqVO.java index aab17ab7..3478b4d5 100644 --- a/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectExportReqVO.java +++ b/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectExportReqVO.java @@ -18,6 +18,12 @@ public class ProjectExportReqVO { @ApiModelProperty(value = "") private String content; + private Integer state; + + private Object areas; + + private Integer cropId; + @ApiModelProperty(value = "") private Object resources; diff --git a/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectPageReqVO.java b/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectPageReqVO.java index f83d399d..bb48a1a8 100644 --- a/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectPageReqVO.java +++ b/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectPageReqVO.java @@ -20,6 +20,12 @@ public class ProjectPageReqVO extends PageParam { @ApiModelProperty(value = "") private String content; + private Integer state; + + private Object areas; + + private Integer cropId; + @ApiModelProperty(value = "") private Object resources; diff --git a/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectSearchPageReqVO.java b/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectSearchPageReqVO.java index 422b6de4..bb7f36f8 100644 --- a/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectSearchPageReqVO.java +++ b/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectSearchPageReqVO.java @@ -25,6 +25,12 @@ public class ProjectSearchPageReqVO extends PageParam { @ApiModelProperty(value = "") private String content; + private Integer state; + + private Object areas; + + private Integer cropId; + @ApiModelProperty(value = "") private String resources; diff --git a/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/dataobject/project/ProjectDO.java b/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/dataobject/project/ProjectDO.java index fa476395..df5974cf 100644 --- a/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/dataobject/project/ProjectDO.java +++ b/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/dataobject/project/ProjectDO.java @@ -32,6 +32,11 @@ public class ProjectDO extends BaseDO { * */ private String content; + private Integer state; + + private Object areas; + + private Integer cropId; /** * */ diff --git a/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/mysql/project/ProjectMapper.java b/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/mysql/project/ProjectMapper.java index ba44aa2a..ae73bf96 100644 --- a/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/mysql/project/ProjectMapper.java +++ b/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/mysql/project/ProjectMapper.java @@ -22,6 +22,9 @@ public interface ProjectMapper extends BaseMapperX { .likeIfPresent(ProjectDO::getName, reqVO.getName()) .eqIfPresent(ProjectDO::getContent, reqVO.getContent()) .eqIfPresent(ProjectDO::getResources, reqVO.getResources()) + .eqIfPresent(ProjectDO::getAreas, reqVO.getAreas()) + .eqIfPresent(ProjectDO::getCropId, reqVO.getCropId()) + .eqIfPresent(ProjectDO::getState, reqVO.getState()) .eqIfPresent(ProjectDO::getImages, reqVO.getImages()) .betweenIfPresent(ProjectDO::getPlanStartTime, reqVO.getBeginPlanStartTime(), reqVO.getEndPlanStartTime()) .betweenIfPresent(ProjectDO::getPlanEndTime, reqVO.getBeginPlanEndTime(), reqVO.getEndPlanEndTime()) @@ -35,6 +38,9 @@ public interface ProjectMapper extends BaseMapperX { .likeIfPresent(ProjectDO::getName, reqVO.getName()) .eqIfPresent(ProjectDO::getContent, reqVO.getContent()) .eqIfPresent(ProjectDO::getResources, reqVO.getResources()) + .eqIfPresent(ProjectDO::getAreas, reqVO.getAreas()) + .eqIfPresent(ProjectDO::getCropId, reqVO.getCropId()) + .eqIfPresent(ProjectDO::getState, reqVO.getState()) .eqIfPresent(ProjectDO::getImages, reqVO.getImages()) .betweenIfPresent(ProjectDO::getPlanStartTime, reqVO.getBeginPlanStartTime(), reqVO.getEndPlanStartTime()) .betweenIfPresent(ProjectDO::getPlanEndTime, reqVO.getBeginPlanEndTime(), reqVO.getEndPlanEndTime()) diff --git a/zsw-farm/zsw-farm-impl/src/main/resources/mapper/project/ProjectMapper.xml b/zsw-farm/zsw-farm-impl/src/main/resources/mapper/project/ProjectMapper.xml index 17563c64..ec0d2044 100644 --- a/zsw-farm/zsw-farm-impl/src/main/resources/mapper/project/ProjectMapper.xml +++ b/zsw-farm/zsw-farm-impl/src/main/resources/mapper/project/ProjectMapper.xml @@ -11,14 +11,22 @@