Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dcs-plan
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
INET-TWO
server
dcs-plan
Commits
4f82f324
Commit
4f82f324
authored
Oct 30, 2024
by
侯彦文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除历史数据
parent
048e9fa5
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
6 deletions
+24
-6
ExtPlanBaseLineLinkVO.java
...a/com/yonde/dcs/plan/common/vo/ExtPlanBaseLineLinkVO.java
+1
-1
ExtPlanParentVO.java
...in/java/com/yonde/dcs/plan/common/vo/ExtPlanParentVO.java
+12
-2
ExtPlanBaseLineLink.java
...ava/com/yonde/dcs/plan/entity/po/ExtPlanBaseLineLink.java
+1
-1
ExtPlanParent.java
...main/java/com/yonde/dcs/plan/entity/po/ExtPlanParent.java
+10
-2
No files found.
dcs-plan-common/src/main/java/com/yonde/dcs/plan/common/vo/ExtPlanBaseLineLinkVO.java
View file @
4f82f324
...
...
@@ -40,7 +40,7 @@ import com.yonde.dex.basedata.entity.users.DxUserVO;
* @description: ExtPlanBaseLineLink-VO
* @author: dexadmin
* @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
)
@EqualsAndHashCode
(
callSuper
=
true
)
...
...
dcs-plan-common/src/main/java/com/yonde/dcs/plan/common/vo/ExtPlanParentVO.java
View file @
4f82f324
...
...
@@ -30,7 +30,9 @@ import com.yonde.dex.basedata.entity.vo.IdOnlyVO;
import
cn.hutool.core.convert.Convert
;
import
cn.hutool.core.lang.TypeReference
;
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.logicdelete.plugin.common.entity.DxLogicDeleteVOEmbeddable
;
import
com.yonde.dex.basedata.entity.vo.IdVO
;
import
com.yonde.dcs.plan.common.vo.ExtPlanBaseLineLinkVO
;
import
com.yonde.dex.basedata.entity.users.DxUserVO
;
...
...
@@ -39,15 +41,16 @@ import com.yonde.dex.basedata.entity.users.DxUserVO;
* @description: ExtPlanParent-VO
* @author: dexadmin
* @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
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Data
@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_LOGIC_DELETE_EMBEDDABLE_PROP_NAME
=
"dxLogicDeleteEmbeddable"
;
public
static
final
String
EXT_PLAN_BASE_LINE_LINKS_PROP_NAME
=
"extPlanBaseLineLinks"
;
/**
...
...
@@ -57,6 +60,13 @@ public class ExtPlanParentVO extends IdOnlyVO implements IdVO{
@JsonIgnore
private
DxIdVOEmbeddable
dxIdEmbeddable
;
/**
* 扩展VO属性
*/
@DexEmbedded
()
@JsonIgnore
private
DxLogicDeleteVOEmbeddable
dxLogicDeleteEmbeddable
;
/**
* 计划基线link集合
*/
...
...
dcs-plan-entity/src/main/java/com/yonde/dcs/plan/entity/po/ExtPlanBaseLineLink.java
View file @
4f82f324
...
...
@@ -33,7 +33,7 @@ import com.yonde.dex.linkdata.plugin.entities.DxLinkDataEmbeddable;
* @description: ExtPlanBaseLineLink-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-
9-27 11:03:50
* @date: 2024-
10-30 10:31:42
**/
@Entity
@EqualsAndHashCode
(
callSuper
=
true
)
...
...
dcs-plan-entity/src/main/java/com/yonde/dcs/plan/entity/po/ExtPlanParent.java
View file @
4f82f324
...
...
@@ -26,19 +26,21 @@ import com.yonde.dex.dao.entity.base.IdEntity;
import
javax.persistence.Column
;
import
com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable
;
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实体
* @author: dexadmin
* @version: V
* @date: 2024-10-
28 17:18:27
* @date: 2024-10-
30 10:31:42
**/
@Entity
@EqualsAndHashCode
(
callSuper
=
true
)
@NoArgsConstructor
@Data
@Table
(
name
=
"EXT_PLAN_PARENT"
)
public
class
ExtPlanParent
extends
IdOnlyEntity
implements
IdEntity
{
public
class
ExtPlanParent
extends
IdOnlyEntity
implements
IdEntity
,
DxLogicDeleteHolder
{
/**
* dao扩展对象
...
...
@@ -46,6 +48,12 @@ public class ExtPlanParent extends IdOnlyEntity implements IdEntity{
@DexEmbedded
()
@Embedded
()
private
DxIdEntityEmbeddable
dxIdEmbeddable
;
/**
* 扩展PO属性
*/
@DexEmbedded
()
@Embedded
()
private
DxLogicDeleteEmbeddable
dxLogicDeleteEmbeddable
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment