Commit baf3cca1 authored by wei's avatar wei 🎱

文档增加两个状态属性

parent 02ca80c0
package com.yonde.dcs.document.expand.plugin; package com.yonde.dcs.document.expand.plugin;
import com.yonde.dex.basedata.entity.vo.IdVO;
import com.yonde.dex.basedata.utils.obj.DxExpandUtils; import com.yonde.dex.basedata.utils.obj.DxExpandUtils;
import java.util.List; import java.util.List;
import java.util.Date;
import java.math.BigInteger;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.yonde.dcs.document.expand.entity.DxDocumentVOExpand; import com.yonde.dcs.document.expand.entity.DxDocumentVOExpand;
import com.inet.dcs.document.common.vo.ExtRelatedDcrLinkVO; import com.inet.dcs.document.common.vo.ExtRelatedDcrLinkVO;
import com.inet.dcs.document.common.vo.ExtRelatedInterfaceLinkVO; import com.inet.dcs.document.common.vo.ExtRelatedInterfaceLinkVO;
...@@ -36,7 +40,7 @@ import com.inet.dcs.document.common.vo.ExtInterfaceInfoLinkVO; ...@@ -36,7 +40,7 @@ import com.inet.dcs.document.common.vo.ExtInterfaceInfoLinkVO;
* @description: DxDocument-扩展VO插件接口 * @description: DxDocument-扩展VO插件接口
* @author: dexadmin * @author: dexadmin
* @version: V * @version: V
* @date: 2024-10-16 13:50:28 * @date: 2024-10-30 9:36:21
**/ **/
public interface DxDocumentVOPluginExpand<V extends DxDocumentVOPluginExpand> { public interface DxDocumentVOPluginExpand<V extends DxDocumentVOPluginExpand> {
...@@ -158,6 +162,9 @@ public interface DxDocumentVOPluginExpand<V extends DxDocumentVOPluginExpand> { ...@@ -158,6 +162,9 @@ public interface DxDocumentVOPluginExpand<V extends DxDocumentVOPluginExpand> {
default void setDrawingCode(String drawingCode) { default void setDrawingCode(String drawingCode) {
DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).setDrawingCode(drawingCode); DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).setDrawingCode(drawingCode);
} }
default void setArchivingStatus(String archivingStatus) {
DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).setArchivingStatus(archivingStatus);
}
default List<ExtRelatedInterfaceLinkVO> getTargetExtRelatedInterfaceLink() { default List<ExtRelatedInterfaceLinkVO> getTargetExtRelatedInterfaceLink() {
return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).getTargetExtRelatedInterfaceLink(); return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).getTargetExtRelatedInterfaceLink();
} }
...@@ -236,6 +243,9 @@ public interface DxDocumentVOPluginExpand<V extends DxDocumentVOPluginExpand> { ...@@ -236,6 +243,9 @@ public interface DxDocumentVOPluginExpand<V extends DxDocumentVOPluginExpand> {
default void setTargetExtDocumentReferentLink(List<ExtDocumentReferentLinkVO> targetExtDocumentReferentLink) { default void setTargetExtDocumentReferentLink(List<ExtDocumentReferentLinkVO> targetExtDocumentReferentLink) {
DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).setTargetExtDocumentReferentLink(targetExtDocumentReferentLink); DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).setTargetExtDocumentReferentLink(targetExtDocumentReferentLink);
} }
default Integer getBorrowingStatus() {
return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).getBorrowingStatus();
}
default List<ExtInterfaceReplaceLinkVO> getSourceExtInterfaceReplaceLink() { default List<ExtInterfaceReplaceLinkVO> getSourceExtInterfaceReplaceLink() {
return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).getSourceExtInterfaceReplaceLink(); return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).getSourceExtInterfaceReplaceLink();
} }
...@@ -389,6 +399,9 @@ public interface DxDocumentVOPluginExpand<V extends DxDocumentVOPluginExpand> { ...@@ -389,6 +399,9 @@ public interface DxDocumentVOPluginExpand<V extends DxDocumentVOPluginExpand> {
default List<ExtDenDescriptLinkVO> getSourceExtDenDescriptLink() { default List<ExtDenDescriptLinkVO> getSourceExtDenDescriptLink() {
return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).getSourceExtDenDescriptLink(); return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).getSourceExtDenDescriptLink();
} }
default String getArchivingStatus() {
return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).getArchivingStatus();
}
default List<ExtRelatedDrawingLinkVO> getSourceExtRelatedDrawingLink() { default List<ExtRelatedDrawingLinkVO> getSourceExtRelatedDrawingLink() {
return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).getSourceExtRelatedDrawingLink(); return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).getSourceExtRelatedDrawingLink();
} }
...@@ -440,6 +453,9 @@ public interface DxDocumentVOPluginExpand<V extends DxDocumentVOPluginExpand> { ...@@ -440,6 +453,9 @@ public interface DxDocumentVOPluginExpand<V extends DxDocumentVOPluginExpand> {
default void setExtComDocLinks(List<ExtComDocLinkVO> extComDocLinks) { default void setExtComDocLinks(List<ExtComDocLinkVO> extComDocLinks) {
DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).setExtComDocLinks(extComDocLinks); DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).setExtComDocLinks(extComDocLinks);
} }
default void setBorrowingStatus(Integer borrowingStatus) {
DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).setBorrowingStatus(borrowingStatus);
}
default void setSourceExtCheckedFileLink(List<ExtCheckedFileLinkVO> sourceExtCheckedFileLink) { default void setSourceExtCheckedFileLink(List<ExtCheckedFileLinkVO> sourceExtCheckedFileLink) {
DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).setSourceExtCheckedFileLink(sourceExtCheckedFileLink); DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentVOExpand<>()).setSourceExtCheckedFileLink(sourceExtCheckedFileLink);
} }
......
...@@ -17,7 +17,7 @@ import com.yonde.dex.basedata.entity.annotation.DexEmbedded; ...@@ -17,7 +17,7 @@ import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
* @description: DxDocument-POExpand扩展实体 * @description: DxDocument-POExpand扩展实体
* @author: dexadmin * @author: dexadmin
* @version: V * @version: V
* @date: 2024-8-2 15:26:32 * @date: 2024-10-30 9:36:20
**/ **/
@ToString @ToString
@Embeddable @Embeddable
...@@ -25,11 +25,19 @@ import com.yonde.dex.basedata.entity.annotation.DexEmbedded; ...@@ -25,11 +25,19 @@ import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
@EqualsAndHashCode @EqualsAndHashCode
public class DxDocumentExpand implements Serializable{ public class DxDocumentExpand implements Serializable{
/**
* 归档状态
*/
private String archivingStatus;
/** /**
* 附件页数 * 附件页数
*/ */
private String attachPages; private String attachPages;
/** /**
* 借阅状态
*/
private Integer borrowingStatus;
/**
* 校核内容 * 校核内容
*/ */
private String checkContent; private String checkContent;
......
package com.yonde.dcs.document.expand.plugin; package com.yonde.dcs.document.expand.plugin;
import com.yonde.dcs.document.expand.entity.DxDocumentExpand;
import com.yonde.dex.basedata.utils.obj.DxExpandUtils; import com.yonde.dex.basedata.utils.obj.DxExpandUtils;
import java.util.List;
import java.util.Date;
import java.math.BigInteger;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.yonde.dcs.document.expand.entity.DxDocumentExpand;
/** /**
* @description: DxDocument-扩展PO插件接口 * @description: DxDocument-扩展PO插件接口
* @author: dexadmin * @author: dexadmin
* @version: V * @version: V
* @date: 2024-9-20 10:08:27 * @date: 2024-10-30 9:36:20
**/ **/
public interface DxDocumentPluginExpand { public interface DxDocumentPluginExpand {
...@@ -53,6 +57,9 @@ public interface DxDocumentPluginExpand { ...@@ -53,6 +57,9 @@ public interface DxDocumentPluginExpand {
default void setFourLevCategory(String fourLevCategory) { default void setFourLevCategory(String fourLevCategory) {
DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).setFourLevCategory(fourLevCategory); DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).setFourLevCategory(fourLevCategory);
} }
default String getArchivingStatus() {
return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).getArchivingStatus();
}
default void setCheckStandardReview(String checkStandardReview) { default void setCheckStandardReview(String checkStandardReview) {
DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).setCheckStandardReview(checkStandardReview); DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).setCheckStandardReview(checkStandardReview);
} }
...@@ -101,6 +108,9 @@ public interface DxDocumentPluginExpand { ...@@ -101,6 +108,9 @@ public interface DxDocumentPluginExpand {
default String getDrawingCode() { default String getDrawingCode() {
return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).getDrawingCode(); return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).getDrawingCode();
} }
default Integer getBorrowingStatus() {
return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).getBorrowingStatus();
}
default String getSubject() { default String getSubject() {
return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).getSubject(); return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).getSubject();
} }
...@@ -113,12 +123,18 @@ public interface DxDocumentPluginExpand { ...@@ -113,12 +123,18 @@ public interface DxDocumentPluginExpand {
default String getProjectCode() { default String getProjectCode() {
return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).getProjectCode(); return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).getProjectCode();
} }
default void setBorrowingStatus(Integer borrowingStatus) {
DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).setBorrowingStatus(borrowingStatus);
}
default void setTwoLevCategory(String twoLevCategory) { default void setTwoLevCategory(String twoLevCategory) {
DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).setTwoLevCategory(twoLevCategory); DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).setTwoLevCategory(twoLevCategory);
} }
default void setDrawingCode(String drawingCode) { default void setDrawingCode(String drawingCode) {
DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).setDrawingCode(drawingCode); DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).setDrawingCode(drawingCode);
} }
default void setArchivingStatus(String archivingStatus) {
DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).setArchivingStatus(archivingStatus);
}
default String getOwnSubSystem() { default String getOwnSubSystem() {
return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).getOwnSubSystem(); return DxExpandUtils.getNotNullObject(this::getDxDocumentExpand,this::setDxDocumentExpand,new DxDocumentExpand()).getOwnSubSystem();
} }
......
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