Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dcs-doc-expand
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
INET-TWO
server
dcs-doc-expand
Commits
df90b791
Commit
df90b791
authored
Nov 21, 2024
by
wangqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
意见答复、意见挂载文档,意见查询所有文档功能开发
parent
4a2e0097
Show whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
872 additions
and
194 deletions
+872
-194
ExtDesignAndClosedCycleDocLinkVO.java
.../document/common/vo/ExtDesignAndClosedCycleDocLinkVO.java
+51
-0
ExtDesignNoticeMinutesLinkVO.java
.../dcs/document/common/vo/ExtDesignNoticeMinutesLinkVO.java
+17
-35
ExtFeedbackVO.java
...n/java/com/inet/dcs/document/common/vo/ExtFeedbackVO.java
+166
-0
ExtReviewFeedDocumentLinkVO.java
...t/dcs/document/common/vo/ExtReviewFeedDocumentLinkVO.java
+12
-35
ExtReviewFeedbackVO.java
.../com/inet/dcs/document/common/vo/ExtReviewFeedbackVO.java
+24
-45
ExtDesignAndClosedCycleDocLinkController.java
.../controller/ExtDesignAndClosedCycleDocLinkController.java
+26
-0
ExtDesignNoticeMinutesLinkController.java
...core/controller/ExtDesignNoticeMinutesLinkController.java
+9
-0
ExtFeedbackController.java
...t/dcs/document/core/controller/ExtFeedbackController.java
+26
-0
ExtDesignAndClosedCycleDocLinkControllerShadow.java
...hadow/ExtDesignAndClosedCycleDocLinkControllerShadow.java
+37
-0
ExtFeedbackControllerShadow.java
...t/core/controller/shadow/ExtFeedbackControllerShadow.java
+38
-0
ExtDesignAndClosedCycleDocLinkRepository.java
.../repository/ExtDesignAndClosedCycleDocLinkRepository.java
+13
-0
ExtFeedbackRepository.java
...t/dcs/document/core/repository/ExtFeedbackRepository.java
+13
-0
ExtDesignAndClosedCycleDocLinkRepositoryShadow.java
...hadow/ExtDesignAndClosedCycleDocLinkRepositoryShadow.java
+18
-0
ExtFeedbackRepositoryShadow.java
...t/core/repository/shadow/ExtFeedbackRepositoryShadow.java
+19
-0
ExtDesignAndClosedCycleDocLinkService.java
...t/core/service/ExtDesignAndClosedCycleDocLinkService.java
+14
-0
ExtDesignNoticeMinutesLinkService.java
...ument/core/service/ExtDesignNoticeMinutesLinkService.java
+3
-1
ExtFeedbackService.java
...om/inet/dcs/document/core/service/ExtFeedbackService.java
+14
-0
ExtDesignAndClosedCycleDocLinkServiceImpl.java
...rvice/impl/ExtDesignAndClosedCycleDocLinkServiceImpl.java
+29
-0
ExtDesignNoticeMinutesLinkServiceImpl.java
...e/service/impl/ExtDesignNoticeMinutesLinkServiceImpl.java
+27
-0
ExtFeedbackServiceImpl.java
...cs/document/core/service/impl/ExtFeedbackServiceImpl.java
+29
-0
ExtDesignAndClosedCycleDocLinkServiceShadow.java
...e/shadow/ExtDesignAndClosedCycleDocLinkServiceShadow.java
+16
-0
ExtFeedbackServiceShadow.java
...ocument/core/service/shadow/ExtFeedbackServiceShadow.java
+17
-0
ExtDesignAndClosedCycleDocLink.java
...cs/document/entity/po/ExtDesignAndClosedCycleDocLink.java
+44
-0
ExtDesignNoticeMinutesLink.java
...et/dcs/document/entity/po/ExtDesignNoticeMinutesLink.java
+9
-23
ExtFeedback.java
...ain/java/com/inet/dcs/document/entity/po/ExtFeedback.java
+105
-0
ExtReviewFeedDocumentLink.java
...net/dcs/document/entity/po/ExtReviewFeedDocumentLink.java
+8
-23
ExtReviewFeedback.java
...va/com/inet/dcs/document/entity/po/ExtReviewFeedback.java
+18
-32
ExtDesignAndClosedCycleDocLinkServiceFeign.java
...ent/feign/ExtDesignAndClosedCycleDocLinkServiceFeign.java
+18
-0
ExtFeedbackServiceFeign.java
.../com/inet/dcs/document/feign/ExtFeedbackServiceFeign.java
+18
-0
ExtDesignAndClosedCycleDocLinkServiceFeignShadow.java
...dow/ExtDesignAndClosedCycleDocLinkServiceFeignShadow.java
+17
-0
ExtFeedbackServiceFeignShadow.java
.../document/feign/shadow/ExtFeedbackServiceFeignShadow.java
+17
-0
No files found.
inet-doc-expand-common/src/main/java/com/inet/dcs/document/common/vo/ExtDesignAndClosedCycleDocLinkVO.java
0 → 100644
View file @
df90b791
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
;
}
inet-doc-expand-common/src/main/java/com/inet/dcs/document/common/vo/ExtDesignNoticeMinutesLinkVO.java
View file @
df90b791
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
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.inet.dcs.document.common.vo.ExtDesignReviewFeedbackLinkVO
;
import
com.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable
;
import
com.
inet.dcs.document.common.vo.ExtDesignRelateDocumentLink
VO
;
import
com.
yonde.dex.basedata.entity.vo.IdOnly
VO
;
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.
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.basedata.entity.users.DxUserVO
;
import
com.inet.dcs.document.common.vo.ExtDesignReviewNoticeVO
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.ToString
;
import
java.time.LocalDateTime
;
import
java.util.List
;
/**
* @description: ExtDesignNoticeMinutesLink-VO
* @author: dexadmin
* @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
)
@EqualsAndHashCode
(
callSuper
=
true
)
...
...
@@ -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_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_RELATE_DOCUMENT_LINKS_PROP_NAME
=
"extDesignRelateDocumentLinks"
;
public
static
final
String
EXT_DESIGN_REVIEW_FEEDBACK_LINKS_PROP_NAME
=
"extDesignReviewFeedbackLinks"
;
...
...
@@ -93,6 +68,13 @@ public class ExtDesignNoticeMinutesLinkVO extends IdOnlyVO implements IdVO ,DxLi
@JsonIgnore
private
DxLinkDataVOEmbeddable
<
ExtDesignReviewNoticeVO
,
ExtDesignReviewMinutesVO
>
dxLinkDataEmbeddable
;
/**
* 评审项和相关闭环跟进事项link集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
NONE
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtDesignAndClosedCycleDocLinkVO
>
extDesignAndClosedCycleDocLinks
;
/**
* 设计评审项备查文件link集合
*/
...
...
inet-doc-expand-common/src/main/java/com/inet/dcs/document/common/vo/ExtFeedbackVO.java
0 → 100644
View file @
df90b791
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
;
}
inet-doc-expand-common/src/main/java/com/inet/dcs/document/common/vo/ExtReviewFeedDocumentLinkVO.java
View file @
df90b791
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
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.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.DxLinkDataVOHolder
;
import
com.yonde.dex.linkdata.plugin.common.DxLinkDataVOEmbeddable
;
import
com.yonde.dcs.document.common.entity.vo.DxDocumentVO
;
import
com.inet.dcs.document.common.vo.ExtReviewFeedbackVO
;
import
com.yonde.dex.basedata.entity.users.DxUserVO
;
import
com.yonde.dex.linkdata.plugin.common.DxLinkDataVOHolder
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.ToString
;
/**
* @description: ExtReviewFeedDocumentLink-VO
* @author: dexadmin
* @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
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Data
@ToString
(
callSuper
=
true
)
@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
<
ExtReviewFeedbackVO
,
DxDocumentVO
>{
public
class
ExtReviewFeedDocumentLinkVO
extends
IdOnlyVO
implements
IdVO
,
DxLinkDataVOHolder
<
ExtFeedbackVO
,
DxDocumentVO
>{
public
static
final
String
DX_ID_EMBEDDABLE_PROP_NAME
=
"dxIdEmbeddable"
;
public
static
final
String
DX_LINK_DATA_EMBEDDABLE_PROP_NAME
=
"dxLinkDataEmbeddable"
;
...
...
@@ -67,7 +44,7 @@ public class ExtReviewFeedDocumentLinkVO extends IdOnlyVO implements IdVO ,DxLin
*/
@DexEmbedded
()
@JsonIgnore
private
DxLinkDataVOEmbeddable
<
Ext
Review
FeedbackVO
,
DxDocumentVO
>
dxLinkDataEmbeddable
;
private
DxLinkDataVOEmbeddable
<
ExtFeedbackVO
,
DxDocumentVO
>
dxLinkDataEmbeddable
;
}
...
...
inet-doc-expand-common/src/main/java/com/inet/dcs/document/common/vo/ExtReviewFeedbackVO.java
View file @
df90b791
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
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.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.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.dfs.objfilelink.plugin.common.entity.DxObjFileLinkVOHolder
;
import
com.yonde.dex.context.plugin.common.entity.DxContextVOHolder
;
import
com.yonde.dex.container.folder.plugin.common.entity.DxObjFolderVOEmbeddable
;
import
com.yonde.dex.version.plugin.common.entity.DxIterationVOEmbeddable
;
import
com.yonde.dex.basedata.entity.users.DxUserVO
;
import
com.yonde.dex.lcycle.plugin.common.entity.DxLifecycleManageBaseVOHolder
;
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.inet.dcs.document.common.vo.ExtDesignReviewFeedbackLinkVO
;
import
com.inet.dcs.document.common.vo.ExtReviewMInutesFeedbackLinkVO
;
import
com.yonde.dex.basedata.entity.vo.IdVO
;
import
com.yonde.dex.lcycle.plugin.common.entity.DxLifecycleManageBaseVOHolder
;
import
com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOEmbeddable
;
import
com.yonde.dex.container.folder.plugin.common.entity.DxObjFolderVOHolder
;
import
com.inet.dcs.document.common.vo.ExtReviewFeedDocumentLinkVO
;
import
com.inet.dcs.document.common.vo.ExtReviewSummaryVO
;
import
com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOHolder
;
import
com.yonde.dex.user.common.vo.DxUserInfoVO
;
import
com.yonde.dex.
dfs.objfilelink.plugin.common.entity.DxObjFileLink
VOEmbeddable
;
import
com.yonde.dex.
version.plugin.common.entity.DxIteration
VOEmbeddable
;
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
* @author: dexadmin
* @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
)
@EqualsAndHashCode
(
callSuper
=
true
)
...
...
@@ -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_SECRET_EMBEDDABLE_PROP_NAME
=
"dxSecretEmbeddable"
;
public
static
final
String
EXT_DESIGN_REVIEW_FEEDBACK_LINKS_PROP_NAME
=
"extDesignReviewFeedbackLinks"
;
public
static
final
String
EXT_
REVIEW_FEED_DOCUMENT_LINKS_PROP_NAME
=
"extReviewFeedDocumentLin
ks"
;
public
static
final
String
EXT_
FEEDBACKS_PROP_NAME
=
"extFeedbac
ks"
;
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
IS_HAND_OPINION_PROP_NAME
=
"isHandOpinion"
;
...
...
@@ -145,11 +124,11 @@ public class ExtReviewFeedbackVO extends IdOnlyVO implements DxIterationVOHolder
private
List
<
ExtDesignReviewFeedbackLinkVO
>
extDesignReviewFeedbackLinks
;
/**
*
评审意见反馈文档link
集合
*
意见回复(评审意见反馈与意见回复是一对多的关系)
集合
*/
@RelationProperty
(
refProperty
=
"
source
"
)
@RelationProperty
(
refProperty
=
"
extReviewFeedback
"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
ITERATION
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
Ext
ReviewFeedDocumentLinkVO
>
extReviewFeedDocumentLin
ks
;
private
List
<
Ext
FeedbackVO
>
extFeedbac
ks
;
/**
* 设计评审纪要意见反馈link集合
...
...
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/controller/ExtDesignAndClosedCycleDocLinkController.java
0 → 100644
View file @
df90b791
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
>
{
}
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/controller/ExtDesignNoticeMinutesLinkController.java
View file @
df90b791
...
...
@@ -27,6 +27,15 @@ import org.springframework.stereotype.Controller;
@Controller
(
ExtDesignNoticeMinutesLinkController
.
BEAN_NAME
)
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
),
"获取成功"
);
}
}
...
...
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/controller/ExtFeedbackController.java
0 → 100644
View file @
df90b791
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
>
{
}
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/controller/shadow/ExtDesignAndClosedCycleDocLinkControllerShadow.java
0 → 100644
View file @
df90b791
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
;
}
}
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/controller/shadow/ExtFeedbackControllerShadow.java
0 → 100644
View file @
df90b791
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
;
}
}
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/repository/ExtDesignAndClosedCycleDocLinkRepository.java
0 → 100644
View file @
df90b791
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
>
{
}
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/repository/ExtFeedbackRepository.java
0 → 100644
View file @
df90b791
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
>
{
}
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/repository/shadow/ExtDesignAndClosedCycleDocLinkRepositoryShadow.java
0 → 100644
View file @
df90b791
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"
;
}
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/repository/shadow/ExtFeedbackRepositoryShadow.java
0 → 100644
View file @
df90b791
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"
;
}
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/service/ExtDesignAndClosedCycleDocLinkService.java
0 → 100644
View file @
df90b791
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
>
{
}
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/service/ExtDesignNoticeMinutesLinkService.java
View file @
df90b791
...
...
@@ -10,4 +10,6 @@ import com.inet.dcs.document.core.service.shadow.ExtDesignNoticeMinutesLinkServi
**/
public
interface
ExtDesignNoticeMinutesLinkService
<
V
extends
ExtDesignNoticeMinutesLinkVO
>
extends
ExtDesignNoticeMinutesLinkServiceShadow
<
V
>
{
public
ExtDesignNoticeMinutesLinkVO
getAllDocByDesignNoticeMinutesId
(
Long
id
);
}
\ No newline at end of file
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/service/ExtFeedbackService.java
0 → 100644
View file @
df90b791
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
>
{
}
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/service/impl/ExtDesignAndClosedCycleDocLinkServiceImpl.java
0 → 100644
View file @
df90b791
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
;
}
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/service/impl/ExtDesignNoticeMinutesLinkServiceImpl.java
View file @
df90b791
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
io.swagger.annotations.ApiOperation
;
import
java.util.List
;
...
...
@@ -29,6 +36,26 @@ public class ExtDesignNoticeMinutesLinkServiceImpl<V extends ExtDesignNoticeMinu
@Autowired
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
);
}
}
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/service/impl/ExtFeedbackServiceImpl.java
0 → 100644
View file @
df90b791
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
;
}
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/service/shadow/ExtDesignAndClosedCycleDocLinkServiceShadow.java
0 → 100644
View file @
df90b791
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
>
{
}
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/service/shadow/ExtFeedbackServiceShadow.java
0 → 100644
View file @
df90b791
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
>
{
}
inet-doc-expand-entity/src/main/java/com/inet/dcs/document/entity/po/ExtDesignAndClosedCycleDocLink.java
0 → 100644
View file @
df90b791
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
;
}
inet-doc-expand-entity/src/main/java/com/inet/dcs/document/entity/po/ExtDesignNoticeMinutesLink.java
View file @
df90b791
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.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
com.yonde.dex.basedata.entity.annotation.*
;
import
java.math.BigInteger
;
import
javax.persistence.*
;
import
java.math.BigDecimal
;
import
lombok.AllArgsConstructor
;
import
lombok.EqualsAndHashCode
;
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
;
import
java.time.LocalDateTime
;
/**
* @description: ExtDesignNoticeMinutesLink-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-11-
7 9:15:12
* @date: 2024-11-
21 14:02:59
**/
@Entity
@EqualsAndHashCode
(
callSuper
=
true
)
...
...
inet-doc-expand-entity/src/main/java/com/inet/dcs/document/entity/po/ExtFeedback.java
0 → 100644
View file @
df90b791
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
;
}
inet-doc-expand-entity/src/main/java/com/inet/dcs/document/entity/po/ExtReviewFeedDocumentLink.java
View file @
df90b791
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.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
com.yonde.dex.basedata.entity.annotation.*
;
import
java.math.BigInteger
;
import
javax.persistence.*
;
import
java.math.BigDecimal
;
import
lombok.AllArgsConstructor
;
import
lombok.EqualsAndHashCode
;
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: ExtReviewFeedDocumentLink-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-11-
7 9:15:14
* @date: 2024-11-
21 15:35:06
**/
@Entity
@EqualsAndHashCode
(
callSuper
=
true
)
...
...
inet-doc-expand-entity/src/main/java/com/inet/dcs/document/entity/po/ExtReviewFeedback.java
View file @
df90b791
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
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.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.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
javax.persistence.Column
;
import
com.yonde.dex.secretcode.plugin.entities.DxSecretHolder
;
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
com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable
;
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.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实体
* @author: dexadmin
* @version: V
* @date: 2024-11-
8 10:29:45
* @date: 2024-11-
21 15:35:04
**/
@Entity
@EqualsAndHashCode
(
callSuper
=
true
)
...
...
inet-doc-expand-feign/src/main/java/com/inet/dcs/document/feign/ExtDesignAndClosedCycleDocLinkServiceFeign.java
0 → 100644
View file @
df90b791
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
>
{
}
inet-doc-expand-feign/src/main/java/com/inet/dcs/document/feign/ExtFeedbackServiceFeign.java
0 → 100644
View file @
df90b791
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
>
{
}
inet-doc-expand-feign/src/main/java/com/inet/dcs/document/feign/shadow/ExtDesignAndClosedCycleDocLinkServiceFeignShadow.java
0 → 100644
View file @
df90b791
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"
;
}
inet-doc-expand-feign/src/main/java/com/inet/dcs/document/feign/shadow/ExtFeedbackServiceFeignShadow.java
0 → 100644
View file @
df90b791
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"
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment