Commit 592a3bfd authored by wangyangyang's avatar wangyangyang

项目:加项目-收入合同link模型

parent 08d35cf6
......@@ -59,13 +59,17 @@
<groupId>com.yonde.dex</groupId>
<artifactId>dex-context-plugin-common</artifactId>
</dependency>
<!-- <dependency>-->
<!-- <groupId>com.yonde.dcs</groupId>-->
<!-- <artifactId>dcs-doc-expand-common</artifactId>-->
<!-- <version>4.1-20240919-RELEASE</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>com.yonde.dcs</groupId>-->
<!-- <artifactId>dcs-doc-expand-common</artifactId>-->
<!-- <version>4.1-20240919-RELEASE</version>-->
<!-- </dependency>-->
<dependency>
<groupId>com.yonde.dcs</groupId>
<artifactId>dcs-plan-common</artifactId>
<version>4.1-20240919-RELEASE</version>
</dependency>
</dependencies>
</project>
......@@ -8,7 +8,6 @@ import cn.hutool.core.convert.Convert;
import com.yonde.dex.basedata.entity.annotation.XmlElementProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
import com.yonde.dex.context.common.vo.DxContextProjectVO;
import com.yonde.dex.context.common.vo.DxContextVO;
import lombok.ToString;
import com.fasterxml.jackson.annotation.JsonIgnore;
......@@ -44,13 +43,13 @@ import com.yonde.dex.basedata.entity.users.DxUserVO;
* @description: ExtProgramProjectLink-VO
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtProgramProjectLinkVO.class)
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class ExtProgramProjectLinkVO extends IdOnlyVO implements IdVO ,DxLinkDataVOHolder<ExtProgramVO, DxContextProjectVO> ,DxLogicDeleteVOHolder{
public class ExtProgramProjectLinkVO extends IdOnlyVO implements IdVO ,DxLinkDataVOHolder<ExtProgramVO, DxContextVO> ,DxLogicDeleteVOHolder{
public static final String DX_ID_EMBEDDABLE_PROP_NAME = "dxIdEmbeddable";
public static final String DX_LOGIC_DELETE_EMBEDDABLE_PROP_NAME = "dxLogicDeleteEmbeddable";
......@@ -75,7 +74,7 @@ public class ExtProgramProjectLinkVO extends IdOnlyVO implements IdVO ,DxLinkDat
*/
@DexEmbedded()
@JsonIgnore
private DxLinkDataVOEmbeddable<ExtProgramVO, DxContextProjectVO> dxLinkDataEmbeddable;
private DxLinkDataVOEmbeddable<ExtProgramVO, DxContextVO> dxLinkDataEmbeddable;
}
......
......@@ -8,8 +8,6 @@ import cn.hutool.core.convert.Convert;
import com.yonde.dex.basedata.entity.annotation.XmlElementProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
import com.yonde.dex.user.common.vo.DxOrganizationVO;
import com.yonde.dex.user.common.vo.DxUserInfoVO;
import lombok.ToString;
import com.fasterxml.jackson.annotation.JsonIgnore;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
......@@ -40,14 +38,16 @@ import com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOHolder;
import com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOEmbeddable;
import com.yonde.dex.dfs.objfilelink.plugin.common.entity.DxObjFileLinkVOHolder;
import com.yonde.dex.basic.common.vo.ExtProgramProjectLinkVO;
import com.yonde.dex.user.common.vo.DxUserInfoVO;
import com.yonde.dex.dfs.objfilelink.plugin.common.entity.DxObjFileLinkVOEmbeddable;
import com.yonde.dex.basedata.entity.users.DxUserVO;
import com.yonde.dex.user.common.vo.DxOrganizationVO;
/**
* @description: ExtProgram-VO
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtProgramVO.class)
@EqualsAndHashCode(callSuper = true)
......
package com.yonde.dex.basic.common.vo;
import javax.validation.constraints.NotBlank;
import java.util.Date;
import java.time.LocalDateTime;
import java.util.ArrayList;
import cn.hutool.core.convert.Convert;
import com.yonde.dex.basedata.entity.annotation.XmlElementProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
import com.yonde.dex.context.common.vo.DxContextProjectVO;
import lombok.ToString;
import com.fasterxml.jackson.annotation.JsonIgnore;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.math.BigInteger;
import org.springframework.data.annotation.Transient;
import lombok.experimental.Delegate;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.XmlAttribute;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotNull;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.yonde.dex.basedata.entity.xmladapters.LocalDateTimeXmlAdapter;
import lombok.Data;
import com.yonde.dex.basedata.entity.annotation.*;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
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.basedata.entity.vo.DxIdVOEmbeddable;
import com.yonde.dex.basedata.entity.vo.IdVO;
import com.yonde.dex.linkdata.plugin.common.DxLinkDataVOHolder;
import com.yonde.dex.linkdata.plugin.common.DxLinkDataVOEmbeddable;
import com.yonde.dcs.plan.common.vo.ExtInComeContractVO;
import com.yonde.dex.basedata.entity.users.DxUserVO;
/**
* @description: ExtProjectContractLink-VO
* @author: dexadmin
* @version: V
* @date: 2024-10-18 9:59:56
**/
@JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtProjectContractLinkVO.class)
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
@DexTypeVersionProp(propName = "target", join = @VersionProperty(curVersion = VersionRelationType.NONE, refVersion = VersionRelationType.ITERATION))
public class ExtProjectContractLinkVO extends IdOnlyVO implements IdVO ,DxLinkDataVOHolder<DxContextProjectVO, ExtInComeContractVO>{
public static final String DX_ID_EMBEDDABLE_PROP_NAME = "dxIdEmbeddable";
public static final String DX_LINK_DATA_EMBEDDABLE_PROP_NAME = "dxLinkDataEmbeddable";
/**
* dao扩展对象
*/
@DexEmbedded()
@JsonIgnore
private DxIdVOEmbeddable dxIdEmbeddable;
/**
* 扩展VO属性
*/
@DexEmbedded()
@JsonIgnore
private DxLinkDataVOEmbeddable<DxContextProjectVO, ExtInComeContractVO> dxLinkDataEmbeddable;
}
......@@ -20,7 +20,7 @@ import com.yonde.dex.basic.expand.plugin.DxViewVOPluginExpand;
* @description: DxView-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
@EqualsAndHashCode
@Data
......
......@@ -11,7 +11,7 @@ import com.yonde.dex.basic.expand.entity.DxViewVOExpand;
* @description: DxView-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
public interface DxViewVOPluginExpand<V extends DxViewVOPluginExpand> {
......
......@@ -21,7 +21,7 @@ import com.yonde.dex.context.expand.entity.DxContextVOExpand;
* @description: DxContextEnterprise-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
@EqualsAndHashCode
@Data
......
......@@ -21,7 +21,7 @@ import com.yonde.dex.context.expand.entity.DxContextVOExpand;
* @description: DxContextLibrary-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
@EqualsAndHashCode
@Data
......
......@@ -21,7 +21,7 @@ import com.yonde.dex.context.expand.entity.DxContextVOExpand;
* @description: DxContextProduction-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@EqualsAndHashCode
@Data
......
......@@ -15,18 +15,27 @@ import cn.hutool.core.convert.Convert;
import cn.hutool.core.lang.TypeReference;
import java.util.List;
import com.yonde.dex.context.expand.plugin.DxContextProjectVOPluginExpand;
import com.yonde.dex.basic.common.vo.ExtProjectContractLinkVO;
import com.yonde.dex.context.expand.entity.DxContextVOExpand;
/**
* @description: DxContextProject-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@EqualsAndHashCode
@Data
@ToString(callSuper = true)
public class DxContextProjectVOExpand<V extends DxContextProjectVOPluginExpand> implements Serializable{
public static final String EXT_PROJECT_CONTRACT_LINKS_PROP_NAME = "extProjectContractLinks";
/**
* 项目收入合同link集合
*/
@RelationProperty(refProperty = "source")
@VersionProperty(curVersion = VersionRelationType.NONE, refVersion = VersionRelationType.NONE)
private List<ExtProjectContractLinkVO> extProjectContractLinks;
}
......
......@@ -20,7 +20,7 @@ import com.yonde.dex.context.expand.plugin.DxContextTeamMemberVOPluginExpand;
* @description: DxContextTeamMember-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
@EqualsAndHashCode
@Data
......
......@@ -20,7 +20,7 @@ import com.yonde.dex.context.expand.plugin.DxContextTeamVOPluginExpand;
* @description: DxContextTeam-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
@EqualsAndHashCode
@Data
......
package com.yonde.dex.context.expand.entity;
import com.yonde.dex.user.common.vo.DxOrganizationVO;
import com.yonde.dex.user.common.vo.DxUserInfoVO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
......@@ -19,13 +17,15 @@ import java.util.List;
import com.yonde.dex.context.expand.plugin.DxContextVOPluginExpand;
import com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOEmbeddable;
import com.yonde.dex.basic.common.vo.ExtProgramProjectLinkVO;
import com.yonde.dex.user.common.vo.DxUserInfoVO;
import com.yonde.dex.dfs.objfilelink.plugin.common.entity.DxObjFileLinkVOEmbeddable;
import com.yonde.dex.user.common.vo.DxOrganizationVO;
/**
* @description: DxContext-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-10-17 13:59:35
* @date: 2024-10-18 9:59:55
**/
@EqualsAndHashCode
@Data
......
......@@ -12,7 +12,7 @@ import com.yonde.dex.context.expand.plugin.DxContextVOPluginExpand;
* @description: DxContextEnterprise-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
public interface DxContextEnterpriseVOPluginExpand<V extends DxContextEnterpriseVOPluginExpand> {
......
......@@ -12,7 +12,7 @@ import com.yonde.dex.context.expand.plugin.DxContextVOPluginExpand;
* @description: DxContextLibrary-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
public interface DxContextLibraryVOPluginExpand<V extends DxContextLibraryVOPluginExpand> {
......
......@@ -12,7 +12,7 @@ import com.yonde.dex.context.expand.plugin.DxContextVOPluginExpand;
* @description: DxContextProduction-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface DxContextProductionVOPluginExpand<V extends DxContextProductionVOPluginExpand> {
......
......@@ -7,12 +7,13 @@ import java.math.BigInteger;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.yonde.dex.context.expand.entity.DxContextProjectVOExpand;
import com.yonde.dex.basic.common.vo.ExtProjectContractLinkVO;
import com.yonde.dex.context.expand.plugin.DxContextVOPluginExpand;
/**
* @description: DxContextProject-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface DxContextProjectVOPluginExpand<V extends DxContextProjectVOPluginExpand> {
......@@ -20,4 +21,10 @@ public interface DxContextProjectVOPluginExpand<V extends DxContextProjectVOPlug
void setDxContextProjectExpand(DxContextProjectVOExpand<V> dxContextProjectExpand);
default List<ExtProjectContractLinkVO> getExtProjectContractLinks() {
return DxExpandUtils.getNotNullObject(this::getDxContextProjectExpand,this::setDxContextProjectExpand,new DxContextProjectVOExpand<>()).getExtProjectContractLinks();
}
default void setExtProjectContractLinks(List<ExtProjectContractLinkVO> extProjectContractLinks) {
DxExpandUtils.getNotNullObject(this::getDxContextProjectExpand,this::setDxContextProjectExpand,new DxContextProjectVOExpand<>()).setExtProjectContractLinks(extProjectContractLinks);
}
}
......@@ -11,7 +11,7 @@ import com.yonde.dex.context.expand.entity.DxContextTeamMemberVOExpand;
* @description: DxContextTeamMember-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
public interface DxContextTeamMemberVOPluginExpand<V extends DxContextTeamMemberVOPluginExpand> {
......
......@@ -11,7 +11,7 @@ import com.yonde.dex.context.expand.entity.DxContextTeamVOExpand;
* @description: DxContextTeam-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
public interface DxContextTeamVOPluginExpand<V extends DxContextTeamVOPluginExpand> {
......
......@@ -19,7 +19,7 @@ import com.yonde.dex.user.common.vo.DxUserInfoVO;
* @description: DxContext-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-10-17 13:59:35
* @date: 2024-10-18 9:59:55
**/
public interface DxContextVOPluginExpand<V extends DxContextVOPluginExpand> extends DxObjFileLinkVOHolder ,DxSecretVOHolder{
......
......@@ -20,7 +20,7 @@ import com.yonde.dex.user.expand.plugin.DxGroupLinkVOPluginExpand;
* @description: DxGroupLink-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@EqualsAndHashCode
@Data
......
......@@ -20,7 +20,7 @@ import com.yonde.dex.user.expand.plugin.DxGroupMemberLinkVOPluginExpand;
* @description: DxGroupMemberLink-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@EqualsAndHashCode
@Data
......
......@@ -21,7 +21,7 @@ import com.yonde.dex.user.expand.entity.DxPrincipalVOExpand;
* @description: DxGroup-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
@EqualsAndHashCode
@Data
......
......@@ -20,7 +20,7 @@ import com.yonde.dex.user.expand.plugin.DxOrganizationGroupLinkVOPluginExpand;
* @description: DxOrganizationGroupLink-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@EqualsAndHashCode
@Data
......
......@@ -21,7 +21,7 @@ import com.yonde.dex.user.expand.entity.DxPrincipalVOExpand;
* @description: DxOrganization-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
@EqualsAndHashCode
@Data
......
......@@ -20,7 +20,7 @@ import com.yonde.dex.user.expand.plugin.DxPostMemberLinkVOPluginExpand;
* @description: DxPostMemberLink-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@EqualsAndHashCode
@Data
......
......@@ -20,7 +20,7 @@ import com.yonde.dex.user.expand.plugin.DxPostVOPluginExpand;
* @description: DxPost-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@EqualsAndHashCode
@Data
......
......@@ -20,7 +20,7 @@ import com.yonde.dex.user.expand.plugin.DxPrincipalLinkVOPluginExpand;
* @description: DxPrincipalLink-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
@EqualsAndHashCode
@Data
......
......@@ -20,7 +20,7 @@ import com.yonde.dex.user.expand.plugin.DxPrincipalVOPluginExpand;
* @description: DxPrincipal-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
@EqualsAndHashCode
@Data
......
......@@ -21,7 +21,7 @@ import com.yonde.dex.user.expand.entity.DxPrincipalVOExpand;
* @description: DxUserInfo-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@EqualsAndHashCode
@Data
......
......@@ -11,7 +11,7 @@ import com.yonde.dex.user.expand.entity.DxGroupLinkVOExpand;
* @description: DxGroupLink-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface DxGroupLinkVOPluginExpand<V extends DxGroupLinkVOPluginExpand> {
......
......@@ -11,7 +11,7 @@ import com.yonde.dex.user.expand.entity.DxGroupMemberLinkVOExpand;
* @description: DxGroupMemberLink-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface DxGroupMemberLinkVOPluginExpand<V extends DxGroupMemberLinkVOPluginExpand> {
......
......@@ -12,7 +12,7 @@ import com.yonde.dex.user.expand.plugin.DxPrincipalVOPluginExpand;
* @description: DxGroup-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
public interface DxGroupVOPluginExpand<V extends DxGroupVOPluginExpand> {
......
......@@ -11,7 +11,7 @@ import com.yonde.dex.user.expand.entity.DxOrganizationGroupLinkVOExpand;
* @description: DxOrganizationGroupLink-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface DxOrganizationGroupLinkVOPluginExpand<V extends DxOrganizationGroupLinkVOPluginExpand> {
......
......@@ -12,7 +12,7 @@ import com.yonde.dex.user.expand.plugin.DxPrincipalVOPluginExpand;
* @description: DxOrganization-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
public interface DxOrganizationVOPluginExpand<V extends DxOrganizationVOPluginExpand> {
......
......@@ -11,7 +11,7 @@ import com.yonde.dex.user.expand.entity.DxPostMemberLinkVOExpand;
* @description: DxPostMemberLink-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface DxPostMemberLinkVOPluginExpand<V extends DxPostMemberLinkVOPluginExpand> {
......
......@@ -11,7 +11,7 @@ import com.yonde.dex.user.expand.entity.DxPostVOExpand;
* @description: DxPost-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface DxPostVOPluginExpand<V extends DxPostVOPluginExpand> {
......
......@@ -11,7 +11,7 @@ import com.yonde.dex.user.expand.entity.DxPrincipalLinkVOExpand;
* @description: DxPrincipalLink-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
public interface DxPrincipalLinkVOPluginExpand<V extends DxPrincipalLinkVOPluginExpand> {
......
......@@ -11,7 +11,7 @@ import com.yonde.dex.user.expand.entity.DxPrincipalVOExpand;
* @description: DxPrincipal-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
public interface DxPrincipalVOPluginExpand<V extends DxPrincipalVOPluginExpand> {
......
......@@ -12,7 +12,7 @@ import com.yonde.dex.user.expand.plugin.DxPrincipalVOPluginExpand;
* @description: DxUserInfo-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
public interface DxUserInfoVOPluginExpand<V extends DxUserInfoVOPluginExpand> {
......
......@@ -5,12 +5,14 @@ import com.yonde.dex.basedata.entity.customautowired.ReplacerType;
import org.springframework.stereotype.Component;
import com.yonde.dex.basic.core.service.expand.ExtDxContextService;
import com.yonde.dex.context.core.service.ContextService;
import com.yonde.dex.basic.core.service.expand.ExtDxContextProjectService;
import com.yonde.dex.context.core.service.ContextProjectService;
/**
* @description: dex-bmodel-core-CONFIG
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@Component
public class DexBasicServiceAppServiceConfig extends AbstractDexAppServiceReplacer {
......@@ -23,6 +25,7 @@ public class DexBasicServiceAppServiceConfig extends AbstractDexAppServiceReplac
@Override
protected void registerReplacer(Register register) {
register.register(ContextService.class, ExtDxContextService.class);
register.register(ContextProjectService.class, ExtDxContextProjectService.class);
}
}
......@@ -19,7 +19,7 @@ import org.springframework.stereotype.Controller;
* @description: ExtProgramProjectLink-Controller
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@Api(tags = "ExtProgramProjectLink管理服务")
@RequestMapping("/ExtProgramProjectLink")
......
package com.yonde.dex.basic.core.controller;
import org.springframework.stereotype.Controller;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import java.util.List;
import com.yonde.dex.basic.common.vo.ExtProjectContractLinkVO;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Autowired;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;
import com.yonde.dex.basic.core.service.ExtProjectContractLinkService;
import com.yonde.dex.basedata.entity.api.ApiResult;
import com.yonde.dex.basic.core.controller.shadow.ExtProjectContractLinkControllerShadow;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
/**
* @description: ExtProjectContractLink-Controller
* @author: dexadmin
* @version: V
* @date: 2024-10-18 9:59:56
**/
@Api(tags = "ExtProjectContractLink管理服务")
@RequestMapping("/ExtProjectContractLink")
@ResponseBody()
@Controller(ExtProjectContractLinkController.BEAN_NAME)
public class ExtProjectContractLinkController<V extends ExtProjectContractLinkVO, S extends ExtProjectContractLinkService<V>> extends ExtProjectContractLinkControllerShadow<V, S> {
}
......@@ -19,7 +19,7 @@ import com.yonde.dex.context.core.controller.ContextController;
* @description: DxContext-Controller
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
@Api(tags = "DxContext管理服务")
@RequestMapping("/DxContext")
......
package com.yonde.dex.basic.core.controller.expand;
import com.yonde.dex.basic.core.controller.expand.shadow.ExtDxContextControllerShadow;
import com.yonde.dex.basic.core.controller.expand.shadow.ExtDxContextProjectControllerShadow;
import com.yonde.dex.basic.core.service.expand.ExtDxContextProjectService;
import com.yonde.dex.basic.core.service.expand.ExtDxContextService;
import org.springframework.stereotype.Controller;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import java.util.List;
import com.yonde.dex.context.common.vo.DxContextProjectVO;
import com.yonde.dex.context.common.vo.DxContextVO;
import com.yonde.dex.context.core.controller.ContextController;
import com.yonde.dex.context.core.controller.ContextProjectController;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Autowired;
import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.*;
import com.yonde.dex.basic.core.service.expand.ExtDxContextProjectService;
import com.yonde.dex.basedata.entity.api.ApiResult;
import com.yonde.dex.basic.core.controller.expand.shadow.ExtDxContextProjectControllerShadow;
import javax.annotation.Resource;
import com.yonde.dex.context.core.controller.ContextProjectController;
/**
* @description: DxContext-Controller
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
**/
* @description: DxContextProject-Controller
* @author: dexadmin
* @version: V
* @date: 2024-10-18 9:59:56
**/
@Api(tags = "DxContextProject管理服务")
@RequestMapping("/DxContextProject")
@ResponseBody()
......
......@@ -19,7 +19,7 @@ import com.yonde.dex.dfs.objfilelink.plugin.core.controller.DxObjFileLinkControl
* @description: DxContext-Controller
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
public class ExtDxContextControllerShadow<V extends DxContextVO, S extends ExtDxContextService<V>> extends ContextController<V, S> implements DxObjFileLinkController<V, S>{
......
package com.yonde.dex.basic.core.controller.expand.shadow;
import com.yonde.dex.basic.core.service.expand.ExtDxContextProjectService;
import com.yonde.dex.basic.core.service.impl.expand.ExtDxContextProjectImplService;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import java.util.List;
import com.yonde.dex.context.common.vo.DxContextProjectVO;
import com.yonde.dex.context.core.controller.ContextProjectController;
import com.yonde.dex.dfs.objfilelink.plugin.core.controller.DxObjFileLinkController;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Autowired;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;
import com.yonde.dex.basic.core.service.expand.ExtDxContextProjectService;
import com.yonde.dex.basic.core.service.impl.expand.ExtDxContextProjectServiceImpl;
import com.yonde.dex.basedata.entity.api.ApiResult;
import javax.annotation.Resource;
import com.yonde.dex.context.core.controller.ContextProjectController;
import com.yonde.dex.context.core.controller.ContextController;
/**
* @description: DxContext-Controller
* @description: DxContextProject-Controller
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public class ExtDxContextProjectControllerShadow<V extends DxContextProjectVO, S extends ExtDxContextProjectService<V>> extends ContextProjectController<V, S> implements DxObjFileLinkController<V, S>{
public class ExtDxContextProjectControllerShadow<V extends DxContextProjectVO, S extends ExtDxContextProjectService<V>> extends ContextProjectController<V, S>{
public static final String BEAN_NAME = "contextProjectController";
......@@ -22,7 +29,7 @@ public class ExtDxContextProjectControllerShadow<V extends DxContextProjectVO, S
/**
* 注入
*/
@Resource(name = ExtDxContextProjectImplService.BEAN_NAME)
@Resource(name = ExtDxContextProjectServiceImpl.BEAN_NAME)
private ExtDxContextProjectService<V> extDxContextProjectService;
/**
......
......@@ -20,7 +20,7 @@ import com.yonde.dex.baseweb.AbstractBaseController;
* @description: ExtProgram-Controller
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public class ExtProgramControllerShadow<V extends ExtProgramVO, S extends ExtProgramService<V>> implements AbstractBaseController<V, S> ,AbstractLifecycleBaseController<V, S> ,DxObjFileLinkController<V, S>{
......
......@@ -19,7 +19,7 @@ import com.yonde.dex.baseweb.AbstractBaseController;
* @description: ExtProgramProjectLink-Controller
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public class ExtProgramProjectLinkControllerShadow<V extends ExtProgramProjectLinkVO, S extends ExtProgramProjectLinkService<V>> implements AbstractBaseController<V, S> ,DxLinkDataController<V, S>{
......
package com.yonde.dex.basic.core.controller.shadow;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import java.util.List;
import com.yonde.dex.basic.common.vo.ExtProjectContractLinkVO;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Autowired;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;
import com.yonde.dex.basic.core.service.ExtProjectContractLinkService;
import com.yonde.dex.basic.core.service.impl.ExtProjectContractLinkServiceImpl;
import com.yonde.dex.basedata.entity.api.ApiResult;
import javax.annotation.Resource;
import com.yonde.dex.linkdata.plugin.core.controller.DxLinkDataController;
import com.yonde.dex.baseweb.AbstractBaseController;
/**
* @description: ExtProjectContractLink-Controller
* @author: dexadmin
* @version: V
* @date: 2024-10-18 9:59:56
**/
public class ExtProjectContractLinkControllerShadow<V extends ExtProjectContractLinkVO, S extends ExtProjectContractLinkService<V>> implements AbstractBaseController<V, S> ,DxLinkDataController<V, S>{
public static final String BEAN_NAME = "extProjectContractLinkController";
/**
* 注入
*/
@Resource(name = ExtProjectContractLinkServiceImpl.BEAN_NAME)
private ExtProjectContractLinkService<V> extProjectContractLinkService;
/**
* getService
*/
@Override
public S getService() {
return (S)this.extProjectContractLinkService;
}
}
......@@ -6,7 +6,7 @@ import com.yonde.dex.basic.core.repository.shadow.ExtProgramProjectLinkRepositor
* @description: ExtProgramProjectLink-repository
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface ExtProgramProjectLinkRepository<P extends ExtProgramProjectLink> extends ExtProgramProjectLinkRepositoryShadow<P> {
}
......@@ -6,7 +6,7 @@ import com.yonde.dex.basic.core.repository.shadow.ExtProgramRepositoryShadow;
* @description: ExtProgram-repository
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface ExtProgramRepository<P extends ExtProgram> extends ExtProgramRepositoryShadow<P> {
}
package com.yonde.dex.basic.core.repository;
import com.yonde.dex.basic.entity.po.ExtProjectContractLink;
import com.yonde.dex.basic.core.repository.shadow.ExtProjectContractLinkRepositoryShadow;
/**
* @description: ExtProjectContractLink-repository
* @author: dexadmin
* @version: V
* @date: 2024-10-18 9:59:56
**/
public interface ExtProjectContractLinkRepository<P extends ExtProjectContractLink> extends ExtProjectContractLinkRepositoryShadow<P> {
}
......@@ -9,7 +9,7 @@ import com.yonde.dex.linkdata.plugin.core.repository.DxLinkDataRepository;
* @description: ExtProgramProjectLink-repository
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@NoRepositoryBean
public interface ExtProgramProjectLinkRepositoryShadow<P extends ExtProgramProjectLink> extends BaseRepository<P> ,DxLogicDeleteRepository<P> ,DxLinkDataRepository<P> {
......
......@@ -10,7 +10,7 @@ import com.yonde.dex.dfs.objfilelink.plugin.core.repository.DxObjFileLinkPluginR
* @description: ExtProgram-repository
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@NoRepositoryBean
public interface ExtProgramRepositoryShadow<P extends ExtProgram> extends DxObjFileLinkPluginRepository<P> ,DxLifecycleManageBaseRepository<P> ,BaseRepository<P> ,DxSecretCodePluginRepository<P> {
......
package com.yonde.dex.basic.core.repository.shadow;
import com.yonde.dex.basic.entity.po.ExtProjectContractLink;
import org.springframework.data.repository.NoRepositoryBean;
import com.yonde.dex.dao.business.repository.BaseRepository;
import com.yonde.dex.linkdata.plugin.core.repository.DxLinkDataRepository;
/**
* @description: ExtProjectContractLink-repository
* @author: dexadmin
* @version: V
* @date: 2024-10-18 9:59:56
**/
@NoRepositoryBean
public interface ExtProjectContractLinkRepositoryShadow<P extends ExtProjectContractLink> extends BaseRepository<P> ,DxLinkDataRepository<P> {
String BEAN_NAME = "extProjectContractLinkRepository";
}
......@@ -6,7 +6,7 @@ import com.yonde.dex.basic.core.service.shadow.ExtProgramProjectLinkServiceShado
* @description: ExtProgramProjectLink-service
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface ExtProgramProjectLinkService<V extends ExtProgramProjectLinkVO> extends ExtProgramProjectLinkServiceShadow<V> {
......
package com.yonde.dex.basic.core.service;
import com.yonde.dex.basic.common.vo.ExtProjectContractLinkVO;
import com.yonde.dex.basic.core.service.shadow.ExtProjectContractLinkServiceShadow;
/**
* @description: ExtProjectContractLink-service
* @author: dexadmin
* @version: V
* @date: 2024-10-18 9:59:56
**/
public interface ExtProjectContractLinkService<V extends ExtProjectContractLinkVO> extends ExtProjectContractLinkServiceShadow<V> {
}
package com.yonde.dex.basic.core.service.expand;
import com.yonde.dex.basic.core.service.expand.shadow.ExtDxContextProjectShadowService;
import com.yonde.dex.context.common.vo.DxContextProjectVO;
import com.yonde.dex.basic.core.service.expand.shadow.ExtDxContextProjectServiceShadow;
/**
* @description: DxContext-service
* @description: DxContextProject-service
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface ExtDxContextProjectService<V extends DxContextProjectVO> extends ExtDxContextProjectShadowService<V> {
public interface ExtDxContextProjectService<V extends DxContextProjectVO> extends ExtDxContextProjectServiceShadow<V> {
}
......@@ -6,7 +6,7 @@ import com.yonde.dex.basic.core.service.expand.shadow.ExtDxContextServiceShadow;
* @description: DxContext-service
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
public interface ExtDxContextService<V extends DxContextVO> extends ExtDxContextServiceShadow<V> {
......
package com.yonde.dex.basic.core.service.expand.shadow;
import com.yonde.dex.context.common.vo.DxContextProjectVO;
import com.yonde.dex.basic.feign.expand.ExtDxContextProjectServiceFeign;
import com.yonde.dex.context.core.service.ContextService;
import com.yonde.dex.context.core.service.ContextProjectService;
/**
* @description: DxContextProject-service
* @author: dexadmin
* @version: V
* @date: 2024-10-18 9:59:56
**/
public interface ExtDxContextProjectServiceShadow<V extends DxContextProjectVO> extends ExtDxContextProjectServiceFeign<V>, ContextService<V> ,ContextProjectService<V> {
}
......@@ -9,7 +9,7 @@ import com.yonde.dex.dfs.objfilelink.plugin.core.service.ObjFileLinkPluginServic
* @description: DxContext-service
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
public interface ExtDxContextServiceShadow<V extends DxContextVO> extends ExtDxContextServiceFeign<V>, ContextService<V> ,ObjFileLinkPluginService<V> ,SecretCodePluginService<V> {
......
......@@ -17,7 +17,7 @@ import javax.annotation.Resource;
* @description: ExtProgramProjectLink-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@Slf4j
@Service(ExtProgramProjectLinkServiceImpl.BEAN_NAME)
......
package com.yonde.dex.basic.core.service.impl;
import org.springframework.stereotype.Service;
import io.swagger.annotations.ApiOperation;
import java.util.List;
import com.yonde.dex.basic.common.vo.ExtProjectContractLinkVO;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Autowired;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import com.yonde.dex.basic.core.service.ExtProjectContractLinkService;
import com.yonde.dex.basic.core.repository.ExtProjectContractLinkRepository;
import com.yonde.dex.basic.entity.po.ExtProjectContractLink;
import javax.annotation.Resource;
/**
* @description: ExtProjectContractLink-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-10-18 9:59:56
**/
@Slf4j
@Service(ExtProjectContractLinkServiceImpl.BEAN_NAME)
public class ExtProjectContractLinkServiceImpl<V extends ExtProjectContractLinkVO> implements ExtProjectContractLinkService<V>{
public static final String BEAN_NAME = "extProjectContractLinkServiceImpl";
@Autowired
ExtProjectContractLinkRepository<ExtProjectContractLink> extProjectContractLinkRepository;
}
package com.yonde.dex.basic.core.service.impl.expand;
import com.yonde.dex.basic.core.service.expand.ExtDxContextProjectService;
import com.yonde.dex.basic.core.service.expand.ExtDxContextService;
import org.springframework.stereotype.Service;
import io.swagger.annotations.ApiOperation;
import java.util.List;
import com.yonde.dex.context.common.vo.DxContextProjectVO;
import com.yonde.dex.context.common.vo.DxContextVO;
import com.yonde.dex.context.core.po.DxContext;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Autowired;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import com.yonde.dex.basic.core.service.expand.ExtDxContextProjectService;
import com.yonde.dex.context.core.repository.ContextProjectRepository;
import com.yonde.dex.context.core.po.DxContextProject;
import com.yonde.dex.context.core.repository.ContextRepository;
import javax.annotation.Resource;
import com.yonde.dex.context.core.service.impl.ContextProjectServiceImpl;
import com.yonde.dex.context.core.service.impl.ContextServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* @description: DxContext-ServiceImpl
* @description: DxContextProject-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@Slf4j
@Service(ContextProjectServiceImpl.BEAN_NAME)
public class ExtDxContextProjectImplService<V extends DxContextProjectVO> extends ContextProjectServiceImpl<V> implements ExtDxContextProjectService<V>{
public class ExtDxContextProjectServiceImpl<V extends DxContextProjectVO> extends ContextProjectServiceImpl<V> implements ExtDxContextProjectService<V>{
public static final String BEAN_NAME = "contextProjectServiceImpl";
@Autowired
ContextRepository<DxContextProject> contextProjectRepository;
ContextProjectRepository<DxContextProject> contextProjectRepository;
}
......
......@@ -18,7 +18,7 @@ import com.yonde.dex.context.core.service.impl.ContextServiceImpl;
* @description: DxContext-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
@Slf4j
@Service(ContextServiceImpl.BEAN_NAME)
......
......@@ -9,7 +9,7 @@ import com.yonde.dex.logicdelete.plugin.core.service.LogicDeleteService;
* @description: ExtProgramProjectLink-service
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface ExtProgramProjectLinkServiceShadow<V extends ExtProgramProjectLinkVO> extends ExtProgramProjectLinkServiceFeign<V>, BaseIdEntityService<V> ,LogicDeleteService<V> ,DxLinkDataService<V> {
......
......@@ -10,7 +10,7 @@ import com.yonde.dex.dfs.objfilelink.plugin.core.service.ObjFileLinkPluginServic
* @description: ExtProgram-service
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface ExtProgramServiceShadow<V extends ExtProgramVO> extends ExtProgramServiceFeign<V>, ObjFileLinkPluginService<V> ,LifecycleBaseService<V> ,BaseIdEntityService<V> ,SecretCodePluginService<V> {
......
package com.yonde.dex.basic.core.service.shadow;
import com.yonde.dex.basic.common.vo.ExtProjectContractLinkVO;
import com.yonde.dex.basic.feign.ExtProjectContractLinkServiceFeign;
import com.yonde.dex.linkdata.plugin.core.service.DxLinkDataService;
import com.yonde.dex.dao.service.BaseIdEntityService;
/**
* @description: ExtProjectContractLink-service
* @author: dexadmin
* @version: V
* @date: 2024-10-18 9:59:56
**/
public interface ExtProjectContractLinkServiceShadow<V extends ExtProjectContractLinkVO> extends ExtProjectContractLinkServiceFeign<V>, BaseIdEntityService<V> ,DxLinkDataService<V> {
}
......@@ -37,7 +37,7 @@ import com.yonde.dex.dao.entity.base.IdOnlyEntity;
* @description: ExtProgram-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@Entity
@EqualsAndHashCode(callSuper = true)
......
......@@ -35,7 +35,7 @@ import com.yonde.dex.logicdelete.plugin.entities.DxLogicDeleteEmbeddable;
* @description: ExtProgramProjectLink-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@Entity
@EqualsAndHashCode(callSuper = true)
......
package com.yonde.dex.basic.entity.po;
import org.springframework.data.annotation.CreatedBy;
import javax.persistence.UniqueConstraint;
import java.util.Date;
import java.time.LocalDateTime;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.LastModifiedDate;
import com.yonde.dex.dao.entity.base.IdEntity;
import org.springframework.data.annotation.LastModifiedBy;
import javax.persistence.Column;
import org.springframework.data.annotation.CreatedDate;
import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import lombok.Data;
import com.yonde.dex.basedata.entity.annotation.*;
import java.math.BigInteger;
import javax.persistence.*;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.yonde.dex.dao.entity.base.IdEntity;
import javax.persistence.Column;
import com.yonde.dex.linkdata.plugin.entities.DxLinkDataHolder;
import com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable;
import com.yonde.dex.dao.entity.base.IdOnlyEntity;
import com.yonde.dex.linkdata.plugin.entities.DxLinkDataEmbeddable;
/**
* @description: ExtProjectContractLink-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-10-18 9:59:56
**/
@Entity
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Data
@Table(name = "EXT_PROJECT_CONTRACT_LINK")
public class ExtProjectContractLink extends IdOnlyEntity implements IdEntity ,DxLinkDataHolder{
/**
* dao扩展对象
*/
@DexEmbedded()
@Embedded()
private DxIdEntityEmbeddable dxIdEmbeddable;
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxLinkDataEmbeddable dxLinkDataEmbeddable;
}
......@@ -17,7 +17,7 @@ import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
* @description: DxView-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
@ToString
@Embeddable
......
......@@ -10,7 +10,7 @@ import com.yonde.dex.basic.expand.entity.DxViewExpand;
* @description: DxView-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
public interface DxViewPluginExpand {
......
......@@ -18,7 +18,7 @@ import com.yonde.dex.context.expand.entity.DxContextExpand;
* @description: DxContextEnterprise-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
@ToString
@Embeddable
......
......@@ -19,7 +19,7 @@ import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable;
* @description: DxContext-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-10-17 13:59:35
* @date: 2024-10-18 9:59:55
**/
@ToString
@Embeddable
......
......@@ -18,7 +18,7 @@ import com.yonde.dex.context.expand.entity.DxContextExpand;
* @description: DxContextLibrary-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
@ToString
@Embeddable
......
......@@ -18,7 +18,7 @@ import com.yonde.dex.context.expand.entity.DxContextExpand;
* @description: DxContextProduction-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@ToString
@Embeddable
......
......@@ -18,7 +18,7 @@ import com.yonde.dex.context.expand.entity.DxContextExpand;
* @description: DxContextProject-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@ToString
@Embeddable
......
......@@ -17,7 +17,7 @@ import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
* @description: DxContextTeam-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
@ToString
@Embeddable
......
......@@ -17,7 +17,7 @@ import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
* @description: DxContextTeamMember-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
@ToString
@Embeddable
......
......@@ -11,7 +11,7 @@ import com.yonde.dex.context.expand.plugin.DxContextPluginExpand;
* @description: DxContextEnterprise-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
public interface DxContextEnterprisePluginExpand {
......
......@@ -11,7 +11,7 @@ import com.yonde.dex.context.expand.plugin.DxContextPluginExpand;
* @description: DxContextLibrary-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
public interface DxContextLibraryPluginExpand {
......
......@@ -14,7 +14,7 @@ import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable;
* @description: DxContext-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHolder{
......@@ -44,6 +44,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
default String getFundSource() {
return DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).getFundSource();
}
default void setProjectClass(String projectClass) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).setProjectClass(projectClass);
}
default LocalDateTime getStartTime() {
return DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).getStartTime();
}
......@@ -90,6 +93,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
default void setManagerId(Long managerId) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).setManagerId(managerId);
}
default String getProjectClass() {
return DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).getProjectClass();
}
default void setManagerOrgId(Long managerOrgId) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).setManagerOrgId(managerOrgId);
}
......
......@@ -11,7 +11,7 @@ import com.yonde.dex.context.expand.plugin.DxContextPluginExpand;
* @description: DxContextProduction-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface DxContextProductionPluginExpand {
......
......@@ -11,7 +11,7 @@ import com.yonde.dex.context.expand.plugin.DxContextPluginExpand;
* @description: DxContextProject-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface DxContextProjectPluginExpand {
......
......@@ -10,7 +10,7 @@ import com.yonde.dex.context.expand.entity.DxContextTeamMemberExpand;
* @description: DxContextTeamMember-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
public interface DxContextTeamMemberPluginExpand {
......
......@@ -10,7 +10,7 @@ import com.yonde.dex.context.expand.entity.DxContextTeamExpand;
* @description: DxContextTeam-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
public interface DxContextTeamPluginExpand {
......
......@@ -18,7 +18,7 @@ import com.yonde.dex.user.expand.entity.DxPrincipalExpand;
* @description: DxGroup-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
@ToString
@Embeddable
......
......@@ -17,7 +17,7 @@ import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
* @description: DxGroupLink-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@ToString
@Embeddable
......
......@@ -17,7 +17,7 @@ import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
* @description: DxGroupMemberLink-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@ToString
@Embeddable
......
......@@ -18,7 +18,7 @@ import com.yonde.dex.user.expand.entity.DxPrincipalExpand;
* @description: DxOrganization-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
@ToString
@Embeddable
......
......@@ -17,7 +17,7 @@ import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
* @description: DxOrganizationGroupLink-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@ToString
@Embeddable
......
......@@ -17,7 +17,7 @@ import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
* @description: DxPost-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@ToString
@Embeddable
......
......@@ -17,7 +17,7 @@ import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
* @description: DxPostMemberLink-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@ToString
@Embeddable
......
......@@ -17,7 +17,7 @@ import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
* @description: DxPrincipal-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
@ToString
@Embeddable
......
......@@ -17,7 +17,7 @@ import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
* @description: DxPrincipalLink-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
@ToString
@Embeddable
......
......@@ -18,7 +18,7 @@ import com.yonde.dex.user.expand.entity.DxPrincipalExpand;
* @description: DxUserInfo-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
@ToString
@Embeddable
......
......@@ -10,7 +10,7 @@ import com.yonde.dex.user.expand.entity.DxGroupLinkExpand;
* @description: DxGroupLink-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface DxGroupLinkPluginExpand {
......
......@@ -10,7 +10,7 @@ import com.yonde.dex.user.expand.entity.DxGroupMemberLinkExpand;
* @description: DxGroupMemberLink-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface DxGroupMemberLinkPluginExpand {
......
......@@ -11,7 +11,7 @@ import com.yonde.dex.user.expand.plugin.DxPrincipalPluginExpand;
* @description: DxGroup-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
public interface DxGroupPluginExpand {
......
......@@ -10,7 +10,7 @@ import com.yonde.dex.user.expand.entity.DxOrganizationGroupLinkExpand;
* @description: DxOrganizationGroupLink-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface DxOrganizationGroupLinkPluginExpand {
......
......@@ -11,7 +11,7 @@ import com.yonde.dex.user.expand.plugin.DxPrincipalPluginExpand;
* @description: DxOrganization-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
public interface DxOrganizationPluginExpand {
......
......@@ -10,7 +10,7 @@ import com.yonde.dex.user.expand.entity.DxPostMemberLinkExpand;
* @description: DxPostMemberLink-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface DxPostMemberLinkPluginExpand {
......
......@@ -10,7 +10,7 @@ import com.yonde.dex.user.expand.entity.DxPostExpand;
* @description: DxPost-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface DxPostPluginExpand {
......
......@@ -10,7 +10,7 @@ import com.yonde.dex.user.expand.entity.DxPrincipalLinkExpand;
* @description: DxPrincipalLink-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:38
* @date: 2024-10-18 9:59:55
**/
public interface DxPrincipalLinkPluginExpand {
......
......@@ -10,7 +10,7 @@ import com.yonde.dex.user.expand.entity.DxPrincipalExpand;
* @description: DxPrincipal-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
public interface DxPrincipalPluginExpand {
......
......@@ -11,7 +11,7 @@ import com.yonde.dex.user.expand.plugin.DxPrincipalPluginExpand;
* @description: DxUserInfo-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
public interface DxUserInfoPluginExpand {
......
......@@ -10,7 +10,7 @@ import com.yonde.dex.basic.feign.shadow.ExtProgramProjectLinkServiceFeignShadow;
* @description: ExtProgramProjectLink-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@Api(tags = "ExtProgramProjectLink-FEIGN")
@FeignClient(value = "${dex.feign.DEX-BASIC-SERVICE}", path = "/ExtProgramProjectLink")
......
......@@ -10,7 +10,7 @@ import com.yonde.dex.basic.feign.shadow.ExtProgramServiceFeignShadow;
* @description: ExtProgram-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
@Api(tags = "ExtProgram-FEIGN")
@FeignClient(value = "${dex.feign.DEX-BASIC-SERVICE}", path = "/ExtProgram")
......
package com.yonde.dex.basic.feign;
import com.yonde.dex.basic.common.vo.ExtProjectContractLinkVO;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import com.yonde.dex.basic.feign.shadow.ExtProjectContractLinkServiceFeignShadow;
/**
* @description: ExtProjectContractLink-Feign
* @author: dexadmin
* @version: V
* @date: 2024-10-18 9:59:56
**/
@Api(tags = "ExtProjectContractLink-FEIGN")
@FeignClient(value = "${dex.feign.DEX-BASIC-SERVICE}", path = "/ExtProjectContractLink")
public interface ExtProjectContractLinkServiceFeign<V extends ExtProjectContractLinkVO> extends ExtProjectContractLinkServiceFeignShadow<V> {
}
package com.yonde.dex.basic.feign.expand;
import com.yonde.dex.basic.feign.expand.shadow.ExtDxContextProjectServiceFeignShadow;
import com.yonde.dex.context.common.vo.DxContextProjectVO;
import com.yonde.dex.context.feign.ContextProjectServiceFeign;
import com.yonde.dex.context.feign.ContextServiceFeign;
import com.yonde.dex.dao.service.adapter.DexExpandBeanReplace;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import com.yonde.dex.basic.feign.expand.shadow.ExtDxContextProjectServiceFeignShadow;
import com.yonde.dex.context.feign.ContextProjectServiceFeign;
import com.yonde.dex.dao.service.adapter.DexExpandBeanReplace;
/**
* @description: DxContext-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
**/
* @description: DxContextProject-Feign
* @author: dexadmin
* @version: V
* @date: 2024-10-18 9:59:56
**/
@Api(tags = "DxContextProject-FEIGN")
@FeignClient(value = "${dex.feign.DEX-BASIC-SERVICE}", path = "/DxContextProject")
@DexExpandBeanReplace(replaceClass = ContextProjectServiceFeign.class)
@DexExpandBeanReplace(replaceClass=ContextProjectServiceFeign.class)
public interface ExtDxContextProjectServiceFeign<V extends DxContextProjectVO> extends ExtDxContextProjectServiceFeignShadow<V> {
}
......@@ -12,7 +12,7 @@ import com.yonde.dex.dao.service.adapter.DexExpandBeanReplace;
* @description: DxContext-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
@Api(tags = "DxContext-FEIGN")
@FeignClient(value = "${dex.feign.DEX-BASIC-SERVICE}", path = "/DxContext")
......
package com.yonde.dex.basic.feign.expand.shadow;
import com.yonde.dex.context.common.vo.DxContextProjectVO;
import com.yonde.dex.context.common.vo.DxContextVO;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import com.yonde.dex.context.feign.ContextProjectServiceFeign;
import com.yonde.dex.context.feign.ContextServiceFeign;
import com.yonde.dex.secretcode.plugin.feign.SecretCodeFeign;
/**
* @description: DxContext-Feign
* @description: DxContextProject-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface ExtDxContextProjectServiceFeignShadow<V extends DxContextProjectVO> extends ContextProjectServiceFeign<V> ,SecretCodeFeign<V> {
public interface ExtDxContextProjectServiceFeignShadow<V extends DxContextProjectVO> extends ContextServiceFeign<V> ,ContextProjectServiceFeign<V> {
String BEAN_NAME = "contextProjectServiceFeign";
......
......@@ -11,7 +11,7 @@ import com.yonde.dex.context.feign.ContextServiceFeign;
* @description: DxContext-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:55
**/
public interface ExtDxContextServiceFeignShadow<V extends DxContextVO> extends ContextServiceFeign<V> ,SecretCodeFeign<V> {
......
......@@ -12,7 +12,7 @@ import com.yonde.dex.linkdata.plugin.feign.DxLinkDataFeign;
* @description: ExtProgramProjectLink-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface ExtProgramProjectLinkServiceFeignShadow<V extends ExtProgramProjectLinkVO> extends BaseFeign<V> ,LogicDeleteFeign<V> ,DxLinkDataFeign<V> {
......
......@@ -12,7 +12,7 @@ import com.yonde.dex.secretcode.plugin.feign.SecretCodeFeign;
* @description: ExtProgram-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-20 10:26:39
* @date: 2024-10-18 9:59:56
**/
public interface ExtProgramServiceFeignShadow<V extends ExtProgramVO> extends BaseLifecycleManageFeign<V> ,BaseFeign<V> ,SecretCodeFeign<V> {
......
package com.yonde.dex.basic.feign.shadow;
import com.yonde.dex.basic.common.vo.ExtProjectContractLinkVO;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import com.yonde.dex.dao.service.remotes.BaseFeign;
import com.yonde.dex.linkdata.plugin.feign.DxLinkDataFeign;
/**
* @description: ExtProjectContractLink-Feign
* @author: dexadmin
* @version: V
* @date: 2024-10-18 9:59:56
**/
public interface ExtProjectContractLinkServiceFeignShadow<V extends ExtProjectContractLinkVO> extends BaseFeign<V> ,DxLinkDataFeign<V> {
String BEAN_NAME = "extProjectContractLinkServiceFeign";
}
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