Commit 4f82f324 authored by 侯彦文's avatar 侯彦文

删除历史数据

parent 048e9fa5
...@@ -40,7 +40,7 @@ import com.yonde.dex.basedata.entity.users.DxUserVO; ...@@ -40,7 +40,7 @@ import com.yonde.dex.basedata.entity.users.DxUserVO;
* @description: ExtPlanBaseLineLink-VO * @description: ExtPlanBaseLineLink-VO
* @author: dexadmin * @author: dexadmin
* @version: V * @version: V
* @date: 2024-10-28 17:18:26 * @date: 2024-10-30 10:31:42
**/ **/
@JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtPlanBaseLineLinkVO.class) @JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtPlanBaseLineLinkVO.class)
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
......
...@@ -30,7 +30,9 @@ import com.yonde.dex.basedata.entity.vo.IdOnlyVO; ...@@ -30,7 +30,9 @@ import com.yonde.dex.basedata.entity.vo.IdOnlyVO;
import cn.hutool.core.convert.Convert; import cn.hutool.core.convert.Convert;
import cn.hutool.core.lang.TypeReference; import cn.hutool.core.lang.TypeReference;
import com.yonde.dex.basedata.entity.data.VersionRelationType; import com.yonde.dex.basedata.entity.data.VersionRelationType;
import com.yonde.dex.logicdelete.plugin.common.entity.DxLogicDeleteVOHolder;
import com.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable; import com.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable;
import com.yonde.dex.logicdelete.plugin.common.entity.DxLogicDeleteVOEmbeddable;
import com.yonde.dex.basedata.entity.vo.IdVO; import com.yonde.dex.basedata.entity.vo.IdVO;
import com.yonde.dcs.plan.common.vo.ExtPlanBaseLineLinkVO; import com.yonde.dcs.plan.common.vo.ExtPlanBaseLineLinkVO;
import com.yonde.dex.basedata.entity.users.DxUserVO; import com.yonde.dex.basedata.entity.users.DxUserVO;
...@@ -39,15 +41,16 @@ import com.yonde.dex.basedata.entity.users.DxUserVO; ...@@ -39,15 +41,16 @@ import com.yonde.dex.basedata.entity.users.DxUserVO;
* @description: ExtPlanParent-VO * @description: ExtPlanParent-VO
* @author: dexadmin * @author: dexadmin
* @version: V * @version: V
* @date: 2024-10-28 17:18:27 * @date: 2024-10-30 10:31:42
**/ **/
@JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtPlanParentVO.class) @JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtPlanParentVO.class)
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Data @Data
@ToString(callSuper = true) @ToString(callSuper = true)
public class ExtPlanParentVO extends IdOnlyVO implements IdVO{ public class ExtPlanParentVO extends IdOnlyVO implements IdVO ,DxLogicDeleteVOHolder{
public static final String DX_ID_EMBEDDABLE_PROP_NAME = "dxIdEmbeddable"; public static final String DX_ID_EMBEDDABLE_PROP_NAME = "dxIdEmbeddable";
public static final String DX_LOGIC_DELETE_EMBEDDABLE_PROP_NAME = "dxLogicDeleteEmbeddable";
public static final String EXT_PLAN_BASE_LINE_LINKS_PROP_NAME = "extPlanBaseLineLinks"; public static final String EXT_PLAN_BASE_LINE_LINKS_PROP_NAME = "extPlanBaseLineLinks";
/** /**
...@@ -57,6 +60,13 @@ public class ExtPlanParentVO extends IdOnlyVO implements IdVO{ ...@@ -57,6 +60,13 @@ public class ExtPlanParentVO extends IdOnlyVO implements IdVO{
@JsonIgnore @JsonIgnore
private DxIdVOEmbeddable dxIdEmbeddable; private DxIdVOEmbeddable dxIdEmbeddable;
/**
* 扩展VO属性
*/
@DexEmbedded()
@JsonIgnore
private DxLogicDeleteVOEmbeddable dxLogicDeleteEmbeddable;
/** /**
* 计划基线link集合 * 计划基线link集合
*/ */
......
...@@ -33,7 +33,7 @@ import com.yonde.dex.linkdata.plugin.entities.DxLinkDataEmbeddable; ...@@ -33,7 +33,7 @@ import com.yonde.dex.linkdata.plugin.entities.DxLinkDataEmbeddable;
* @description: ExtPlanBaseLineLink-PO实体 * @description: ExtPlanBaseLineLink-PO实体
* @author: dexadmin * @author: dexadmin
* @version: V * @version: V
* @date: 2024-9-27 11:03:50 * @date: 2024-10-30 10:31:42
**/ **/
@Entity @Entity
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
......
...@@ -26,19 +26,21 @@ import com.yonde.dex.dao.entity.base.IdEntity; ...@@ -26,19 +26,21 @@ import com.yonde.dex.dao.entity.base.IdEntity;
import javax.persistence.Column; import javax.persistence.Column;
import com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable; import com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable;
import com.yonde.dex.dao.entity.base.IdOnlyEntity; import com.yonde.dex.dao.entity.base.IdOnlyEntity;
import com.yonde.dex.logicdelete.plugin.entities.DxLogicDeleteHolder;
import com.yonde.dex.logicdelete.plugin.entities.DxLogicDeleteEmbeddable;
/** /**
* @description: ExtPlanParent-PO实体 * @description: ExtPlanParent-PO实体
* @author: dexadmin * @author: dexadmin
* @version: V * @version: V
* @date: 2024-10-28 17:18:27 * @date: 2024-10-30 10:31:42
**/ **/
@Entity @Entity
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@NoArgsConstructor @NoArgsConstructor
@Data @Data
@Table(name = "EXT_PLAN_PARENT") @Table(name = "EXT_PLAN_PARENT")
public class ExtPlanParent extends IdOnlyEntity implements IdEntity{ public class ExtPlanParent extends IdOnlyEntity implements IdEntity ,DxLogicDeleteHolder{
/** /**
* dao扩展对象 * dao扩展对象
...@@ -46,6 +48,12 @@ public class ExtPlanParent extends IdOnlyEntity implements IdEntity{ ...@@ -46,6 +48,12 @@ public class ExtPlanParent extends IdOnlyEntity implements IdEntity{
@DexEmbedded() @DexEmbedded()
@Embedded() @Embedded()
private DxIdEntityEmbeddable dxIdEmbeddable; private DxIdEntityEmbeddable dxIdEmbeddable;
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxLogicDeleteEmbeddable dxLogicDeleteEmbeddable;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment