Commit df90b791 authored by wangqiang's avatar wangqiang

意见答复、意见挂载文档,意见查询所有文档功能开发

parent 4a2e0097
package com.inet.dcs.document.common.vo;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.yonde.dcs.document.common.entity.vo.DxDocumentVO;
import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import com.yonde.dex.basedata.entity.annotation.DexTypeVersionProp;
import com.yonde.dex.basedata.entity.annotation.VersionProperty;
import com.yonde.dex.basedata.entity.data.VersionRelationType;
import com.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable;
import com.yonde.dex.basedata.entity.vo.IdOnlyVO;
import com.yonde.dex.basedata.entity.vo.IdVO;
import com.yonde.dex.linkdata.plugin.common.DxLinkDataVOEmbeddable;
import com.yonde.dex.linkdata.plugin.common.DxLinkDataVOHolder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
* @description: ExtDesignAndClosedCycleDocLink-VO
* @author: dexadmin
* @version: V
* @date: 2024-11-21 14:03:04
**/
@JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtDesignAndClosedCycleDocLinkVO.class)
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
@DexTypeVersionProp(propName = "target", join = @VersionProperty(curVersion = VersionRelationType.NONE, refVersion = VersionRelationType.ITERATION))
public class ExtDesignAndClosedCycleDocLinkVO extends IdOnlyVO implements IdVO ,DxLinkDataVOHolder<ExtDesignNoticeMinutesLinkVO, DxDocumentVO>{
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<ExtDesignNoticeMinutesLinkVO, DxDocumentVO> dxLinkDataEmbeddable;
}
package com.inet.dcs.document.common.vo; package com.inet.dcs.document.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 lombok.ToString;
import com.fasterxml.jackson.annotation.JsonIgnore; 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.fasterxml.jackson.annotation.JsonTypeInfo;
import com.yonde.dex.basedata.entity.xmladapters.LocalDateTimeXmlAdapter;
import lombok.Data;
import com.yonde.dex.basedata.entity.annotation.*; 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.data.VersionRelationType;
import com.inet.dcs.document.common.vo.ExtDesignReviewFeedbackLinkVO;
import com.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable; import com.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable;
import com.inet.dcs.document.common.vo.ExtDesignRelateDocumentLinkVO; import com.yonde.dex.basedata.entity.vo.IdOnlyVO;
import com.yonde.dex.basedata.entity.vo.IdVO; import com.yonde.dex.basedata.entity.vo.IdVO;
import com.inet.dcs.document.common.vo.ExtDesignSubmitDocumentLinkVO;
import com.inet.dcs.document.common.vo.ExtDesignReviewMinutesVO;
import com.yonde.dex.linkdata.plugin.common.DxLinkDataVOHolder;
import com.yonde.dex.linkdata.plugin.common.DxLinkDataVOEmbeddable; import com.yonde.dex.linkdata.plugin.common.DxLinkDataVOEmbeddable;
import com.inet.dcs.document.common.vo.ExtDesignCheckDocumentLinkVO; import com.yonde.dex.linkdata.plugin.common.DxLinkDataVOHolder;
import com.yonde.dex.user.common.vo.DxUserInfoVO; import com.yonde.dex.user.common.vo.DxUserInfoVO;
import com.yonde.dex.basedata.entity.users.DxUserVO; import lombok.Data;
import com.inet.dcs.document.common.vo.ExtDesignReviewNoticeVO; import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.time.LocalDateTime;
import java.util.List;
/** /**
* @description: ExtDesignNoticeMinutesLink-VO * @description: ExtDesignNoticeMinutesLink-VO
* @author: dexadmin * @author: dexadmin
* @version: V * @version: V
* @date: 2024-11-7 9:15:12 * @date: 2024-11-21 14:02:59
**/ **/
@JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtDesignNoticeMinutesLinkVO.class) @JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtDesignNoticeMinutesLinkVO.class)
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
...@@ -59,6 +33,7 @@ public class ExtDesignNoticeMinutesLinkVO extends IdOnlyVO implements IdVO ,DxLi ...@@ -59,6 +33,7 @@ public class ExtDesignNoticeMinutesLinkVO extends IdOnlyVO implements IdVO ,DxLi
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_LINK_DATA_EMBEDDABLE_PROP_NAME = "dxLinkDataEmbeddable"; public static final String DX_LINK_DATA_EMBEDDABLE_PROP_NAME = "dxLinkDataEmbeddable";
public static final String EXT_DESIGN_AND_CLOSED_CYCLE_DOC_LINKS_PROP_NAME = "extDesignAndClosedCycleDocLinks";
public static final String EXT_DESIGN_CHECK_DOCUMENT_LINKS_PROP_NAME = "extDesignCheckDocumentLinks"; public static final String EXT_DESIGN_CHECK_DOCUMENT_LINKS_PROP_NAME = "extDesignCheckDocumentLinks";
public static final String EXT_DESIGN_RELATE_DOCUMENT_LINKS_PROP_NAME = "extDesignRelateDocumentLinks"; public static final String EXT_DESIGN_RELATE_DOCUMENT_LINKS_PROP_NAME = "extDesignRelateDocumentLinks";
public static final String EXT_DESIGN_REVIEW_FEEDBACK_LINKS_PROP_NAME = "extDesignReviewFeedbackLinks"; public static final String EXT_DESIGN_REVIEW_FEEDBACK_LINKS_PROP_NAME = "extDesignReviewFeedbackLinks";
...@@ -93,6 +68,13 @@ public class ExtDesignNoticeMinutesLinkVO extends IdOnlyVO implements IdVO ,DxLi ...@@ -93,6 +68,13 @@ public class ExtDesignNoticeMinutesLinkVO extends IdOnlyVO implements IdVO ,DxLi
@JsonIgnore @JsonIgnore
private DxLinkDataVOEmbeddable<ExtDesignReviewNoticeVO, ExtDesignReviewMinutesVO> dxLinkDataEmbeddable; private DxLinkDataVOEmbeddable<ExtDesignReviewNoticeVO, ExtDesignReviewMinutesVO> dxLinkDataEmbeddable;
/**
* 评审项和相关闭环跟进事项link集合
*/
@RelationProperty(refProperty = "source")
@VersionProperty(curVersion = VersionRelationType.NONE, refVersion = VersionRelationType.NONE)
private List<ExtDesignAndClosedCycleDocLinkVO> extDesignAndClosedCycleDocLinks;
/** /**
* 设计评审项备查文件link集合 * 设计评审项备查文件link集合
*/ */
......
package com.inet.dcs.document.common.vo;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import com.yonde.dex.basedata.entity.annotation.ReferenceProperty;
import com.yonde.dex.basedata.entity.annotation.RelationProperty;
import com.yonde.dex.basedata.entity.annotation.VersionProperty;
import com.yonde.dex.basedata.entity.data.VersionRelationType;
import com.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable;
import com.yonde.dex.basedata.entity.vo.IdOnlyVO;
import com.yonde.dex.basedata.entity.vo.IdVO;
import com.yonde.dex.dfs.objfilelink.plugin.common.entity.DxObjFileLinkVOEmbeddable;
import com.yonde.dex.dfs.objfilelink.plugin.common.entity.DxObjFileLinkVOHolder;
import com.yonde.dex.lcycle.plugin.common.entity.DxLifecycleManageBaseVOEmbeddable;
import com.yonde.dex.lcycle.plugin.common.entity.DxLifecycleManageBaseVOHolder;
import com.yonde.dex.user.common.vo.DxUserInfoVO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.time.LocalDateTime;
import java.util.List;
/**
* @description: ExtFeedback-VO
* @author: dexadmin
* @version: V
* @date: 2024-11-21 15:35:08
**/
@JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtFeedbackVO.class)
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class ExtFeedbackVO extends IdOnlyVO implements IdVO ,DxLifecycleManageBaseVOHolder ,DxObjFileLinkVOHolder{
public static final String DX_OBJ_FILE_LINK_EMBEDDABLE_PROP_NAME = "dxObjFileLinkEmbeddable";
public static final String DX_LIFECYCLE_MANAGE_BASE_EMBEDDABLE_PROP_NAME = "dxLifecycleManageBaseEmbeddable";
public static final String DX_ID_EMBEDDABLE_PROP_NAME = "dxIdEmbeddable";
public static final String CHANGE_PLAIN_PROP_NAME = "changePlain";
public static final String EXT_REVIEW_FEED_DOCUMENT_LINKS_PROP_NAME = "extReviewFeedDocumentLinks";
public static final String EXT_REVIEW_FEEDBACK_PROP_NAME = "extReviewFeedback";
public static final String EXT_REVIEW_FEEDBACK_ID_PROP_NAME = "extReviewFeedbackId";
public static final String EXT_REVIEW_FEEDBACK_ID_TYPE_PROP_NAME = "extReviewFeedbackIdType";
public static final String FEEDBACK_PROP_NAME = "feedback";
public static final String IMPLEMENTATION_PROP_NAME = "implementation";
public static final String NOTE_PROP_NAME = "note";
public static final String NUMBER_PROP_NAME = "number";
public static final String PHASE_PROP_NAME = "phase";
public static final String PRE_UPGRADE_VERIOSN_DATE_PROP_NAME = "preUpgradeVeriosnDate";
public static final String PRINCIPAL_PROP_NAME = "principal";
public static final String PRINCIPAL_ID_PROP_NAME = "principalId";
public static final String PRINCIPAL_ID_TYPE_PROP_NAME = "principalIdType";
public static final String REAL_UPGRADE_VERIOSN_DATE_PROP_NAME = "realUpgradeVeriosnDate";
public static final String REASONEX_PLAIN_PROP_NAME = "reasonexPlain";
/**
* 扩展VO属性
*/
@DexEmbedded()
@JsonIgnore
private DxObjFileLinkVOEmbeddable dxObjFileLinkEmbeddable;
/**
* 扩展VO属性
*/
@DexEmbedded()
@JsonIgnore
private DxLifecycleManageBaseVOEmbeddable dxLifecycleManageBaseEmbeddable;
/**
* dao扩展对象
*/
@DexEmbedded()
@JsonIgnore
private DxIdVOEmbeddable dxIdEmbeddable;
/**
* 变更说明
*/
private String changePlain;
/**
* 评审意见院反馈文档关系集合
*/
@RelationProperty(refProperty = "source")
@VersionProperty(curVersion = VersionRelationType.NONE, refVersion = VersionRelationType.NONE)
private List<ExtReviewFeedDocumentLinkVO> extReviewFeedDocumentLinks;
/**
* 评审意见反馈
*/
@ReferenceProperty(baseProperty = "extReviewFeedbackId")
@VersionProperty(curVersion = VersionRelationType.NONE, refVersion = VersionRelationType.ITERATION)
private ExtReviewFeedbackVO extReviewFeedback;
/**
* 评审意见反馈
*/
private Long extReviewFeedbackId;
/**
* 评审意见反馈
*/
private String extReviewFeedbackIdType;
/**
* 意见答复
*/
private String feedback;
/**
* 实施情况
*/
private String implementation;
/**
* 备注
*/
private String note;
/**
* 升版文件的文件编码
*/
private String number;
/**
* 阶段
*/
private String phase;
/**
* 预计升版时间
*/
private LocalDateTime preUpgradeVeriosnDate;
/**
* 责任人(取升版文件的编制人)
*/
@ReferenceProperty(baseProperty = "principalId")
@VersionProperty(curVersion = VersionRelationType.NONE, refVersion = VersionRelationType.NONE)
private DxUserInfoVO principal;
/**
* 责任人(取升版文件的编制人)
*/
private Long principalId;
/**
* 责任人(取升版文件的编制人)
*/
private String principalIdType;
/**
* 实际升版时间
*/
private LocalDateTime realUpgradeVeriosnDate;
/**
* 原因说明
*/
private String reasonexPlain;
}
package com.inet.dcs.document.common.vo; package com.inet.dcs.document.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 lombok.ToString;
import com.fasterxml.jackson.annotation.JsonIgnore; 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.fasterxml.jackson.annotation.JsonTypeInfo;
import com.yonde.dex.basedata.entity.xmladapters.LocalDateTimeXmlAdapter; import com.yonde.dcs.document.common.entity.vo.DxDocumentVO;
import lombok.Data; import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import com.yonde.dex.basedata.entity.annotation.*; import com.yonde.dex.basedata.entity.annotation.DexTypeVersionProp;
import lombok.AllArgsConstructor; import com.yonde.dex.basedata.entity.annotation.VersionProperty;
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.data.VersionRelationType;
import com.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable; import com.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable;
import com.yonde.dex.basedata.entity.vo.IdOnlyVO;
import com.yonde.dex.basedata.entity.vo.IdVO; 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.dex.linkdata.plugin.common.DxLinkDataVOEmbeddable;
import com.yonde.dcs.document.common.entity.vo.DxDocumentVO; import com.yonde.dex.linkdata.plugin.common.DxLinkDataVOHolder;
import com.inet.dcs.document.common.vo.ExtReviewFeedbackVO; import lombok.Data;
import com.yonde.dex.basedata.entity.users.DxUserVO; import lombok.EqualsAndHashCode;
import lombok.ToString;
/** /**
* @description: ExtReviewFeedDocumentLink-VO * @description: ExtReviewFeedDocumentLink-VO
* @author: dexadmin * @author: dexadmin
* @version: V * @version: V
* @date: 2024-11-7 9:15:14 * @date: 2024-11-21 15:35:06
**/ **/
@JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtReviewFeedDocumentLinkVO.class) @JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtReviewFeedDocumentLinkVO.class)
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
@Data @Data
@ToString(callSuper = true) @ToString(callSuper = true)
@DexTypeVersionProp(propName = "target", join = @VersionProperty(curVersion = VersionRelationType.NONE, refVersion = VersionRelationType.ITERATION)) @DexTypeVersionProp(propName = "target", join = @VersionProperty(curVersion = VersionRelationType.NONE, refVersion = VersionRelationType.ITERATION))
@DexTypeVersionProp(propName = "source", join = @VersionProperty(curVersion = VersionRelationType.NONE, refVersion = VersionRelationType.ITERATION)) public class ExtReviewFeedDocumentLinkVO extends IdOnlyVO implements IdVO ,DxLinkDataVOHolder<ExtFeedbackVO, DxDocumentVO>{
public class ExtReviewFeedDocumentLinkVO extends IdOnlyVO implements IdVO ,DxLinkDataVOHolder<ExtReviewFeedbackVO, DxDocumentVO>{
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_LINK_DATA_EMBEDDABLE_PROP_NAME = "dxLinkDataEmbeddable"; public static final String DX_LINK_DATA_EMBEDDABLE_PROP_NAME = "dxLinkDataEmbeddable";
...@@ -67,7 +44,7 @@ public class ExtReviewFeedDocumentLinkVO extends IdOnlyVO implements IdVO ,DxLin ...@@ -67,7 +44,7 @@ public class ExtReviewFeedDocumentLinkVO extends IdOnlyVO implements IdVO ,DxLin
*/ */
@DexEmbedded() @DexEmbedded()
@JsonIgnore @JsonIgnore
private DxLinkDataVOEmbeddable<ExtReviewFeedbackVO, DxDocumentVO> dxLinkDataEmbeddable; private DxLinkDataVOEmbeddable<ExtFeedbackVO, DxDocumentVO> dxLinkDataEmbeddable;
} }
......
package com.inet.dcs.document.common.vo; package com.inet.dcs.document.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 lombok.ToString;
import com.fasterxml.jackson.annotation.JsonIgnore; 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.fasterxml.jackson.annotation.JsonTypeInfo;
import com.yonde.dex.basedata.entity.xmladapters.LocalDateTimeXmlAdapter; import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import lombok.Data; import com.yonde.dex.basedata.entity.annotation.ReferenceProperty;
import com.yonde.dex.basedata.entity.annotation.*; import com.yonde.dex.basedata.entity.annotation.RelationProperty;
import lombok.AllArgsConstructor; import com.yonde.dex.basedata.entity.annotation.VersionProperty;
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.data.VersionRelationType;
import com.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable; import com.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable;
import com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOHolder; import com.yonde.dex.basedata.entity.vo.IdOnlyVO;
import com.yonde.dex.basedata.entity.vo.IdVO;
import com.yonde.dex.container.folder.plugin.common.entity.DxObjFolderVOEmbeddable;
import com.yonde.dex.container.folder.plugin.common.entity.DxObjFolderVOHolder;
import com.yonde.dex.context.plugin.common.entity.DxContextVOEmbeddable; import com.yonde.dex.context.plugin.common.entity.DxContextVOEmbeddable;
import com.yonde.dex.dfs.objfilelink.plugin.common.entity.DxObjFileLinkVOHolder;
import com.yonde.dex.context.plugin.common.entity.DxContextVOHolder; import com.yonde.dex.context.plugin.common.entity.DxContextVOHolder;
import com.yonde.dex.container.folder.plugin.common.entity.DxObjFolderVOEmbeddable; import com.yonde.dex.dfs.objfilelink.plugin.common.entity.DxObjFileLinkVOEmbeddable;
import com.yonde.dex.version.plugin.common.entity.DxIterationVOEmbeddable; import com.yonde.dex.dfs.objfilelink.plugin.common.entity.DxObjFileLinkVOHolder;
import com.yonde.dex.basedata.entity.users.DxUserVO;
import com.yonde.dex.lcycle.plugin.common.entity.DxLifecycleManageBaseVOHolder;
import com.yonde.dex.lcycle.plugin.common.entity.DxLifecycleManageBaseVOEmbeddable; import com.yonde.dex.lcycle.plugin.common.entity.DxLifecycleManageBaseVOEmbeddable;
import com.inet.dcs.document.common.vo.ExtDesignReviewFeedbackLinkVO; import com.yonde.dex.lcycle.plugin.common.entity.DxLifecycleManageBaseVOHolder;
import com.inet.dcs.document.common.vo.ExtReviewMInutesFeedbackLinkVO;
import com.yonde.dex.basedata.entity.vo.IdVO;
import com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOEmbeddable; import com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOEmbeddable;
import com.yonde.dex.container.folder.plugin.common.entity.DxObjFolderVOHolder; import com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOHolder;
import com.inet.dcs.document.common.vo.ExtReviewFeedDocumentLinkVO;
import com.inet.dcs.document.common.vo.ExtReviewSummaryVO;
import com.yonde.dex.user.common.vo.DxUserInfoVO; import com.yonde.dex.user.common.vo.DxUserInfoVO;
import com.yonde.dex.dfs.objfilelink.plugin.common.entity.DxObjFileLinkVOEmbeddable; import com.yonde.dex.version.plugin.common.entity.DxIterationVOEmbeddable;
import com.yonde.dex.version.plugin.common.entity.DxIterationVOHolder; import com.yonde.dex.version.plugin.common.entity.DxIterationVOHolder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.time.LocalDateTime;
import java.util.List;
/** /**
* @description: ExtReviewFeedback-VO * @description: ExtReviewFeedback-VO
* @author: dexadmin * @author: dexadmin
* @version: V * @version: V
* @date: 2024-11-8 10:29:45 * @date: 2024-11-21 15:35:04
**/ **/
@JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtReviewFeedbackVO.class) @JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtReviewFeedbackVO.class)
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
...@@ -71,7 +50,7 @@ public class ExtReviewFeedbackVO extends IdOnlyVO implements DxIterationVOHolder ...@@ -71,7 +50,7 @@ public class ExtReviewFeedbackVO extends IdOnlyVO implements DxIterationVOHolder
public static final String DX_ITERATION_EMBEDDABLE_PROP_NAME = "dxIterationEmbeddable"; public static final String DX_ITERATION_EMBEDDABLE_PROP_NAME = "dxIterationEmbeddable";
public static final String DX_SECRET_EMBEDDABLE_PROP_NAME = "dxSecretEmbeddable"; public static final String DX_SECRET_EMBEDDABLE_PROP_NAME = "dxSecretEmbeddable";
public static final String EXT_DESIGN_REVIEW_FEEDBACK_LINKS_PROP_NAME = "extDesignReviewFeedbackLinks"; public static final String EXT_DESIGN_REVIEW_FEEDBACK_LINKS_PROP_NAME = "extDesignReviewFeedbackLinks";
public static final String EXT_REVIEW_FEED_DOCUMENT_LINKS_PROP_NAME = "extReviewFeedDocumentLinks"; public static final String EXT_FEEDBACKS_PROP_NAME = "extFeedbacks";
public static final String EXT_REVIEW_MINUTES_FEEDBACK_LINKS_PROP_NAME = "extReviewMInutesFeedbackLinks"; public static final String EXT_REVIEW_MINUTES_FEEDBACK_LINKS_PROP_NAME = "extReviewMInutesFeedbackLinks";
public static final String EXT_REVIEW_SUMMARYS_PROP_NAME = "extReviewSummarys"; public static final String EXT_REVIEW_SUMMARYS_PROP_NAME = "extReviewSummarys";
public static final String IS_HAND_OPINION_PROP_NAME = "isHandOpinion"; public static final String IS_HAND_OPINION_PROP_NAME = "isHandOpinion";
...@@ -145,11 +124,11 @@ public class ExtReviewFeedbackVO extends IdOnlyVO implements DxIterationVOHolder ...@@ -145,11 +124,11 @@ public class ExtReviewFeedbackVO extends IdOnlyVO implements DxIterationVOHolder
private List<ExtDesignReviewFeedbackLinkVO> extDesignReviewFeedbackLinks; private List<ExtDesignReviewFeedbackLinkVO> extDesignReviewFeedbackLinks;
/** /**
* 评审意见反馈文档link集合 * 意见回复(评审意见反馈与意见回复是一对多的关系)集合
*/ */
@RelationProperty(refProperty = "source") @RelationProperty(refProperty = "extReviewFeedback")
@VersionProperty(curVersion = VersionRelationType.ITERATION, refVersion = VersionRelationType.NONE) @VersionProperty(curVersion = VersionRelationType.ITERATION, refVersion = VersionRelationType.NONE)
private List<ExtReviewFeedDocumentLinkVO> extReviewFeedDocumentLinks; private List<ExtFeedbackVO> extFeedbacks;
/** /**
* 设计评审纪要意见反馈link集合 * 设计评审纪要意见反馈link集合
......
package com.inet.dcs.document.core.controller;
import com.inet.dcs.document.common.vo.ExtDesignAndClosedCycleDocLinkVO;
import com.inet.dcs.document.core.controller.shadow.ExtDesignAndClosedCycleDocLinkControllerShadow;
import com.inet.dcs.document.core.service.ExtDesignAndClosedCycleDocLinkService;
import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
/**
* @description: ExtDesignAndClosedCycleDocLink-Controller
* @author: dexadmin
* @version: V
* @date: 2024-11-21 14:03:05
**/
@Api(tags = "ExtDesignAndClosedCycleDocLink管理服务")
@RequestMapping("/ExtDesignAndClosedCycleDocLink")
@ResponseBody()
@Controller(ExtDesignAndClosedCycleDocLinkController.BEAN_NAME)
public class ExtDesignAndClosedCycleDocLinkController<V extends ExtDesignAndClosedCycleDocLinkVO, S extends ExtDesignAndClosedCycleDocLinkService<V>> extends ExtDesignAndClosedCycleDocLinkControllerShadow<V, S> {
}
...@@ -27,6 +27,15 @@ import org.springframework.stereotype.Controller; ...@@ -27,6 +27,15 @@ import org.springframework.stereotype.Controller;
@Controller(ExtDesignNoticeMinutesLinkController.BEAN_NAME) @Controller(ExtDesignNoticeMinutesLinkController.BEAN_NAME)
public class ExtDesignNoticeMinutesLinkController<V extends ExtDesignNoticeMinutesLinkVO, S extends ExtDesignNoticeMinutesLinkService<V>> extends ExtDesignNoticeMinutesLinkControllerShadow<V, S> { public class ExtDesignNoticeMinutesLinkController<V extends ExtDesignNoticeMinutesLinkVO, S extends ExtDesignNoticeMinutesLinkService<V>> extends ExtDesignNoticeMinutesLinkControllerShadow<V, S> {
@Autowired
private ExtDesignNoticeMinutesLinkService extDesignNoticeMinutesLinkService;
@ApiOperation(value = "获取评审项下所有类型的文档", notes = "获取评审项下所有类型的文档")
@GetMapping(value = "/getAllDocById")
public ApiResult getAllDocByDesignNoticeMinutesId(@RequestParam(required = true,value = "id") Long id){
return ApiResult.ok(extDesignNoticeMinutesLinkService.getAllDocByDesignNoticeMinutesId(id),"获取成功");
}
} }
......
package com.inet.dcs.document.core.controller;
import com.inet.dcs.document.common.vo.ExtFeedbackVO;
import com.inet.dcs.document.core.controller.shadow.ExtFeedbackControllerShadow;
import com.inet.dcs.document.core.service.ExtFeedbackService;
import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
/**
* @description: ExtFeedback-Controller
* @author: dexadmin
* @version: V
* @date: 2024-11-21 15:35:08
**/
@Api(tags = "ExtFeedback管理服务")
@RequestMapping("/ExtFeedback")
@ResponseBody()
@Controller(ExtFeedbackController.BEAN_NAME)
public class ExtFeedbackController<V extends ExtFeedbackVO, S extends ExtFeedbackService<V>> extends ExtFeedbackControllerShadow<V, S> {
}
package com.inet.dcs.document.core.controller.shadow;
import com.inet.dcs.document.common.vo.ExtDesignAndClosedCycleDocLinkVO;
import com.inet.dcs.document.core.service.ExtDesignAndClosedCycleDocLinkService;
import com.inet.dcs.document.core.service.impl.ExtDesignAndClosedCycleDocLinkServiceImpl;
import com.yonde.dex.baseweb.AbstractBaseController;
import com.yonde.dex.linkdata.plugin.core.controller.DxLinkDataController;
import javax.annotation.Resource;
/**
* @description: ExtDesignAndClosedCycleDocLink-Controller
* @author: dexadmin
* @version: V
* @date: 2024-11-21 14:03:05
**/
public class ExtDesignAndClosedCycleDocLinkControllerShadow<V extends ExtDesignAndClosedCycleDocLinkVO, S extends ExtDesignAndClosedCycleDocLinkService<V>> implements AbstractBaseController<V, S> ,DxLinkDataController<V, S>{
public static final String BEAN_NAME = "extDesignAndClosedCycleDocLinkController";
/**
* 注入
*/
@Resource(name = ExtDesignAndClosedCycleDocLinkServiceImpl.BEAN_NAME)
private ExtDesignAndClosedCycleDocLinkService<V> extDesignAndClosedCycleDocLinkService;
/**
* getService
*/
@Override
public S getService() {
return (S)this.extDesignAndClosedCycleDocLinkService;
}
}
package com.inet.dcs.document.core.controller.shadow;
import com.inet.dcs.document.common.vo.ExtFeedbackVO;
import com.inet.dcs.document.core.service.ExtFeedbackService;
import com.inet.dcs.document.core.service.impl.ExtFeedbackServiceImpl;
import com.yonde.dex.baseweb.AbstractBaseController;
import com.yonde.dex.dfs.objfilelink.plugin.core.controller.DxObjFileLinkController;
import com.yonde.dex.lcycle.plugin.core.controller.AbstractLifecycleBaseController;
import javax.annotation.Resource;
/**
* @description: ExtFeedback-Controller
* @author: dexadmin
* @version: V
* @date: 2024-11-21 15:35:08
**/
public class ExtFeedbackControllerShadow<V extends ExtFeedbackVO, S extends ExtFeedbackService<V>> implements AbstractBaseController<V, S> ,AbstractLifecycleBaseController<V, S> ,DxObjFileLinkController<V, S>{
public static final String BEAN_NAME = "extFeedbackController";
/**
* 注入
*/
@Resource(name = ExtFeedbackServiceImpl.BEAN_NAME)
private ExtFeedbackService<V> extFeedbackService;
/**
* getService
*/
@Override
public S getService() {
return (S)this.extFeedbackService;
}
}
package com.inet.dcs.document.core.repository;
import com.inet.dcs.document.core.repository.shadow.ExtDesignAndClosedCycleDocLinkRepositoryShadow;
import com.inet.dcs.document.entity.po.ExtDesignAndClosedCycleDocLink;
/**
* @description: ExtDesignAndClosedCycleDocLink-repository
* @author: dexadmin
* @version: V
* @date: 2024-11-21 14:03:05
**/
public interface ExtDesignAndClosedCycleDocLinkRepository<P extends ExtDesignAndClosedCycleDocLink> extends ExtDesignAndClosedCycleDocLinkRepositoryShadow<P> {
}
package com.inet.dcs.document.core.repository;
import com.inet.dcs.document.core.repository.shadow.ExtFeedbackRepositoryShadow;
import com.inet.dcs.document.entity.po.ExtFeedback;
/**
* @description: ExtFeedback-repository
* @author: dexadmin
* @version: V
* @date: 2024-11-21 15:35:08
**/
public interface ExtFeedbackRepository<P extends ExtFeedback> extends ExtFeedbackRepositoryShadow<P> {
}
package com.inet.dcs.document.core.repository.shadow;
import com.inet.dcs.document.entity.po.ExtDesignAndClosedCycleDocLink;
import com.yonde.dex.dao.business.repository.BaseRepository;
import com.yonde.dex.linkdata.plugin.core.repository.DxLinkDataRepository;
import org.springframework.data.repository.NoRepositoryBean;
/**
* @description: ExtDesignAndClosedCycleDocLink-repository
* @author: dexadmin
* @version: V
* @date: 2024-11-21 14:03:05
**/
@NoRepositoryBean
public interface ExtDesignAndClosedCycleDocLinkRepositoryShadow<P extends ExtDesignAndClosedCycleDocLink> extends BaseRepository<P> ,DxLinkDataRepository<P> {
String BEAN_NAME = "extDesignAndClosedCycleDocLinkRepository";
}
package com.inet.dcs.document.core.repository.shadow;
import com.inet.dcs.document.entity.po.ExtFeedback;
import com.yonde.dex.dao.business.repository.BaseRepository;
import com.yonde.dex.dfs.objfilelink.plugin.core.repository.DxObjFileLinkPluginRepository;
import com.yonde.dex.lcycle.plugin.core.repository.DxLifecycleManageBaseRepository;
import org.springframework.data.repository.NoRepositoryBean;
/**
* @description: ExtFeedback-repository
* @author: dexadmin
* @version: V
* @date: 2024-11-21 15:35:08
**/
@NoRepositoryBean
public interface ExtFeedbackRepositoryShadow<P extends ExtFeedback> extends DxObjFileLinkPluginRepository<P> ,DxLifecycleManageBaseRepository<P> ,BaseRepository<P> {
String BEAN_NAME = "extFeedbackRepository";
}
package com.inet.dcs.document.core.service;
import com.inet.dcs.document.common.vo.ExtDesignAndClosedCycleDocLinkVO;
import com.inet.dcs.document.core.service.shadow.ExtDesignAndClosedCycleDocLinkServiceShadow;
/**
* @description: ExtDesignAndClosedCycleDocLink-service
* @author: dexadmin
* @version: V
* @date: 2024-11-21 14:03:04
**/
public interface ExtDesignAndClosedCycleDocLinkService<V extends ExtDesignAndClosedCycleDocLinkVO> extends ExtDesignAndClosedCycleDocLinkServiceShadow<V> {
}
...@@ -10,4 +10,6 @@ import com.inet.dcs.document.core.service.shadow.ExtDesignNoticeMinutesLinkServi ...@@ -10,4 +10,6 @@ import com.inet.dcs.document.core.service.shadow.ExtDesignNoticeMinutesLinkServi
**/ **/
public interface ExtDesignNoticeMinutesLinkService<V extends ExtDesignNoticeMinutesLinkVO> extends ExtDesignNoticeMinutesLinkServiceShadow<V> { public interface ExtDesignNoticeMinutesLinkService<V extends ExtDesignNoticeMinutesLinkVO> extends ExtDesignNoticeMinutesLinkServiceShadow<V> {
}
public ExtDesignNoticeMinutesLinkVO getAllDocByDesignNoticeMinutesId(Long id);
}
\ No newline at end of file
package com.inet.dcs.document.core.service;
import com.inet.dcs.document.common.vo.ExtFeedbackVO;
import com.inet.dcs.document.core.service.shadow.ExtFeedbackServiceShadow;
/**
* @description: ExtFeedback-service
* @author: dexadmin
* @version: V
* @date: 2024-11-21 15:35:08
**/
public interface ExtFeedbackService<V extends ExtFeedbackVO> extends ExtFeedbackServiceShadow<V> {
}
package com.inet.dcs.document.core.service.impl;
import com.inet.dcs.document.common.vo.ExtDesignAndClosedCycleDocLinkVO;
import com.inet.dcs.document.core.repository.ExtDesignAndClosedCycleDocLinkRepository;
import com.inet.dcs.document.core.service.ExtDesignAndClosedCycleDocLinkService;
import com.inet.dcs.document.entity.po.ExtDesignAndClosedCycleDocLink;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* @description: ExtDesignAndClosedCycleDocLink-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-11-21 14:03:04
**/
@Slf4j
@Service(ExtDesignAndClosedCycleDocLinkServiceImpl.BEAN_NAME)
public class ExtDesignAndClosedCycleDocLinkServiceImpl<V extends ExtDesignAndClosedCycleDocLinkVO> implements ExtDesignAndClosedCycleDocLinkService<V>{
public static final String BEAN_NAME = "extDesignAndClosedCycleDocLinkServiceImpl";
@Autowired
ExtDesignAndClosedCycleDocLinkRepository<ExtDesignAndClosedCycleDocLink> extDesignAndClosedCycleDocLinkRepository;
}
package com.inet.dcs.document.core.service.impl; package com.inet.dcs.document.core.service.impl;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.util.ObjectUtil;
import com.yonde.dex.basedata.data.search.SearchItem;
import com.yonde.dex.basedata.data.search.SearchItems;
import com.yonde.dex.basedata.data.search.SearchQueryCondition;
import com.yonde.dex.basedata.exception.DxBusinessException;
import kotlin.jvm.Throws;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import java.util.List; import java.util.List;
...@@ -29,6 +36,26 @@ public class ExtDesignNoticeMinutesLinkServiceImpl<V extends ExtDesignNoticeMinu ...@@ -29,6 +36,26 @@ public class ExtDesignNoticeMinutesLinkServiceImpl<V extends ExtDesignNoticeMinu
@Autowired @Autowired
ExtDesignNoticeMinutesLinkRepository<ExtDesignNoticeMinutesLink> extDesignNoticeMinutesLinkRepository; ExtDesignNoticeMinutesLinkRepository<ExtDesignNoticeMinutesLink> extDesignNoticeMinutesLinkRepository;
@Override
public ExtDesignNoticeMinutesLinkVO getAllDocByDesignNoticeMinutesId(Long id) {
if(ObjectUtil.isEmpty(id)){
throw new DxBusinessException("500","审计审查项id不能为空");
}
SearchQueryCondition queryCondition= SearchQueryCondition.builder()
.openProp(SearchQueryCondition.builder().name("extDesignRelateDocumentLinks").build())
.openProp(SearchQueryCondition.builder().name("extDesignSubmitDocumentLinks").build())
.openProp(SearchQueryCondition.builder().name("extDesignCheckDocumentLinks").build())
.openProp(SearchQueryCondition.builder().name("extDesignAndClosedCycleDocLinks").build())
.searchItems(SearchItems.builder()
.item(new SearchItem("id", SearchItem.Operator.EQ, id, null))
.build())
.build();
List<V> content = this.findRecursion(queryCondition).getContent();
if(CollUtil.isNotEmpty(content)){
throw new DxBusinessException("500","根据id:"+id+",未查到对象!");
}
return content.get(0);
}
} }
package com.inet.dcs.document.core.service.impl;
import com.inet.dcs.document.common.vo.ExtFeedbackVO;
import com.inet.dcs.document.core.repository.ExtFeedbackRepository;
import com.inet.dcs.document.core.service.ExtFeedbackService;
import com.inet.dcs.document.entity.po.ExtFeedback;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* @description: ExtFeedback-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-11-21 15:35:08
**/
@Slf4j
@Service(ExtFeedbackServiceImpl.BEAN_NAME)
public class ExtFeedbackServiceImpl<V extends ExtFeedbackVO> implements ExtFeedbackService<V>{
public static final String BEAN_NAME = "extFeedbackServiceImpl";
@Autowired
ExtFeedbackRepository<ExtFeedback> extFeedbackRepository;
}
package com.inet.dcs.document.core.service.shadow;
import com.inet.dcs.document.common.vo.ExtDesignAndClosedCycleDocLinkVO;
import com.inet.dcs.document.feign.ExtDesignAndClosedCycleDocLinkServiceFeign;
import com.yonde.dex.dao.service.BaseIdEntityService;
import com.yonde.dex.linkdata.plugin.core.service.DxLinkDataService;
/**
* @description: ExtDesignAndClosedCycleDocLink-service
* @author: dexadmin
* @version: V
* @date: 2024-11-21 14:03:04
**/
public interface ExtDesignAndClosedCycleDocLinkServiceShadow<V extends ExtDesignAndClosedCycleDocLinkVO> extends ExtDesignAndClosedCycleDocLinkServiceFeign<V>, BaseIdEntityService<V> ,DxLinkDataService<V> {
}
package com.inet.dcs.document.core.service.shadow;
import com.inet.dcs.document.common.vo.ExtFeedbackVO;
import com.inet.dcs.document.feign.ExtFeedbackServiceFeign;
import com.yonde.dex.dao.service.BaseIdEntityService;
import com.yonde.dex.dfs.objfilelink.plugin.core.service.ObjFileLinkPluginService;
import com.yonde.dex.lcycle.plugin.core.service.LifecycleBaseService;
/**
* @description: ExtFeedback-service
* @author: dexadmin
* @version: V
* @date: 2024-11-21 15:35:08
**/
public interface ExtFeedbackServiceShadow<V extends ExtFeedbackVO> extends ExtFeedbackServiceFeign<V>, ObjFileLinkPluginService<V> ,LifecycleBaseService<V> ,BaseIdEntityService<V> {
}
package com.inet.dcs.document.entity.po;
import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable;
import com.yonde.dex.dao.entity.base.IdEntity;
import com.yonde.dex.dao.entity.base.IdOnlyEntity;
import com.yonde.dex.linkdata.plugin.entities.DxLinkDataEmbeddable;
import com.yonde.dex.linkdata.plugin.entities.DxLinkDataHolder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* @description: ExtDesignAndClosedCycleDocLink-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-11-21 14:03:04
**/
@Entity
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Data
@Table(name = "EXT_DESIGN_AND_CLOSED_CYCLE_DO")
public class ExtDesignAndClosedCycleDocLink extends IdOnlyEntity implements IdEntity ,DxLinkDataHolder{
/**
* dao扩展对象
*/
@DexEmbedded()
@Embedded()
private DxIdEntityEmbeddable dxIdEmbeddable;
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxLinkDataEmbeddable dxLinkDataEmbeddable;
}
package com.inet.dcs.document.entity.po; package com.inet.dcs.document.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 com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable;
import com.yonde.dex.dao.entity.base.IdEntity;
import com.yonde.dex.dao.entity.base.IdOnlyEntity;
import com.yonde.dex.linkdata.plugin.entities.DxLinkDataEmbeddable;
import com.yonde.dex.linkdata.plugin.entities.DxLinkDataHolder;
import lombok.Data; import lombok.Data;
import com.yonde.dex.basedata.entity.annotation.*; import lombok.EqualsAndHashCode;
import java.math.BigInteger;
import javax.persistence.*;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import com.yonde.dex.dao.entity.base.IdEntity; import java.time.LocalDateTime;
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: ExtDesignNoticeMinutesLink-PO实体 * @description: ExtDesignNoticeMinutesLink-PO实体
* @author: dexadmin * @author: dexadmin
* @version: V * @version: V
* @date: 2024-11-7 9:15:12 * @date: 2024-11-21 14:02:59
**/ **/
@Entity @Entity
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
......
package com.inet.dcs.document.entity.po;
import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable;
import com.yonde.dex.dao.entity.base.IdEntity;
import com.yonde.dex.dao.entity.base.IdOnlyEntity;
import com.yonde.dex.dfs.objfilelink.plugin.entities.DxObjFileLinkEmbeddable;
import com.yonde.dex.dfs.objfilelink.plugin.entities.DxObjFileLinkHolder;
import com.yonde.dex.lcycle.plugin.entities.DxLifecycleManageBaseEmbeddable;
import com.yonde.dex.lcycle.plugin.entities.DxLifecycleManageBaseHolder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.time.LocalDateTime;
/**
* @description: ExtFeedback-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-11-21 15:35:08
**/
@Entity
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Data
@Table(name = "EXT_FEEDBACK")
public class ExtFeedback extends IdOnlyEntity implements DxObjFileLinkHolder ,DxLifecycleManageBaseHolder ,IdEntity{
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxObjFileLinkEmbeddable dxObjFileLinkEmbeddable;
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxLifecycleManageBaseEmbeddable dxLifecycleManageBaseEmbeddable;
/**
* dao扩展对象
*/
@DexEmbedded()
@Embedded()
private DxIdEntityEmbeddable dxIdEmbeddable;
/**
* 变更说明
*/
private String changePlain;
/**
* 评审意见反馈的id
*/
private Long extReviewFeedbackId;
/**
* 评审意见反馈的类型
*/
private String extReviewFeedbackIdType;
/**
* 意见答复
*/
private String feedback;
/**
* 实施情况
*/
private String implementation;
/**
* 备注
*/
private String note;
/**
* 升版文件的文件编码
*/
private String number;
/**
* 阶段
*/
private String phase;
/**
* 预计升版时间
*/
private LocalDateTime preUpgradeVeriosnDate;
/**
* 责任人(取升版文件的编制人)的id
*/
private Long principalId;
/**
* 责任人(取升版文件的编制人)的类型
*/
private String principalIdType;
/**
* 实际升版时间
*/
private LocalDateTime realUpgradeVeriosnDate;
/**
* 原因说明
*/
private String reasonexPlain;
}
package com.inet.dcs.document.entity.po; package com.inet.dcs.document.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 com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable;
import com.yonde.dex.dao.entity.base.IdEntity;
import com.yonde.dex.dao.entity.base.IdOnlyEntity;
import com.yonde.dex.linkdata.plugin.entities.DxLinkDataEmbeddable;
import com.yonde.dex.linkdata.plugin.entities.DxLinkDataHolder;
import lombok.Data; import lombok.Data;
import com.yonde.dex.basedata.entity.annotation.*; import lombok.EqualsAndHashCode;
import java.math.BigInteger;
import javax.persistence.*;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; 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: ExtReviewFeedDocumentLink-PO实体 * @description: ExtReviewFeedDocumentLink-PO实体
* @author: dexadmin * @author: dexadmin
* @version: V * @version: V
* @date: 2024-11-7 9:15:14 * @date: 2024-11-21 15:35:06
**/ **/
@Entity @Entity
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
......
package com.inet.dcs.document.entity.po; package com.inet.dcs.document.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 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.lcycle.plugin.entities.DxLifecycleManageBaseEmbeddable;
import com.yonde.dex.container.folder.plugin.entities.DxObjFolderEmbeddable; import com.yonde.dex.container.folder.plugin.entities.DxObjFolderEmbeddable;
import com.yonde.dex.context.plugin.entities.DxContextHolder;
import com.yonde.dex.dfs.objfilelink.plugin.entities.DxObjFileLinkHolder;
import com.yonde.dex.dfs.objfilelink.plugin.entities.DxObjFileLinkEmbeddable;
import com.yonde.dex.context.plugin.entities.DxContextEmbeddable;
import com.yonde.dex.dao.entity.base.IdOnlyEntity;
import com.yonde.dex.version.plugin.entities.DxIterationHolder;
import com.yonde.dex.container.folder.plugin.entities.DxObjFolderHolder; import com.yonde.dex.container.folder.plugin.entities.DxObjFolderHolder;
import com.yonde.dex.context.plugin.entities.DxContextEmbeddable;
import com.yonde.dex.context.plugin.entities.DxContextHolder;
import com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable;
import com.yonde.dex.dao.entity.base.IdEntity; import com.yonde.dex.dao.entity.base.IdEntity;
import javax.persistence.Column; import com.yonde.dex.dao.entity.base.IdOnlyEntity;
import com.yonde.dex.secretcode.plugin.entities.DxSecretHolder; import com.yonde.dex.dfs.objfilelink.plugin.entities.DxObjFileLinkEmbeddable;
import com.yonde.dex.dfs.objfilelink.plugin.entities.DxObjFileLinkHolder;
import com.yonde.dex.lcycle.plugin.entities.DxLifecycleManageBaseEmbeddable;
import com.yonde.dex.lcycle.plugin.entities.DxLifecycleManageBaseHolder; import com.yonde.dex.lcycle.plugin.entities.DxLifecycleManageBaseHolder;
import com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable;
import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable; import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable;
import com.yonde.dex.secretcode.plugin.entities.DxSecretHolder;
import com.yonde.dex.version.plugin.entities.DxIterationEmbeddable; import com.yonde.dex.version.plugin.entities.DxIterationEmbeddable;
import com.yonde.dex.version.plugin.entities.DxIterationHolder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.time.LocalDateTime;
/** /**
* @description: ExtReviewFeedback-PO实体 * @description: ExtReviewFeedback-PO实体
* @author: dexadmin * @author: dexadmin
* @version: V * @version: V
* @date: 2024-11-8 10:29:45 * @date: 2024-11-21 15:35:04
**/ **/
@Entity @Entity
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
......
package com.inet.dcs.document.feign;
import com.inet.dcs.document.common.vo.ExtDesignAndClosedCycleDocLinkVO;
import com.inet.dcs.document.feign.shadow.ExtDesignAndClosedCycleDocLinkServiceFeignShadow;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
/**
* @description: ExtDesignAndClosedCycleDocLink-Feign
* @author: dexadmin
* @version: V
* @date: 2024-11-21 14:03:05
**/
@Api(tags = "ExtDesignAndClosedCycleDocLink-FEIGN")
@FeignClient(value = "${dcs.feign.DCS-DOC}", path = "/ExtDesignAndClosedCycleDocLink")
public interface ExtDesignAndClosedCycleDocLinkServiceFeign<V extends ExtDesignAndClosedCycleDocLinkVO> extends ExtDesignAndClosedCycleDocLinkServiceFeignShadow<V> {
}
package com.inet.dcs.document.feign;
import com.inet.dcs.document.common.vo.ExtFeedbackVO;
import com.inet.dcs.document.feign.shadow.ExtFeedbackServiceFeignShadow;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
/**
* @description: ExtFeedback-Feign
* @author: dexadmin
* @version: V
* @date: 2024-11-21 15:35:08
**/
@Api(tags = "ExtFeedback-FEIGN")
@FeignClient(value = "${dcs.feign.DCS-DOC}", path = "/ExtFeedback")
public interface ExtFeedbackServiceFeign<V extends ExtFeedbackVO> extends ExtFeedbackServiceFeignShadow<V> {
}
package com.inet.dcs.document.feign.shadow;
import com.inet.dcs.document.common.vo.ExtDesignAndClosedCycleDocLinkVO;
import com.yonde.dex.dao.service.remotes.BaseFeign;
import com.yonde.dex.linkdata.plugin.feign.DxLinkDataFeign;
/**
* @description: ExtDesignAndClosedCycleDocLink-Feign
* @author: dexadmin
* @version: V
* @date: 2024-11-21 14:03:05
**/
public interface ExtDesignAndClosedCycleDocLinkServiceFeignShadow<V extends ExtDesignAndClosedCycleDocLinkVO> extends BaseFeign<V> ,DxLinkDataFeign<V> {
String BEAN_NAME = "extDesignAndClosedCycleDocLinkServiceFeign";
}
package com.inet.dcs.document.feign.shadow;
import com.inet.dcs.document.common.vo.ExtFeedbackVO;
import com.yonde.dex.dao.service.remotes.BaseFeign;
import com.yonde.dex.lcycle.plugin.feign.BaseLifecycleManageFeign;
/**
* @description: ExtFeedback-Feign
* @author: dexadmin
* @version: V
* @date: 2024-11-21 15:35:08
**/
public interface ExtFeedbackServiceFeignShadow<V extends ExtFeedbackVO> extends BaseLifecycleManageFeign<V> ,BaseFeign<V> {
String BEAN_NAME = "extFeedbackServiceFeign";
}
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