能力申请增加申请时间
This commit is contained in:
parent
508aef594f
commit
97d26d9e1a
|
@ -0,0 +1 @@
|
||||||
|
alter table `t_ability_application` ADD COLUMN `creator` bigint(20) NULL,ADD COLUMN `create_date` datetime NULL;
|
|
@ -7,6 +7,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -84,4 +85,7 @@ public class TAbilityApplicationDTO extends AuditingBaseDTO implements Serializa
|
||||||
@ApiModelProperty(value = "申请单号")
|
@ApiModelProperty(value = "申请单号")
|
||||||
private String applyNumber;
|
private String applyNumber;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private Date createDate;
|
||||||
|
|
||||||
}
|
}
|
|
@ -5,6 +5,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
@ -54,6 +55,9 @@ public class TAbilityApplicationV2DTO implements Serializable {
|
||||||
@ApiModelProperty(value = "审核状态:审核中,通过,不通过")
|
@ApiModelProperty(value = "审核状态:审核中,通过,不通过")
|
||||||
private String approveStatus;
|
private String approveStatus;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private Date createDate;
|
||||||
|
|
||||||
// 以上为申请时公共信息
|
// 以上为申请时公共信息
|
||||||
|
|
||||||
@ApiModelProperty(value = "资源申请情况(包含资源信息和流程流转)")
|
@ApiModelProperty(value = "资源申请情况(包含资源信息和流程流转)")
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package io.renren.modules.processForm.entity;
|
package io.renren.modules.processForm.entity;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
|
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
|
||||||
|
import io.renren.common.entity.BaseEntity;
|
||||||
import io.renren.modules.sys.dto.SysDeptDTO;
|
import io.renren.modules.sys.dto.SysDeptDTO;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
|
@ -20,11 +20,11 @@ import java.util.List;
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper = false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
@TableName(value = "t_ability_application", autoResultMap = true)
|
@TableName(value = "t_ability_application", autoResultMap = true)
|
||||||
public class TAbilityApplicationEntity implements Serializable {
|
public class TAbilityApplicationEntity extends BaseEntity implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@TableId
|
// @TableId
|
||||||
private Long id;
|
// private Long id;
|
||||||
/**
|
/**
|
||||||
* 申请人
|
* 申请人
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
alter table `t_ability_application` ADD COLUMN `creator` bigint(20) NULL,ADD COLUMN `create_date` datetime NULL;
|
|
@ -28,6 +28,7 @@
|
||||||
<result property="resourceOwnerDept" column="resource_owner_dept"
|
<result property="resourceOwnerDept" column="resource_owner_dept"
|
||||||
typeHandler="com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler"/>
|
typeHandler="com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler"/>
|
||||||
<result property="applyNumber" column="apply_number"/>
|
<result property="applyNumber" column="apply_number"/>
|
||||||
|
<result property="createDate" column="create_date"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<resultMap id="resourceDTO" type="io.renren.modules.processForm.dto.TAbilityApplicationDTO">
|
<resultMap id="resourceDTO" type="io.renren.modules.processForm.dto.TAbilityApplicationDTO">
|
||||||
<result property="id" column="id"/>
|
<result property="id" column="id"/>
|
||||||
|
@ -53,6 +54,7 @@
|
||||||
<result property="resourceOwnerDept" column="resource_owner_dept"
|
<result property="resourceOwnerDept" column="resource_owner_dept"
|
||||||
typeHandler="com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler"/>
|
typeHandler="com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler"/>
|
||||||
<result property="applyNumber" column="apply_number"/>
|
<result property="applyNumber" column="apply_number"/>
|
||||||
|
<result property="createDate" column="create_date"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<update id="updateInstanceId">
|
<update id="updateInstanceId">
|
||||||
|
|
Loading…
Reference in New Issue