|
|
|
@ -1,26 +1,27 @@
|
|
|
|
|
package cn.iocoder.yudao.module.farm.dal.dataobject.task; |
|
|
|
|
|
|
|
|
|
import cn.hutool.extra.spring.SpringUtil; |
|
|
|
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; |
|
|
|
|
import cn.iocoder.yudao.framework.mybatis.core.handler.ListIntToListLongTypeHandler; |
|
|
|
|
import cn.iocoder.yudao.framework.security.core.LoginUser; |
|
|
|
|
import cn.iocoder.yudao.framework.security.core.util.SecurityFrameworkUtils; |
|
|
|
|
import cn.iocoder.yudao.module.farm.enums.TaskStatus; |
|
|
|
|
import cn.iocoder.yudao.module.system.dal.dataobject.permission.RoleDO; |
|
|
|
|
import cn.iocoder.yudao.module.system.dict.Dict; |
|
|
|
|
import cn.iocoder.yudao.module.system.service.permission.RoleService; |
|
|
|
|
import com.alibaba.fastjson.JSONArray; |
|
|
|
|
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler; |
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField; |
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableId; |
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName; |
|
|
|
|
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler; |
|
|
|
|
import com.google.common.collect.Maps; |
|
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
|
import cn.iocoder.yudao.module.farm.enums.TaskStatus; |
|
|
|
|
import lombok.*; |
|
|
|
|
|
|
|
|
|
import java.sql.JDBCType; |
|
|
|
|
import java.sql.Types; |
|
|
|
|
import java.util.*; |
|
|
|
|
import com.baomidou.mybatisplus.annotation.*; |
|
|
|
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; |
|
|
|
|
import org.apache.ibatis.type.JdbcType; |
|
|
|
|
import java.util.Date; |
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.Map; |
|
|
|
|
import java.util.Optional; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 农场项目 DO |
|
|
|
@ -50,8 +51,8 @@ public class TaskDO extends BaseDO {
|
|
|
|
|
private Long mainPerson; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty("执行人idList") |
|
|
|
|
@TableField(typeHandler = JacksonTypeHandler.class) |
|
|
|
|
private JSONArray executorPerson; |
|
|
|
|
@TableField(typeHandler = ListIntToListLongTypeHandler.class) |
|
|
|
|
private List<Long> executorPerson; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty("工时") |
|
|
|
|
private Integer workingHours; |
|
|
|
@ -70,7 +71,7 @@ public class TaskDO extends BaseDO {
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty("任务图片") |
|
|
|
|
@TableField(typeHandler = JacksonTypeHandler.class) |
|
|
|
|
private JSONArray images; |
|
|
|
|
private List<String> images; |
|
|
|
|
/** |
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|