Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dcs-plan
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
INET-TWO
server
dcs-plan
Commits
c441bf0d
Commit
c441bf0d
authored
Sep 27, 2024
by
wangyangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
计划基线模型
parent
2430f82b
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
720 additions
and
0 deletions
+720
-0
ExtPlanBaseLineLinkVO.java
...a/com/yonde/dcs/plan/common/vo/ExtPlanBaseLineLinkVO.java
+70
-0
ExtPlanBaseLineVO.java
.../java/com/yonde/dcs/plan/common/vo/ExtPlanBaseLineVO.java
+103
-0
ExtPlanBaseLineController.java
...e/dcs/plan/core/controller/ExtPlanBaseLineController.java
+33
-0
ExtPlanBaseLineLinkController.java
...s/plan/core/controller/ExtPlanBaseLineLinkController.java
+33
-0
ExtPlanBaseLineControllerShadow.java
...re/controller/shadow/ExtPlanBaseLineControllerShadow.java
+43
-0
ExtPlanBaseLineLinkControllerShadow.java
...ontroller/shadow/ExtPlanBaseLineLinkControllerShadow.java
+44
-0
ExtPlanBaseLineLinkRepository.java
...s/plan/core/repository/ExtPlanBaseLineLinkRepository.java
+12
-0
ExtPlanBaseLineRepository.java
...e/dcs/plan/core/repository/ExtPlanBaseLineRepository.java
+12
-0
ExtPlanBaseLineLinkRepositoryShadow.java
...epository/shadow/ExtPlanBaseLineLinkRepositoryShadow.java
+17
-0
ExtPlanBaseLineRepositoryShadow.java
...re/repository/shadow/ExtPlanBaseLineRepositoryShadow.java
+17
-0
ExtPlanBaseLineLinkService.java
...nde/dcs/plan/core/service/ExtPlanBaseLineLinkService.java
+13
-0
ExtPlanBaseLineService.java
...m/yonde/dcs/plan/core/service/ExtPlanBaseLineService.java
+13
-0
ExtPlanBaseLineLinkServiceImpl.java
...lan/core/service/impl/ExtPlanBaseLineLinkServiceImpl.java
+34
-0
ExtPlanBaseLineServiceImpl.java
...cs/plan/core/service/impl/ExtPlanBaseLineServiceImpl.java
+34
-0
ExtPlanBaseLineLinkServiceShadow.java
...core/service/shadow/ExtPlanBaseLineLinkServiceShadow.java
+15
-0
ExtPlanBaseLineServiceShadow.java
...lan/core/service/shadow/ExtPlanBaseLineServiceShadow.java
+15
-0
ExtPlanBaseLine.java
...in/java/com/yonde/dcs/plan/entity/po/ExtPlanBaseLine.java
+75
-0
ExtPlanBaseLineLink.java
...ava/com/yonde/dcs/plan/entity/po/ExtPlanBaseLineLink.java
+59
-0
ExtPlanBaseLineLinkServiceFeign.java
...yonde/dcs/plan/feign/ExtPlanBaseLineLinkServiceFeign.java
+19
-0
ExtPlanBaseLineServiceFeign.java
...com/yonde/dcs/plan/feign/ExtPlanBaseLineServiceFeign.java
+19
-0
ExtPlanBaseLineLinkServiceFeignShadow.java
...n/feign/shadow/ExtPlanBaseLineLinkServiceFeignShadow.java
+20
-0
ExtPlanBaseLineServiceFeignShadow.java
.../plan/feign/shadow/ExtPlanBaseLineServiceFeignShadow.java
+20
-0
No files found.
dcs-plan-common/src/main/java/com/yonde/dcs/plan/common/vo/ExtPlanBaseLineLinkVO.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
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.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable
;
import
com.yonde.dex.basedata.entity.vo.IdVO
;
import
com.yonde.dex.linkdata.plugin.common.DxLinkDataVOHolder
;
import
com.yonde.dex.linkdata.plugin.common.DxLinkDataVOEmbeddable
;
import
com.yonde.dex.basedata.entity.users.DxUserVO
;
/**
* @description: ExtPlanBaseLineLink-VO
* @author: dexadmin
* @version: V
* @date: 2024-9-27 10:56:22
**/
@JsonTypeInfo
(
use
=
JsonTypeInfo
.
Id
.
CLASS
,
property
=
"dxClassname"
,
visible
=
true
,
defaultImpl
=
ExtPlanBaseLineLinkVO
.
class
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Data
@ToString
(
callSuper
=
true
)
public
class
ExtPlanBaseLineLinkVO
extends
IdOnlyVO
implements
IdVO
,
DxLinkDataVOHolder
<
ExtPlanBaseLineVO
,
IdOnlyVO
>{
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
<
ExtPlanBaseLineVO
,
IdOnlyVO
>
dxLinkDataEmbeddable
;
}
dcs-plan-common/src/main/java/com/yonde/dcs/plan/common/vo/ExtPlanBaseLineVO.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
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.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable
;
import
com.yonde.dex.basedata.entity.vo.IdVO
;
import
com.yonde.dex.context.plugin.common.entity.DxContextVOEmbeddable
;
import
com.yonde.dex.context.plugin.common.entity.DxContextVOHolder
;
import
com.yonde.dcs.plan.common.vo.ExtPlanBaseLineLinkVO
;
import
com.yonde.dex.basedata.entity.users.DxUserVO
;
/**
* @description: ExtPlanBaseLine-VO
* @author: dexadmin
* @version: V
* @date: 2024-9-27 10:56:22
**/
@JsonTypeInfo
(
use
=
JsonTypeInfo
.
Id
.
CLASS
,
property
=
"dxClassname"
,
visible
=
true
,
defaultImpl
=
ExtPlanBaseLineVO
.
class
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Data
@ToString
(
callSuper
=
true
)
public
class
ExtPlanBaseLineVO
extends
IdOnlyVO
implements
IdVO
,
DxContextVOHolder
{
public
static
final
String
DX_CONTEXT_EMBEDDABLE_PROP_NAME
=
"dxContextEmbeddable"
;
public
static
final
String
DX_ID_EMBEDDABLE_PROP_NAME
=
"dxIdEmbeddable"
;
public
static
final
String
EXT_PLAN_BASE_LINE_LINKS_PROP_NAME
=
"extPlanBaseLineLinks"
;
public
static
final
String
NAME_PROP_NAME
=
"name"
;
public
static
final
String
NOTE_PROP_NAME
=
"note"
;
public
static
final
String
PLAN_DIS_PLAY_NAME_PROP_NAME
=
"planDisPlayName"
;
public
static
final
String
PLAN_TYPE_PROP_NAME
=
"planType"
;
/**
* 扩展VO属性
*/
@DexEmbedded
()
@JsonIgnore
private
DxContextVOEmbeddable
dxContextEmbeddable
;
/**
* dao扩展对象
*/
@DexEmbedded
()
@JsonIgnore
private
DxIdVOEmbeddable
dxIdEmbeddable
;
/**
* 计划基线link集合
*/
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
NONE
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtPlanBaseLineLinkVO
>
extPlanBaseLineLinks
;
/**
* 基线名称
*/
private
String
name
;
/**
* 备注
*/
private
String
note
;
/**
* 计划类型显示名称
*/
private
String
planDisPlayName
;
/**
* 计划类型
*/
private
String
planType
;
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/controller/ExtPlanBaseLineController.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
core
.
controller
;
import
org.springframework.stereotype.Controller
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.validation.annotation.Validated
;
import
java.util.List
;
import
com.yonde.dcs.plan.common.vo.ExtPlanBaseLineVO
;
import
org.springframework.beans.factory.annotation.Qualifier
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.*
;
import
com.yonde.dcs.plan.core.service.ExtPlanBaseLineService
;
import
com.yonde.dex.basedata.entity.api.ApiResult
;
import
com.yonde.dcs.plan.core.controller.shadow.ExtPlanBaseLineControllerShadow
;
import
javax.annotation.Resource
;
import
org.springframework.stereotype.Controller
;
/**
* @description: ExtPlanBaseLine-Controller
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
@Api
(
tags
=
"ExtPlanBaseLine管理服务"
)
@RequestMapping
(
"/ExtPlanBaseLine"
)
@ResponseBody
()
@Controller
(
ExtPlanBaseLineController
.
BEAN_NAME
)
public
class
ExtPlanBaseLineController
<
V
extends
ExtPlanBaseLineVO
,
S
extends
ExtPlanBaseLineService
<
V
>>
extends
ExtPlanBaseLineControllerShadow
<
V
,
S
>
{
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/controller/ExtPlanBaseLineLinkController.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
core
.
controller
;
import
org.springframework.stereotype.Controller
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.validation.annotation.Validated
;
import
java.util.List
;
import
com.yonde.dcs.plan.common.vo.ExtPlanBaseLineLinkVO
;
import
org.springframework.beans.factory.annotation.Qualifier
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.*
;
import
com.yonde.dcs.plan.core.service.ExtPlanBaseLineLinkService
;
import
com.yonde.dex.basedata.entity.api.ApiResult
;
import
com.yonde.dcs.plan.core.controller.shadow.ExtPlanBaseLineLinkControllerShadow
;
import
javax.annotation.Resource
;
import
org.springframework.stereotype.Controller
;
/**
* @description: ExtPlanBaseLineLink-Controller
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
@Api
(
tags
=
"ExtPlanBaseLineLink管理服务"
)
@RequestMapping
(
"/ExtPlanBaseLineLink"
)
@ResponseBody
()
@Controller
(
ExtPlanBaseLineLinkController
.
BEAN_NAME
)
public
class
ExtPlanBaseLineLinkController
<
V
extends
ExtPlanBaseLineLinkVO
,
S
extends
ExtPlanBaseLineLinkService
<
V
>>
extends
ExtPlanBaseLineLinkControllerShadow
<
V
,
S
>
{
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/controller/shadow/ExtPlanBaseLineControllerShadow.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
core
.
controller
.
shadow
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.validation.annotation.Validated
;
import
java.util.List
;
import
com.yonde.dcs.plan.common.vo.ExtPlanBaseLineVO
;
import
org.springframework.beans.factory.annotation.Qualifier
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.*
;
import
com.yonde.dcs.plan.core.service.ExtPlanBaseLineService
;
import
com.yonde.dcs.plan.core.service.impl.ExtPlanBaseLineServiceImpl
;
import
com.yonde.dex.basedata.entity.api.ApiResult
;
import
javax.annotation.Resource
;
import
com.yonde.dex.baseweb.AbstractBaseController
;
/**
* @description: ExtPlanBaseLine-Controller
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
public
class
ExtPlanBaseLineControllerShadow
<
V
extends
ExtPlanBaseLineVO
,
S
extends
ExtPlanBaseLineService
<
V
>>
implements
AbstractBaseController
<
V
,
S
>{
public
static
final
String
BEAN_NAME
=
"extPlanBaseLineController"
;
/**
* 注入
*/
@Resource
(
name
=
ExtPlanBaseLineServiceImpl
.
BEAN_NAME
)
private
ExtPlanBaseLineService
<
V
>
extPlanBaseLineService
;
/**
* getService
*/
@Override
public
S
getService
()
{
return
(
S
)
this
.
extPlanBaseLineService
;
}
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/controller/shadow/ExtPlanBaseLineLinkControllerShadow.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
core
.
controller
.
shadow
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.validation.annotation.Validated
;
import
java.util.List
;
import
com.yonde.dcs.plan.common.vo.ExtPlanBaseLineLinkVO
;
import
org.springframework.beans.factory.annotation.Qualifier
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.*
;
import
com.yonde.dcs.plan.core.service.ExtPlanBaseLineLinkService
;
import
com.yonde.dcs.plan.core.service.impl.ExtPlanBaseLineLinkServiceImpl
;
import
com.yonde.dex.basedata.entity.api.ApiResult
;
import
javax.annotation.Resource
;
import
com.yonde.dex.linkdata.plugin.core.controller.DxLinkDataController
;
import
com.yonde.dex.baseweb.AbstractBaseController
;
/**
* @description: ExtPlanBaseLineLink-Controller
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
public
class
ExtPlanBaseLineLinkControllerShadow
<
V
extends
ExtPlanBaseLineLinkVO
,
S
extends
ExtPlanBaseLineLinkService
<
V
>>
implements
AbstractBaseController
<
V
,
S
>
,
DxLinkDataController
<
V
,
S
>{
public
static
final
String
BEAN_NAME
=
"extPlanBaseLineLinkController"
;
/**
* 注入
*/
@Resource
(
name
=
ExtPlanBaseLineLinkServiceImpl
.
BEAN_NAME
)
private
ExtPlanBaseLineLinkService
<
V
>
extPlanBaseLineLinkService
;
/**
* getService
*/
@Override
public
S
getService
()
{
return
(
S
)
this
.
extPlanBaseLineLinkService
;
}
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/repository/ExtPlanBaseLineLinkRepository.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
core
.
repository
;
import
com.yonde.dcs.plan.entity.po.ExtPlanBaseLineLink
;
import
com.yonde.dcs.plan.core.repository.shadow.ExtPlanBaseLineLinkRepositoryShadow
;
/**
* @description: ExtPlanBaseLineLink-repository
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
public
interface
ExtPlanBaseLineLinkRepository
<
P
extends
ExtPlanBaseLineLink
>
extends
ExtPlanBaseLineLinkRepositoryShadow
<
P
>
{
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/repository/ExtPlanBaseLineRepository.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
core
.
repository
;
import
com.yonde.dcs.plan.entity.po.ExtPlanBaseLine
;
import
com.yonde.dcs.plan.core.repository.shadow.ExtPlanBaseLineRepositoryShadow
;
/**
* @description: ExtPlanBaseLine-repository
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
public
interface
ExtPlanBaseLineRepository
<
P
extends
ExtPlanBaseLine
>
extends
ExtPlanBaseLineRepositoryShadow
<
P
>
{
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/repository/shadow/ExtPlanBaseLineLinkRepositoryShadow.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
core
.
repository
.
shadow
;
import
com.yonde.dcs.plan.entity.po.ExtPlanBaseLineLink
;
import
org.springframework.data.repository.NoRepositoryBean
;
import
com.yonde.dex.dao.business.repository.BaseRepository
;
import
com.yonde.dex.linkdata.plugin.core.repository.DxLinkDataRepository
;
/**
* @description: ExtPlanBaseLineLink-repository
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
@NoRepositoryBean
public
interface
ExtPlanBaseLineLinkRepositoryShadow
<
P
extends
ExtPlanBaseLineLink
>
extends
BaseRepository
<
P
>
,
DxLinkDataRepository
<
P
>
{
String
BEAN_NAME
=
"extPlanBaseLineLinkRepository"
;
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/repository/shadow/ExtPlanBaseLineRepositoryShadow.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
core
.
repository
.
shadow
;
import
com.yonde.dcs.plan.entity.po.ExtPlanBaseLine
;
import
org.springframework.data.repository.NoRepositoryBean
;
import
com.yonde.dex.context.plugin.core.repository.DxContextPluginRepository
;
import
com.yonde.dex.dao.business.repository.BaseRepository
;
/**
* @description: ExtPlanBaseLine-repository
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
@NoRepositoryBean
public
interface
ExtPlanBaseLineRepositoryShadow
<
P
extends
ExtPlanBaseLine
>
extends
DxContextPluginRepository
<
P
>
,
BaseRepository
<
P
>
{
String
BEAN_NAME
=
"extPlanBaseLineRepository"
;
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/ExtPlanBaseLineLinkService.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
core
.
service
;
import
com.yonde.dcs.plan.common.vo.ExtPlanBaseLineLinkVO
;
import
com.yonde.dcs.plan.core.service.shadow.ExtPlanBaseLineLinkServiceShadow
;
/**
* @description: ExtPlanBaseLineLink-service
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
public
interface
ExtPlanBaseLineLinkService
<
V
extends
ExtPlanBaseLineLinkVO
>
extends
ExtPlanBaseLineLinkServiceShadow
<
V
>
{
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/ExtPlanBaseLineService.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
core
.
service
;
import
com.yonde.dcs.plan.common.vo.ExtPlanBaseLineVO
;
import
com.yonde.dcs.plan.core.service.shadow.ExtPlanBaseLineServiceShadow
;
/**
* @description: ExtPlanBaseLine-service
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
public
interface
ExtPlanBaseLineService
<
V
extends
ExtPlanBaseLineVO
>
extends
ExtPlanBaseLineServiceShadow
<
V
>
{
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/impl/ExtPlanBaseLineLinkServiceImpl.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
core
.
service
.
impl
;
import
org.springframework.stereotype.Service
;
import
io.swagger.annotations.ApiOperation
;
import
java.util.List
;
import
com.yonde.dcs.plan.common.vo.ExtPlanBaseLineLinkVO
;
import
org.springframework.beans.factory.annotation.Qualifier
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.web.bind.annotation.*
;
import
com.yonde.dcs.plan.core.service.ExtPlanBaseLineLinkService
;
import
com.yonde.dcs.plan.core.repository.ExtPlanBaseLineLinkRepository
;
import
com.yonde.dcs.plan.entity.po.ExtPlanBaseLineLink
;
import
javax.annotation.Resource
;
/**
* @description: ExtPlanBaseLineLink-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
@Slf4j
@Service
(
ExtPlanBaseLineLinkServiceImpl
.
BEAN_NAME
)
public
class
ExtPlanBaseLineLinkServiceImpl
<
V
extends
ExtPlanBaseLineLinkVO
>
implements
ExtPlanBaseLineLinkService
<
V
>{
public
static
final
String
BEAN_NAME
=
"extPlanBaseLineLinkServiceImpl"
;
@Autowired
ExtPlanBaseLineLinkRepository
<
ExtPlanBaseLineLink
>
extPlanBaseLineLinkRepository
;
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/impl/ExtPlanBaseLineServiceImpl.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
core
.
service
.
impl
;
import
org.springframework.stereotype.Service
;
import
io.swagger.annotations.ApiOperation
;
import
java.util.List
;
import
com.yonde.dcs.plan.common.vo.ExtPlanBaseLineVO
;
import
org.springframework.beans.factory.annotation.Qualifier
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.web.bind.annotation.*
;
import
com.yonde.dcs.plan.core.service.ExtPlanBaseLineService
;
import
com.yonde.dcs.plan.core.repository.ExtPlanBaseLineRepository
;
import
com.yonde.dcs.plan.entity.po.ExtPlanBaseLine
;
import
javax.annotation.Resource
;
/**
* @description: ExtPlanBaseLine-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
@Slf4j
@Service
(
ExtPlanBaseLineServiceImpl
.
BEAN_NAME
)
public
class
ExtPlanBaseLineServiceImpl
<
V
extends
ExtPlanBaseLineVO
>
implements
ExtPlanBaseLineService
<
V
>{
public
static
final
String
BEAN_NAME
=
"extPlanBaseLineServiceImpl"
;
@Autowired
ExtPlanBaseLineRepository
<
ExtPlanBaseLine
>
extPlanBaseLineRepository
;
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/shadow/ExtPlanBaseLineLinkServiceShadow.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
core
.
service
.
shadow
;
import
com.yonde.dcs.plan.common.vo.ExtPlanBaseLineLinkVO
;
import
com.yonde.dcs.plan.feign.ExtPlanBaseLineLinkServiceFeign
;
import
com.yonde.dex.linkdata.plugin.core.service.DxLinkDataService
;
import
com.yonde.dex.dao.service.BaseIdEntityService
;
/**
* @description: ExtPlanBaseLineLink-service
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
public
interface
ExtPlanBaseLineLinkServiceShadow
<
V
extends
ExtPlanBaseLineLinkVO
>
extends
ExtPlanBaseLineLinkServiceFeign
<
V
>,
BaseIdEntityService
<
V
>
,
DxLinkDataService
<
V
>
{
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/shadow/ExtPlanBaseLineServiceShadow.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
core
.
service
.
shadow
;
import
com.yonde.dcs.plan.common.vo.ExtPlanBaseLineVO
;
import
com.yonde.dcs.plan.feign.ExtPlanBaseLineServiceFeign
;
import
com.yonde.dex.dao.service.BaseIdEntityService
;
import
com.yonde.dex.context.plugin.core.service.ContextPluginService
;
/**
* @description: ExtPlanBaseLine-service
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
public
interface
ExtPlanBaseLineServiceShadow
<
V
extends
ExtPlanBaseLineVO
>
extends
ExtPlanBaseLineServiceFeign
<
V
>,
ContextPluginService
<
V
>
,
BaseIdEntityService
<
V
>
{
}
dcs-plan-entity/src/main/java/com/yonde/dcs/plan/entity/po/ExtPlanBaseLine.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
entity
.
po
;
import
org.springframework.data.annotation.CreatedBy
;
import
javax.persistence.UniqueConstraint
;
import
java.util.Date
;
import
java.time.LocalDateTime
;
import
lombok.EqualsAndHashCode
;
import
org.springframework.data.annotation.LastModifiedDate
;
import
com.yonde.dex.dao.entity.base.IdEntity
;
import
org.springframework.data.annotation.LastModifiedBy
;
import
javax.persistence.Column
;
import
org.springframework.data.annotation.CreatedDate
;
import
com.yonde.dex.basedata.entity.annotation.DexEmbedded
;
import
lombok.Data
;
import
com.yonde.dex.basedata.entity.annotation.*
;
import
java.math.BigInteger
;
import
javax.persistence.*
;
import
java.math.BigDecimal
;
import
lombok.AllArgsConstructor
;
import
lombok.NoArgsConstructor
;
import
javax.persistence.Column
;
import
javax.persistence.Embedded
;
import
javax.persistence.Entity
;
import
javax.persistence.Table
;
import
com.yonde.dex.dao.entity.base.IdEntity
;
import
javax.persistence.Column
;
import
com.yonde.dex.context.plugin.entities.DxContextHolder
;
import
com.yonde.dex.context.plugin.entities.DxContextEmbeddable
;
import
com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable
;
import
com.yonde.dex.dao.entity.base.IdOnlyEntity
;
/**
* @description: ExtPlanBaseLine-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:49
**/
@Entity
@EqualsAndHashCode
(
callSuper
=
true
)
@NoArgsConstructor
@Data
@Table
(
name
=
"EXT_PLAN_BASE_LINE"
)
public
class
ExtPlanBaseLine
extends
IdOnlyEntity
implements
DxContextHolder
,
IdEntity
{
/**
* 扩展PO属性
*/
@DexEmbedded
()
@Embedded
()
private
DxContextEmbeddable
dxContextEmbeddable
;
/**
* dao扩展对象
*/
@DexEmbedded
()
@Embedded
()
private
DxIdEntityEmbeddable
dxIdEmbeddable
;
/**
* 基线名称
*/
private
String
name
;
/**
* 备注
*/
private
String
note
;
/**
* 计划类型显示名称
*/
private
String
planDisPlayName
;
/**
* 计划类型
*/
private
String
planType
;
}
dcs-plan-entity/src/main/java/com/yonde/dcs/plan/entity/po/ExtPlanBaseLineLink.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
entity
.
po
;
import
org.springframework.data.annotation.CreatedBy
;
import
javax.persistence.UniqueConstraint
;
import
java.util.Date
;
import
java.time.LocalDateTime
;
import
lombok.EqualsAndHashCode
;
import
org.springframework.data.annotation.LastModifiedDate
;
import
com.yonde.dex.dao.entity.base.IdEntity
;
import
org.springframework.data.annotation.LastModifiedBy
;
import
javax.persistence.Column
;
import
org.springframework.data.annotation.CreatedDate
;
import
com.yonde.dex.basedata.entity.annotation.DexEmbedded
;
import
lombok.Data
;
import
com.yonde.dex.basedata.entity.annotation.*
;
import
java.math.BigInteger
;
import
javax.persistence.*
;
import
java.math.BigDecimal
;
import
lombok.AllArgsConstructor
;
import
lombok.NoArgsConstructor
;
import
javax.persistence.Column
;
import
javax.persistence.Embedded
;
import
javax.persistence.Entity
;
import
javax.persistence.Table
;
import
com.yonde.dex.dao.entity.base.IdEntity
;
import
javax.persistence.Column
;
import
com.yonde.dex.linkdata.plugin.entities.DxLinkDataHolder
;
import
com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable
;
import
com.yonde.dex.dao.entity.base.IdOnlyEntity
;
import
com.yonde.dex.linkdata.plugin.entities.DxLinkDataEmbeddable
;
/**
* @description: ExtPlanBaseLineLink-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
@Entity
@EqualsAndHashCode
(
callSuper
=
true
)
@NoArgsConstructor
@Data
@Table
(
name
=
"EXT_PLAN_BASE_LINE_LINK"
)
public
class
ExtPlanBaseLineLink
extends
IdOnlyEntity
implements
IdEntity
,
DxLinkDataHolder
{
/**
* dao扩展对象
*/
@DexEmbedded
()
@Embedded
()
private
DxIdEntityEmbeddable
dxIdEmbeddable
;
/**
* 扩展PO属性
*/
@DexEmbedded
()
@Embedded
()
private
DxLinkDataEmbeddable
dxLinkDataEmbeddable
;
}
dcs-plan-feign/src/main/java/com/yonde/dcs/plan/feign/ExtPlanBaseLineLinkServiceFeign.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
feign
;
import
com.yonde.dcs.plan.common.vo.ExtPlanBaseLineLinkVO
;
import
io.swagger.annotations.Api
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.*
;
import
com.yonde.dcs.plan.feign.shadow.ExtPlanBaseLineLinkServiceFeignShadow
;
/**
* @description: ExtPlanBaseLineLink-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
@Api
(
tags
=
"ExtPlanBaseLineLink-FEIGN"
)
@FeignClient
(
value
=
"${dcs.feign.INET-PLAN}"
,
path
=
"/ExtPlanBaseLineLink"
)
public
interface
ExtPlanBaseLineLinkServiceFeign
<
V
extends
ExtPlanBaseLineLinkVO
>
extends
ExtPlanBaseLineLinkServiceFeignShadow
<
V
>
{
}
dcs-plan-feign/src/main/java/com/yonde/dcs/plan/feign/ExtPlanBaseLineServiceFeign.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
feign
;
import
com.yonde.dcs.plan.common.vo.ExtPlanBaseLineVO
;
import
io.swagger.annotations.Api
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.*
;
import
com.yonde.dcs.plan.feign.shadow.ExtPlanBaseLineServiceFeignShadow
;
/**
* @description: ExtPlanBaseLine-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
@Api
(
tags
=
"ExtPlanBaseLine-FEIGN"
)
@FeignClient
(
value
=
"${dcs.feign.INET-PLAN}"
,
path
=
"/ExtPlanBaseLine"
)
public
interface
ExtPlanBaseLineServiceFeign
<
V
extends
ExtPlanBaseLineVO
>
extends
ExtPlanBaseLineServiceFeignShadow
<
V
>
{
}
dcs-plan-feign/src/main/java/com/yonde/dcs/plan/feign/shadow/ExtPlanBaseLineLinkServiceFeignShadow.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
feign
.
shadow
;
import
com.yonde.dcs.plan.common.vo.ExtPlanBaseLineLinkVO
;
import
io.swagger.annotations.Api
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.*
;
import
com.yonde.dex.dao.service.remotes.BaseFeign
;
import
com.yonde.dex.linkdata.plugin.feign.DxLinkDataFeign
;
/**
* @description: ExtPlanBaseLineLink-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
public
interface
ExtPlanBaseLineLinkServiceFeignShadow
<
V
extends
ExtPlanBaseLineLinkVO
>
extends
BaseFeign
<
V
>
,
DxLinkDataFeign
<
V
>
{
String
BEAN_NAME
=
"extPlanBaseLineLinkServiceFeign"
;
}
dcs-plan-feign/src/main/java/com/yonde/dcs/plan/feign/shadow/ExtPlanBaseLineServiceFeignShadow.java
0 → 100644
View file @
c441bf0d
package
com
.
yonde
.
dcs
.
plan
.
feign
.
shadow
;
import
com.yonde.dcs.plan.common.vo.ExtPlanBaseLineVO
;
import
io.swagger.annotations.Api
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.*
;
import
com.yonde.dex.dao.service.remotes.BaseFeign
;
import
com.yonde.dex.context.plugin.feign.ContextPluginFeign
;
/**
* @description: ExtPlanBaseLine-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-27 11:03:50
**/
public
interface
ExtPlanBaseLineServiceFeignShadow
<
V
extends
ExtPlanBaseLineVO
>
extends
ContextPluginFeign
<
V
>
,
BaseFeign
<
V
>
{
String
BEAN_NAME
=
"extPlanBaseLineServiceFeign"
;
}
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