Browse Source

更新时, 提醒时间可以为空

master
zhaoqifeng 4 years ago
parent
commit
f258c7c449
  1. 2
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/entity/MemoAttrEntity.java
  2. 5
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/entity/MemoConcernEntity.java
  3. 4
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/entity/MemoDifficultyEntity.java

2
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/entity/MemoAttrEntity.java

@ -31,7 +31,7 @@ public class MemoAttrEntity extends BaseEpmetEntity {
/** /**
* 提醒时间 * 提醒时间
*/ */
@TableField(value="REMIND_TIME",updateStrategy = FieldStrategy.IGNORED,jdbcType = JdbcType.DATE) @TableField(value="REMIND_TIME",updateStrategy = FieldStrategy.IGNORED,jdbcType = JdbcType.TIMESTAMP)
private Date remindTime; private Date remindTime;
/** /**

5
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/entity/MemoConcernEntity.java

@ -1,9 +1,12 @@
package com.epmet.entity; package com.epmet.entity;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; import com.epmet.commons.mybatis.entity.BaseEpmetEntity;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.JdbcType;
import java.util.Date; import java.util.Date;
@ -53,11 +56,13 @@ public class MemoConcernEntity extends BaseEpmetEntity {
/** /**
* 预计关怀时间 * 预计关怀时间
*/ */
@TableField(value="REMIND_TIME",updateStrategy = FieldStrategy.IGNORED,jdbcType = JdbcType.TIMESTAMP)
private Date scheduledTime; private Date scheduledTime;
/** /**
* 实际执行时间(预留字段) * 实际执行时间(预留字段)
*/ */
@TableField(value="REMIND_TIME",updateStrategy = FieldStrategy.IGNORED,jdbcType = JdbcType.TIMESTAMP)
private Date actualTime; private Date actualTime;
/** /**

4
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/entity/MemoDifficultyEntity.java

@ -1,9 +1,12 @@
package com.epmet.entity; package com.epmet.entity;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; import com.epmet.commons.mybatis.entity.BaseEpmetEntity;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.JdbcType;
import java.util.Date; import java.util.Date;
@ -43,6 +46,7 @@ public class MemoDifficultyEntity extends BaseEpmetEntity {
/** /**
* 预计处理时间 * 预计处理时间
*/ */
@TableField(value="REMIND_TIME",updateStrategy = FieldStrategy.IGNORED,jdbcType = JdbcType.TIMESTAMP)
private Date scheduledTime; private Date scheduledTime;
} }

Loading…
Cancel
Save