Browse Source

实体字段改变

zyh
小久哥 3 years ago
parent
commit
612e4a428c
  1. 3
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/crop/vo/CropBaseVO.java
  2. 3
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/crop/vo/CropExcelVO.java
  3. 3
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/crop/vo/CropExportReqVO.java
  4. 3
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/crop/vo/CropPageReqVO.java
  5. 3
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/event/vo/EventBaseVO.java
  6. 3
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/event/vo/EventExcelVO.java
  7. 3
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/event/vo/EventExportReqVO.java
  8. 3
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/event/vo/EventPageReqVO.java
  9. 3
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/event/vo/EventSearchPageReqVO.java
  10. 4
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectBaseVO.java
  11. 12
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectExcelVO.java
  12. 11
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectExportReqVO.java
  13. 12
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectPageReqVO.java
  14. 10
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectSearchPageReqVO.java
  15. 3
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/resource/vo/ResourceBaseVO.java
  16. 3
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/resource/vo/ResourceExcelVO.java
  17. 3
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/resource/vo/ResourceExportReqVO.java
  18. 3
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/resource/vo/ResourcePageReqVO.java
  19. 2
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/task/vo/TaskBaseVO.java
  20. 9
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/task/vo/TaskExcelVO.java
  21. 9
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/task/vo/TaskExportReqVO.java
  22. 9
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/task/vo/TaskPageReqVO.java
  23. 10
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/task/vo/TaskPageSearchReqVO.java
  24. 7
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/dataobject/crop/CropDO.java
  25. 7
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/dataobject/event/EventDO.java
  26. 3
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/dataobject/project/ProjectDO.java
  27. 7
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/dataobject/resource/ResourceDO.java
  28. 8
      zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/dataobject/task/TaskDO.java
  29. 2
      zsw-farm/zsw-farm-impl/src/test/java/cn/iocoder/yudao/module/farm/service/project/ProjectServiceImplTest.java

3
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/crop/vo/CropBaseVO.java

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.farm.controller.admin.crop.vo; package cn.iocoder.yudao.module.farm.controller.admin.crop.vo;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -17,7 +18,7 @@ public class CropBaseVO {
private String name; private String name;
@ApiModelProperty(value = "物料图片") @ApiModelProperty(value = "物料图片")
private String images; private JSONArray images;
@ApiModelProperty(value = "当前库存", required = true) @ApiModelProperty(value = "当前库存", required = true)
@NotNull(message = "当前库存不能为空") @NotNull(message = "当前库存不能为空")

3
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/crop/vo/CropExcelVO.java

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.farm.controller.admin.crop.vo; package cn.iocoder.yudao.module.farm.controller.admin.crop.vo;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -21,7 +22,7 @@ public class CropExcelVO {
private String name; private String name;
@ExcelProperty("物料图片") @ExcelProperty("物料图片")
private String images; private JSONArray images;
@ExcelProperty("当前库存") @ExcelProperty("当前库存")
private Integer stock; private Integer stock;

3
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/crop/vo/CropExportReqVO.java

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.farm.controller.admin.crop.vo; package cn.iocoder.yudao.module.farm.controller.admin.crop.vo;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -16,7 +17,7 @@ public class CropExportReqVO {
private String name; private String name;
@ApiModelProperty(value = "物料图片") @ApiModelProperty(value = "物料图片")
private String images; private JSONArray images;
@ApiModelProperty(value = "当前库存") @ApiModelProperty(value = "当前库存")
private Integer stock; private Integer stock;

3
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/crop/vo/CropPageReqVO.java

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.farm.controller.admin.crop.vo; package cn.iocoder.yudao.module.farm.controller.admin.crop.vo;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -18,7 +19,7 @@ public class CropPageReqVO extends PageParam {
private String name; private String name;
@ApiModelProperty(value = "物料图片") @ApiModelProperty(value = "物料图片")
private String images; private JSONArray images;
@ApiModelProperty(value = "当前库存") @ApiModelProperty(value = "当前库存")
private Integer stock; private Integer stock;

3
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/event/vo/EventBaseVO.java

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.farm.controller.admin.event.vo; package cn.iocoder.yudao.module.farm.controller.admin.event.vo;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -27,6 +28,6 @@ public class EventBaseVO {
private String content; private String content;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
private String images; private JSONArray images;
} }

3
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/event/vo/EventExcelVO.java

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.farm.controller.admin.event.vo; package cn.iocoder.yudao.module.farm.controller.admin.event.vo;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -30,7 +31,7 @@ public class EventExcelVO {
private String content; private String content;
@ExcelProperty("") @ExcelProperty("")
private String images; private JSONArray images;
@ExcelProperty("") @ExcelProperty("")
private Date createTime; private Date createTime;

3
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/event/vo/EventExportReqVO.java

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.farm.controller.admin.event.vo; package cn.iocoder.yudao.module.farm.controller.admin.event.vo;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -25,7 +26,7 @@ public class EventExportReqVO {
private String content; private String content;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
private String images; private JSONArray images;
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@ApiModelProperty(value = "开始") @ApiModelProperty(value = "开始")

3
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/event/vo/EventPageReqVO.java

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.farm.controller.admin.event.vo; package cn.iocoder.yudao.module.farm.controller.admin.event.vo;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -27,7 +28,7 @@ public class EventPageReqVO extends PageParam {
private String content; private String content;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
private String images; private JSONArray images;
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@ApiModelProperty(value = "开始") @ApiModelProperty(value = "开始")

3
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/event/vo/EventSearchPageReqVO.java

@ -1,6 +1,7 @@
package cn.iocoder.yudao.module.farm.controller.admin.event.vo; package cn.iocoder.yudao.module.farm.controller.admin.event.vo;
import cn.iocoder.yudao.framework.common.pojo.PageParam; import cn.iocoder.yudao.framework.common.pojo.PageParam;
import com.alibaba.fastjson.JSONArray;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
@ -32,7 +33,7 @@ public class EventSearchPageReqVO extends PageParam {
private String content; private String content;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
private String images; private JSONArray images;
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@ApiModelProperty(value = "开始") @ApiModelProperty(value = "开始")

4
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectBaseVO.java

@ -34,8 +34,8 @@ public class ProjectBaseVO {
@ApiModelProperty("成员选择") @ApiModelProperty("成员选择")
private JSONArray members; private JSONArray members;
@ApiModelProperty(value = "") @ApiModelProperty(value = "项目图片")
private String images; private JSONArray images;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)

12
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectExcelVO.java

@ -1,6 +1,7 @@
package cn.iocoder.yudao.module.farm.controller.admin.project.vo; package cn.iocoder.yudao.module.farm.controller.admin.project.vo;
import cn.hutool.json.JSON; import cn.hutool.json.JSON;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -27,16 +28,13 @@ public class ProjectExcelVO {
@ExcelProperty("") @ExcelProperty("")
private Integer state; private Integer state;
private Object areas; private JSONArray areas;
private Object members; private JSONArray members;
private Integer cropId; private Integer cropId;
@ExcelProperty("") @ExcelProperty("项目图片")
private Object resources; private JSONArray images;
@ExcelProperty("")
private String images;
@ExcelProperty("") @ExcelProperty("")
private Date planStartTime; private Date planStartTime;

11
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectExportReqVO.java

@ -1,6 +1,7 @@
package cn.iocoder.yudao.module.farm.controller.admin.project.vo; package cn.iocoder.yudao.module.farm.controller.admin.project.vo;
import cn.hutool.json.JSON; import cn.hutool.json.JSON;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -21,16 +22,14 @@ public class ProjectExportReqVO {
private Integer state; private Integer state;
private Object areas; private JSONArray areas;
private Integer cropId; private Integer cropId;
@ApiModelProperty(value = "") private JSONArray members;
private Object resources;
private Object members;
@ApiModelProperty(value = "") @ApiModelProperty(value = "项目图片")
private String images; private JSONArray images;
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@ApiModelProperty(value = "开始") @ApiModelProperty(value = "开始")

12
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectPageReqVO.java

@ -1,6 +1,7 @@
package cn.iocoder.yudao.module.farm.controller.admin.project.vo; package cn.iocoder.yudao.module.farm.controller.admin.project.vo;
import cn.hutool.json.JSON; import cn.hutool.json.JSON;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -23,16 +24,13 @@ public class ProjectPageReqVO extends PageParam {
private Integer state; private Integer state;
private Object areas; private JSONArray areas;
private Object members; private JSONArray members;
private Integer cropId; private Integer cropId;
@ApiModelProperty(value = "") @ApiModelProperty(value = "项目图片")
private Object resources; private JSONArray images;
@ApiModelProperty(value = "")
private String images;
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@ApiModelProperty(value = "开始") @ApiModelProperty(value = "开始")

10
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/vo/ProjectSearchPageReqVO.java

@ -2,6 +2,7 @@ package cn.iocoder.yudao.module.farm.controller.admin.project.vo;
import cn.hutool.json.JSON; import cn.hutool.json.JSON;
import cn.iocoder.yudao.framework.common.pojo.PageParam; import cn.iocoder.yudao.framework.common.pojo.PageParam;
import com.alibaba.fastjson.JSONArray;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
@ -28,17 +29,14 @@ public class ProjectSearchPageReqVO extends PageParam {
private Integer state; private Integer state;
private Object areas; private JSONArray areas;
private Integer cropId; private Integer cropId;
@ApiModelProperty(value = "") private JSONArray members;
private String resources;
private Object members;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
private String images; private JSONArray images;
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@ApiModelProperty(value = "开始") @ApiModelProperty(value = "开始")

3
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/resource/vo/ResourceBaseVO.java

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.farm.controller.admin.resource.vo; package cn.iocoder.yudao.module.farm.controller.admin.resource.vo;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -25,7 +26,7 @@ public class ResourceBaseVO {
private String content; private String content;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
private String images; private JSONArray images;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)

3
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/resource/vo/ResourceExcelVO.java

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.farm.controller.admin.resource.vo; package cn.iocoder.yudao.module.farm.controller.admin.resource.vo;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -27,7 +28,7 @@ public class ResourceExcelVO {
private String content; private String content;
@ExcelProperty("") @ExcelProperty("")
private String images; private JSONArray images;
@ExcelProperty("") @ExcelProperty("")
private Date validityStartTime; private Date validityStartTime;

3
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/resource/vo/ResourceExportReqVO.java

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.farm.controller.admin.resource.vo; package cn.iocoder.yudao.module.farm.controller.admin.resource.vo;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -22,7 +23,7 @@ public class ResourceExportReqVO {
private String content; private String content;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
private String images; private JSONArray images;
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@ApiModelProperty(value = "开始") @ApiModelProperty(value = "开始")

3
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/resource/vo/ResourcePageReqVO.java

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.farm.controller.admin.resource.vo; package cn.iocoder.yudao.module.farm.controller.admin.resource.vo;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -24,7 +25,7 @@ public class ResourcePageReqVO extends PageParam {
private String content; private String content;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
private String images; private JSONArray images;
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@ApiModelProperty(value = "开始") @ApiModelProperty(value = "开始")

2
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/task/vo/TaskBaseVO.java

@ -32,7 +32,7 @@ public class TaskBaseVO {
private Integer workingHours; private Integer workingHours;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
private Object images; private JSONArray images;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)

9
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/task/vo/TaskExcelVO.java

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.farm.controller.admin.task.vo; package cn.iocoder.yudao.module.farm.controller.admin.task.vo;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -28,15 +29,15 @@ public class TaskExcelVO {
private Integer taskCateName; private Integer taskCateName;
@ExcelProperty("") @ExcelProperty("")
private Object resources; private JSONArray resources;
private Object areas; private JSONArray areas;
private Integer mainPerson; private Integer mainPerson;
private Object executorPerson; private JSONArray executorPerson;
private Integer workingHours; private Integer workingHours;
@ExcelProperty("") @ExcelProperty("")
private Object images; private JSONArray images;
@ExcelProperty("") @ExcelProperty("")
private Date planStartTime; private Date planStartTime;

9
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/task/vo/TaskExportReqVO.java

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.farm.controller.admin.task.vo; package cn.iocoder.yudao.module.farm.controller.admin.task.vo;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -20,15 +21,15 @@ public class TaskExportReqVO {
private Integer taskCateName; private Integer taskCateName;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
private Object resources; private JSONArray resources;
private Object areas; private JSONArray areas;
private Integer mainPerson; private Integer mainPerson;
private Object executorPerson; private JSONArray executorPerson;
private Integer workingHours; private Integer workingHours;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
private Object images; private JSONArray images;
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@ApiModelProperty(value = "开始") @ApiModelProperty(value = "开始")

9
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/task/vo/TaskPageReqVO.java

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.farm.controller.admin.task.vo; package cn.iocoder.yudao.module.farm.controller.admin.task.vo;
import com.alibaba.fastjson.JSONArray;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -22,15 +23,15 @@ public class TaskPageReqVO extends PageParam {
private Integer taskCateName; private Integer taskCateName;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
private Object resources; private JSONArray resources;
private Object areas; private JSONArray areas;
private Integer mainPerson; private Integer mainPerson;
private Object executorPerson; private JSONArray executorPerson;
private Integer workingHours; private Integer workingHours;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
private Object images; private JSONArray images;
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@ApiModelProperty(value = "开始") @ApiModelProperty(value = "开始")

10
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/task/vo/TaskPageSearchReqVO.java

@ -1,6 +1,7 @@
package cn.iocoder.yudao.module.farm.controller.admin.task.vo; package cn.iocoder.yudao.module.farm.controller.admin.task.vo;
import cn.iocoder.yudao.framework.common.pojo.PageParam; import cn.iocoder.yudao.framework.common.pojo.PageParam;
import com.alibaba.fastjson.JSONArray;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
@ -27,15 +28,16 @@ public class TaskPageSearchReqVO extends PageParam {
private Integer taskCateName; private Integer taskCateName;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
private String resources; private JSONArray resources;
private Object areas; private JSONArray areas;
private Integer mainPerson; private Integer mainPerson;
private Object executorPerson; private JSONArray executorPerson;
private Integer workingHours; private Integer workingHours;
@ApiModelProperty(value = "") @ApiModelProperty(value = "")
private Object images; private JSONArray images;
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@ApiModelProperty(value = "开始") @ApiModelProperty(value = "开始")

7
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/dataobject/crop/CropDO.java

@ -1,5 +1,7 @@
package cn.iocoder.yudao.module.farm.dal.dataobject.crop; package cn.iocoder.yudao.module.farm.dal.dataobject.crop;
import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
@ -10,7 +12,7 @@ import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
* *
* @author 系统管理员 * @author 系统管理员
*/ */
@TableName("farm_crop") @TableName(value = "farm_crop", autoResultMap = true)
@Data @Data
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true) @ToString(callSuper = true)
@ -31,7 +33,8 @@ public class CropDO extends BaseDO {
/** /**
* 物料图片 * 物料图片
*/ */
private String images; @TableField(typeHandler = JacksonTypeHandler.class)
private JSONArray images;
/** /**
* 当前库存 * 当前库存
*/ */

7
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/dataobject/event/EventDO.java

@ -1,5 +1,7 @@
package cn.iocoder.yudao.module.farm.dal.dataobject.event; package cn.iocoder.yudao.module.farm.dal.dataobject.event;
import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
@ -10,7 +12,7 @@ import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
* *
* @author 系统管理员 * @author 系统管理员
*/ */
@TableName("farm_event") @TableName(value = "farm_event", autoResultMap = true)
@Data @Data
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true) @ToString(callSuper = true)
@ -43,6 +45,7 @@ public class EventDO extends BaseDO {
/** /**
* *
*/ */
private String images; @TableField(typeHandler = JacksonTypeHandler.class)
private JSONArray images;
} }

3
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/dataobject/project/ProjectDO.java

@ -49,7 +49,8 @@ public class ProjectDO extends BaseDO {
/** /**
* *
*/ */
private String images; @TableField(typeHandler = JacksonTypeHandler.class)
private JSONArray images;
/** /**
* *
*/ */

7
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/dataobject/resource/ResourceDO.java

@ -1,5 +1,7 @@
package cn.iocoder.yudao.module.farm.dal.dataobject.resource; package cn.iocoder.yudao.module.farm.dal.dataobject.resource;
import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.*; import lombok.*;
import java.util.*; import java.util.*;
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
@ -10,7 +12,7 @@ import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
* *
* @author 系统管理员 * @author 系统管理员
*/ */
@TableName("farm_resource") @TableName(value = "farm_resource", autoResultMap = true)
@Data @Data
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true) @ToString(callSuper = true)
@ -39,7 +41,8 @@ public class ResourceDO extends BaseDO {
/** /**
* *
*/ */
private String images; @TableField(typeHandler = JacksonTypeHandler.class)
private JSONArray images;
/** /**
* *
*/ */

8
zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/dal/dataobject/task/TaskDO.java

@ -54,10 +54,10 @@ public class TaskDO extends BaseDO {
@ApiModelProperty("区域及子区域") @ApiModelProperty("区域及子区域")
@TableField(typeHandler = JacksonTypeHandler.class) @TableField(typeHandler = JacksonTypeHandler.class)
private JSONArray areas; private JSONArray areas;
/**
* @ApiModelProperty("任务图片")
*/ @TableField(typeHandler = JacksonTypeHandler.class)
private Object images; private JSONArray images;
/** /**
* *
*/ */

2
zsw-farm/zsw-farm-impl/src/test/java/cn/iocoder/yudao/module/farm/service/project/ProjectServiceImplTest.java

@ -135,7 +135,6 @@ public class ProjectServiceImplTest extends BaseDbUnitTest {
ProjectPageReqVO reqVO = new ProjectPageReqVO(); ProjectPageReqVO reqVO = new ProjectPageReqVO();
reqVO.setName(null); reqVO.setName(null);
reqVO.setContent(null); reqVO.setContent(null);
reqVO.setResources(null);
reqVO.setImages(null); reqVO.setImages(null);
reqVO.setBeginPlanStartTime(null); reqVO.setBeginPlanStartTime(null);
reqVO.setEndPlanStartTime(null); reqVO.setEndPlanStartTime(null);
@ -185,7 +184,6 @@ public class ProjectServiceImplTest extends BaseDbUnitTest {
ProjectExportReqVO reqVO = new ProjectExportReqVO(); ProjectExportReqVO reqVO = new ProjectExportReqVO();
reqVO.setName(null); reqVO.setName(null);
reqVO.setContent(null); reqVO.setContent(null);
reqVO.setResources(null);
reqVO.setImages(null); reqVO.setImages(null);
reqVO.setBeginPlanStartTime(null); reqVO.setBeginPlanStartTime(null);
reqVO.setEndPlanStartTime(null); reqVO.setEndPlanStartTime(null);

Loading…
Cancel
Save