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
de36b4cb
Commit
de36b4cb
authored
Nov 05, 2024
by
wangqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
季报和行动项功能开发
parent
52c540a9
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
858 additions
and
0 deletions
+858
-0
ExtActionItemVO.java
...in/java/com/yonde/dcs/plan/common/vo/ExtActionItemVO.java
+160
-0
ExtQuarterlyReportVO.java
...va/com/yonde/dcs/plan/common/vo/ExtQuarterlyReportVO.java
+116
-0
ExtActionItemController.java
...nde/dcs/plan/core/controller/ExtActionItemController.java
+28
-0
ExtQuarterlyReportController.java
...cs/plan/core/controller/ExtQuarterlyReportController.java
+28
-0
ExtActionItemControllerShadow.java
...core/controller/shadow/ExtActionItemControllerShadow.java
+40
-0
ExtQuarterlyReportControllerShadow.java
...controller/shadow/ExtQuarterlyReportControllerShadow.java
+40
-0
ExtActionItemRepository.java
...nde/dcs/plan/core/repository/ExtActionItemRepository.java
+12
-0
ExtQuarterlyReportRepository.java
...cs/plan/core/repository/ExtQuarterlyReportRepository.java
+12
-0
ExtActionItemRepositoryShadow.java
...core/repository/shadow/ExtActionItemRepositoryShadow.java
+19
-0
ExtQuarterlyReportRepositoryShadow.java
...repository/shadow/ExtQuarterlyReportRepositoryShadow.java
+19
-0
ExtActionItemService.java
...com/yonde/dcs/plan/core/service/ExtActionItemService.java
+13
-0
ExtQuarterlyReportService.java
...onde/dcs/plan/core/service/ExtQuarterlyReportService.java
+13
-0
ExtActionItemServiceImpl.java
.../dcs/plan/core/service/impl/ExtActionItemServiceImpl.java
+29
-0
ExtQuarterlyReportServiceImpl.java
...plan/core/service/impl/ExtQuarterlyReportServiceImpl.java
+29
-0
ExtActionItemServiceShadow.java
.../plan/core/service/shadow/ExtActionItemServiceShadow.java
+17
-0
ExtQuarterlyReportServiceShadow.java
.../core/service/shadow/ExtQuarterlyReportServiceShadow.java
+17
-0
ExtActionItem.java
...main/java/com/yonde/dcs/plan/entity/po/ExtActionItem.java
+109
-0
ExtQuarterlyReport.java
...java/com/yonde/dcs/plan/entity/po/ExtQuarterlyReport.java
+85
-0
ExtActionItemServiceFeign.java
...a/com/yonde/dcs/plan/feign/ExtActionItemServiceFeign.java
+18
-0
ExtQuarterlyReportServiceFeign.java
.../yonde/dcs/plan/feign/ExtQuarterlyReportServiceFeign.java
+18
-0
ExtActionItemServiceFeignShadow.java
...cs/plan/feign/shadow/ExtActionItemServiceFeignShadow.java
+18
-0
ExtQuarterlyReportServiceFeignShadow.java
...an/feign/shadow/ExtQuarterlyReportServiceFeignShadow.java
+18
-0
No files found.
dcs-plan-common/src/main/java/com/yonde/dcs/plan/common/vo/ExtActionItemVO.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
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.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.secretcode.plugin.common.entity.DxSecretVOEmbeddable
;
import
com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOHolder
;
import
com.yonde.dex.user.common.vo.DxUserInfoVO
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.ToString
;
import
java.time.LocalDateTime
;
/**
* @description: ExtActionItem-VO
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@JsonTypeInfo
(
use
=
JsonTypeInfo
.
Id
.
CLASS
,
property
=
"dxClassname"
,
visible
=
true
,
defaultImpl
=
ExtActionItemVO
.
class
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Data
@ToString
(
callSuper
=
true
)
public
class
ExtActionItemVO
extends
IdOnlyVO
implements
IdVO
,
DxLifecycleManageBaseVOHolder
,
DxObjFileLinkVOHolder
,
DxSecretVOHolder
{
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
DX_SECRET_EMBEDDABLE_PROP_NAME
=
"dxSecretEmbeddable"
;
public
static
final
String
ACTION_ITEM_NUMBER_PROP_NAME
=
"actionItemNumber"
;
public
static
final
String
ACTION_ITEM_TYPE_PROP_NAME
=
"actionItemType"
;
public
static
final
String
EXT_QUARTERLY_REPORT_PROP_NAME
=
"extQuarterlyReport"
;
public
static
final
String
EXT_QUARTERLY_REPORT_ID_PROP_NAME
=
"extQuarterlyReportId"
;
public
static
final
String
EXT_QUARTERLY_REPORT_ID_TYPE_PROP_NAME
=
"extQuarterlyReportIdType"
;
public
static
final
String
PLAN_COMPLETE_DATE_PROP_NAME
=
"planCompleteDate"
;
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
PROJECT_CLASS_PROP_NAME
=
"projectClass"
;
public
static
final
String
PROJECT_NAME_PROP_NAME
=
"projectName"
;
public
static
final
String
PROJECT_SOURCE_PROP_NAME
=
"projectSource"
;
public
static
final
String
REAL_COMPLETE_TIME_PROP_NAME
=
"realCompleteTime"
;
public
static
final
String
SERIAL_NUMBER_PROP_NAME
=
"serialNumber"
;
/**
* 扩展VO属性
*/
@DexEmbedded
()
@JsonIgnore
private
DxObjFileLinkVOEmbeddable
dxObjFileLinkEmbeddable
;
/**
* 扩展VO属性
*/
@DexEmbedded
()
@JsonIgnore
private
DxLifecycleManageBaseVOEmbeddable
dxLifecycleManageBaseEmbeddable
;
/**
* dao扩展对象
*/
@DexEmbedded
()
@JsonIgnore
private
DxIdVOEmbeddable
dxIdEmbeddable
;
/**
* 扩展VO属性
*/
@DexEmbedded
()
@JsonIgnore
private
DxSecretVOEmbeddable
dxSecretEmbeddable
;
/**
* 行动项编号
*/
private
String
actionItemNumber
;
/**
* 行动项类型
*/
private
String
actionItemType
;
/**
* 季报基本属性
*/
@ReferenceProperty
(
baseProperty
=
"extQuarterlyReportId"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
NONE
,
refVersion
=
VersionRelationType
.
NONE
)
private
ExtQuarterlyReportVO
extQuarterlyReport
;
/**
* 季报基本属性
*/
private
Long
extQuarterlyReportId
;
/**
* 季报基本属性
*/
private
String
extQuarterlyReportIdType
;
/**
* 计划完成日期
*/
private
LocalDateTime
planCompleteDate
;
/**
* 责任人
*/
@ReferenceProperty
(
baseProperty
=
"principalId"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
NONE
,
refVersion
=
VersionRelationType
.
NONE
)
private
DxUserInfoVO
principal
;
/**
* 责任人
*/
private
Long
principalId
;
/**
* 责任人
*/
private
String
principalIdType
;
/**
* 根据项目信息自动带入,项目主管可修改。 将项目的‘项目分类’字段带过来
*/
private
String
projectClass
;
/**
* 项目名称为所选项目的项目名称 任务名称由用户填写
*/
private
String
projectName
;
/**
* 项目来源
*/
private
String
projectSource
;
/**
* 实际完成时间
*/
private
LocalDateTime
realCompleteTime
;
/**
* 序号,只有项目进展类型有
*/
private
String
serialNumber
;
}
dcs-plan-common/src/main/java/com/yonde/dcs/plan/common/vo/ExtQuarterlyReportVO.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
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.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.secretcode.plugin.common.entity.DxSecretVOEmbeddable
;
import
com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOHolder
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.ToString
;
import
java.time.LocalDateTime
;
import
java.util.List
;
/**
* @description: ExtQuarterlyReport-VO
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@JsonTypeInfo
(
use
=
JsonTypeInfo
.
Id
.
CLASS
,
property
=
"dxClassname"
,
visible
=
true
,
defaultImpl
=
ExtQuarterlyReportVO
.
class
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Data
@ToString
(
callSuper
=
true
)
public
class
ExtQuarterlyReportVO
extends
IdOnlyVO
implements
IdVO
,
DxLifecycleManageBaseVOHolder
,
DxObjFileLinkVOHolder
,
DxSecretVOHolder
{
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
DX_SECRET_EMBEDDABLE_PROP_NAME
=
"dxSecretEmbeddable"
;
public
static
final
String
EXT_ACTION_ITEMS_PROP_NAME
=
"extActionItems"
;
public
static
final
String
FILE_NAME_PROP_NAME
=
"fileName"
;
public
static
final
String
FILE_NUMBER_PROP_NAME
=
"fileNumber"
;
public
static
final
String
QUARTER_PROP_NAME
=
"quarter"
;
public
static
final
String
QUARTERLY_REPORT_TIME_PROP_NAME
=
"quarterlyReportTime"
;
public
static
final
String
QUARTERLY_REPORT_TYPE_PROP_NAME
=
"quarterlyReportType"
;
public
static
final
String
STATISTICAL_DATE_PROP_NAME
=
"statisticalDate"
;
/**
* 扩展VO属性
*/
@DexEmbedded
()
@JsonIgnore
private
DxObjFileLinkVOEmbeddable
dxObjFileLinkEmbeddable
;
/**
* 扩展VO属性
*/
@DexEmbedded
()
@JsonIgnore
private
DxLifecycleManageBaseVOEmbeddable
dxLifecycleManageBaseEmbeddable
;
/**
* dao扩展对象
*/
@DexEmbedded
()
@JsonIgnore
private
DxIdVOEmbeddable
dxIdEmbeddable
;
/**
* 扩展VO属性
*/
@DexEmbedded
()
@JsonIgnore
private
DxSecretVOEmbeddable
dxSecretEmbeddable
;
/**
* 季报行动项集合
*/
@RelationProperty
(
refProperty
=
"extQuarterlyReport"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
NONE
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtActionItemVO
>
extActionItems
;
/**
* 文件名称
*/
private
String
fileName
;
/**
* 文件编号
*/
private
String
fileNumber
;
/**
* 季度
*/
private
String
quarter
;
/**
* 季报时间
*/
private
LocalDateTime
quarterlyReportTime
;
/**
* 季报类型
*/
private
String
quarterlyReportType
;
/**
* 经费数据统计截止日期
*/
private
LocalDateTime
statisticalDate
;
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/controller/ExtActionItemController.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
core
.
controller
;
import
com.yonde.dcs.plan.common.vo.ExtActionItemVO
;
import
com.yonde.dcs.plan.core.controller.shadow.ExtActionItemControllerShadow
;
import
com.yonde.dcs.plan.core.service.ExtActionItemService
;
import
com.yonde.dex.basedata.auth.annos.BasePermission
;
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: ExtActionItem-Controller
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
@Api
(
tags
=
"ExtActionItem管理服务"
)
@RequestMapping
(
"/ExtActionItem"
)
@ResponseBody
()
@BasePermission
(
"INET-QUARTERLYREPORT:ExtActionItem"
)
@Controller
(
ExtActionItemController
.
BEAN_NAME
)
public
class
ExtActionItemController
<
V
extends
ExtActionItemVO
,
S
extends
ExtActionItemService
<
V
>>
extends
ExtActionItemControllerShadow
<
V
,
S
>
{
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/controller/ExtQuarterlyReportController.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
core
.
controller
;
import
com.yonde.dcs.plan.common.vo.ExtQuarterlyReportVO
;
import
com.yonde.dcs.plan.core.controller.shadow.ExtQuarterlyReportControllerShadow
;
import
com.yonde.dcs.plan.core.service.ExtQuarterlyReportService
;
import
com.yonde.dex.basedata.auth.annos.BasePermission
;
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: ExtQuarterlyReport-Controller
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@Api
(
tags
=
"ExtQuarterlyReport管理服务"
)
@RequestMapping
(
"/ExtQuarterlyReport"
)
@ResponseBody
()
@BasePermission
(
"INET-QUARTERLYREPORT:ExtQuarterlyReport"
)
@Controller
(
ExtQuarterlyReportController
.
BEAN_NAME
)
public
class
ExtQuarterlyReportController
<
V
extends
ExtQuarterlyReportVO
,
S
extends
ExtQuarterlyReportService
<
V
>>
extends
ExtQuarterlyReportControllerShadow
<
V
,
S
>
{
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/controller/shadow/ExtActionItemControllerShadow.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
core
.
controller
.
shadow
;
import
com.yonde.dcs.plan.common.vo.ExtActionItemVO
;
import
com.yonde.dcs.plan.core.service.ExtActionItemService
;
import
com.yonde.dcs.plan.core.service.impl.ExtActionItemServiceImpl
;
import
com.yonde.dex.basedata.auth.annos.BasePermission
;
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: ExtActionItem-Controller
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
@BasePermission
(
"INET-QUARTERLYREPORT:ExtActionItem"
)
public
class
ExtActionItemControllerShadow
<
V
extends
ExtActionItemVO
,
S
extends
ExtActionItemService
<
V
>>
implements
AbstractBaseController
<
V
,
S
>
,
AbstractLifecycleBaseController
<
V
,
S
>
,
DxObjFileLinkController
<
V
,
S
>{
public
static
final
String
BEAN_NAME
=
"extActionItemController"
;
/**
* 注入
*/
@Resource
(
name
=
ExtActionItemServiceImpl
.
BEAN_NAME
)
private
ExtActionItemService
<
V
>
extActionItemService
;
/**
* getService
*/
@Override
public
S
getService
()
{
return
(
S
)
this
.
extActionItemService
;
}
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/controller/shadow/ExtQuarterlyReportControllerShadow.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
core
.
controller
.
shadow
;
import
com.yonde.dcs.plan.common.vo.ExtQuarterlyReportVO
;
import
com.yonde.dcs.plan.core.service.ExtQuarterlyReportService
;
import
com.yonde.dcs.plan.core.service.impl.ExtQuarterlyReportServiceImpl
;
import
com.yonde.dex.basedata.auth.annos.BasePermission
;
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: ExtQuarterlyReport-Controller
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@BasePermission
(
"INET-QUARTERLYREPORT:ExtQuarterlyReport"
)
public
class
ExtQuarterlyReportControllerShadow
<
V
extends
ExtQuarterlyReportVO
,
S
extends
ExtQuarterlyReportService
<
V
>>
implements
AbstractBaseController
<
V
,
S
>
,
AbstractLifecycleBaseController
<
V
,
S
>
,
DxObjFileLinkController
<
V
,
S
>{
public
static
final
String
BEAN_NAME
=
"extQuarterlyReportController"
;
/**
* 注入
*/
@Resource
(
name
=
ExtQuarterlyReportServiceImpl
.
BEAN_NAME
)
private
ExtQuarterlyReportService
<
V
>
extQuarterlyReportService
;
/**
* getService
*/
@Override
public
S
getService
()
{
return
(
S
)
this
.
extQuarterlyReportService
;
}
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/repository/ExtActionItemRepository.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
core
.
repository
;
import
com.yonde.dcs.plan.core.repository.shadow.ExtActionItemRepositoryShadow
;
import
com.yonde.dcs.plan.entity.po.ExtActionItem
;
/**
* @description: ExtActionItem-repository
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
public
interface
ExtActionItemRepository
<
P
extends
ExtActionItem
>
extends
ExtActionItemRepositoryShadow
<
P
>
{
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/repository/ExtQuarterlyReportRepository.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
core
.
repository
;
import
com.yonde.dcs.plan.core.repository.shadow.ExtQuarterlyReportRepositoryShadow
;
import
com.yonde.dcs.plan.entity.po.ExtQuarterlyReport
;
/**
* @description: ExtQuarterlyReport-repository
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
public
interface
ExtQuarterlyReportRepository
<
P
extends
ExtQuarterlyReport
>
extends
ExtQuarterlyReportRepositoryShadow
<
P
>
{
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/repository/shadow/ExtActionItemRepositoryShadow.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
core
.
repository
.
shadow
;
import
com.yonde.dcs.plan.entity.po.ExtActionItem
;
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
com.yonde.dex.secretcode.plugin.core.repositroy.DxSecretCodePluginRepository
;
import
org.springframework.data.repository.NoRepositoryBean
;
/**
* @description: ExtActionItem-repository
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
@NoRepositoryBean
public
interface
ExtActionItemRepositoryShadow
<
P
extends
ExtActionItem
>
extends
DxObjFileLinkPluginRepository
<
P
>
,
DxLifecycleManageBaseRepository
<
P
>
,
BaseRepository
<
P
>
,
DxSecretCodePluginRepository
<
P
>
{
String
BEAN_NAME
=
"extActionItemRepository"
;
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/repository/shadow/ExtQuarterlyReportRepositoryShadow.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
core
.
repository
.
shadow
;
import
com.yonde.dcs.plan.entity.po.ExtQuarterlyReport
;
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
com.yonde.dex.secretcode.plugin.core.repositroy.DxSecretCodePluginRepository
;
import
org.springframework.data.repository.NoRepositoryBean
;
/**
* @description: ExtQuarterlyReport-repository
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@NoRepositoryBean
public
interface
ExtQuarterlyReportRepositoryShadow
<
P
extends
ExtQuarterlyReport
>
extends
DxObjFileLinkPluginRepository
<
P
>
,
DxLifecycleManageBaseRepository
<
P
>
,
BaseRepository
<
P
>
,
DxSecretCodePluginRepository
<
P
>
{
String
BEAN_NAME
=
"extQuarterlyReportRepository"
;
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/ExtActionItemService.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
core
.
service
;
import
com.yonde.dcs.plan.common.vo.ExtActionItemVO
;
import
com.yonde.dcs.plan.core.service.shadow.ExtActionItemServiceShadow
;
/**
* @description: ExtActionItem-service
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
public
interface
ExtActionItemService
<
V
extends
ExtActionItemVO
>
extends
ExtActionItemServiceShadow
<
V
>
{
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/ExtQuarterlyReportService.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
core
.
service
;
import
com.yonde.dcs.plan.common.vo.ExtQuarterlyReportVO
;
import
com.yonde.dcs.plan.core.service.shadow.ExtQuarterlyReportServiceShadow
;
/**
* @description: ExtQuarterlyReport-service
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
public
interface
ExtQuarterlyReportService
<
V
extends
ExtQuarterlyReportVO
>
extends
ExtQuarterlyReportServiceShadow
<
V
>
{
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/impl/ExtActionItemServiceImpl.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
core
.
service
.
impl
;
import
com.yonde.dcs.plan.common.vo.ExtActionItemVO
;
import
com.yonde.dcs.plan.core.repository.ExtActionItemRepository
;
import
com.yonde.dcs.plan.core.service.ExtActionItemService
;
import
com.yonde.dcs.plan.entity.po.ExtActionItem
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
* @description: ExtActionItem-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
@Slf4j
@Service
(
ExtActionItemServiceImpl
.
BEAN_NAME
)
public
class
ExtActionItemServiceImpl
<
V
extends
ExtActionItemVO
>
implements
ExtActionItemService
<
V
>{
public
static
final
String
BEAN_NAME
=
"extActionItemServiceImpl"
;
@Autowired
ExtActionItemRepository
<
ExtActionItem
>
extActionItemRepository
;
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/impl/ExtQuarterlyReportServiceImpl.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
core
.
service
.
impl
;
import
com.yonde.dcs.plan.common.vo.ExtQuarterlyReportVO
;
import
com.yonde.dcs.plan.core.repository.ExtQuarterlyReportRepository
;
import
com.yonde.dcs.plan.core.service.ExtQuarterlyReportService
;
import
com.yonde.dcs.plan.entity.po.ExtQuarterlyReport
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
* @description: ExtQuarterlyReport-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@Slf4j
@Service
(
ExtQuarterlyReportServiceImpl
.
BEAN_NAME
)
public
class
ExtQuarterlyReportServiceImpl
<
V
extends
ExtQuarterlyReportVO
>
implements
ExtQuarterlyReportService
<
V
>{
public
static
final
String
BEAN_NAME
=
"extQuarterlyReportServiceImpl"
;
@Autowired
ExtQuarterlyReportRepository
<
ExtQuarterlyReport
>
extQuarterlyReportRepository
;
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/shadow/ExtActionItemServiceShadow.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
core
.
service
.
shadow
;
import
com.yonde.dcs.plan.common.vo.ExtActionItemVO
;
import
com.yonde.dcs.plan.feign.ExtActionItemServiceFeign
;
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
;
import
com.yonde.dex.secretcode.plugin.core.service.SecretCodePluginService
;
/**
* @description: ExtActionItem-service
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
public
interface
ExtActionItemServiceShadow
<
V
extends
ExtActionItemVO
>
extends
ExtActionItemServiceFeign
<
V
>,
ObjFileLinkPluginService
<
V
>
,
LifecycleBaseService
<
V
>
,
BaseIdEntityService
<
V
>
,
SecretCodePluginService
<
V
>
{
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/shadow/ExtQuarterlyReportServiceShadow.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
core
.
service
.
shadow
;
import
com.yonde.dcs.plan.common.vo.ExtQuarterlyReportVO
;
import
com.yonde.dcs.plan.feign.ExtQuarterlyReportServiceFeign
;
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
;
import
com.yonde.dex.secretcode.plugin.core.service.SecretCodePluginService
;
/**
* @description: ExtQuarterlyReport-service
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
public
interface
ExtQuarterlyReportServiceShadow
<
V
extends
ExtQuarterlyReportVO
>
extends
ExtQuarterlyReportServiceFeign
<
V
>,
ObjFileLinkPluginService
<
V
>
,
LifecycleBaseService
<
V
>
,
BaseIdEntityService
<
V
>
,
SecretCodePluginService
<
V
>
{
}
dcs-plan-entity/src/main/java/com/yonde/dcs/plan/entity/po/ExtActionItem.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
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
com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable
;
import
com.yonde.dex.secretcode.plugin.entities.DxSecretHolder
;
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: ExtActionItem-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@Entity
@EqualsAndHashCode
(
callSuper
=
true
)
@NoArgsConstructor
@Data
@Table
(
name
=
"EXT_ACTION_ITEM"
)
public
class
ExtActionItem
extends
IdOnlyEntity
implements
DxObjFileLinkHolder
,
DxLifecycleManageBaseHolder
,
IdEntity
,
DxSecretHolder
{
/**
* 扩展PO属性
*/
@DexEmbedded
()
@Embedded
()
private
DxObjFileLinkEmbeddable
dxObjFileLinkEmbeddable
;
/**
* 扩展PO属性
*/
@DexEmbedded
()
@Embedded
()
private
DxLifecycleManageBaseEmbeddable
dxLifecycleManageBaseEmbeddable
;
/**
* dao扩展对象
*/
@DexEmbedded
()
@Embedded
()
private
DxIdEntityEmbeddable
dxIdEmbeddable
;
/**
* 扩展PO属性
*/
@DexEmbedded
()
@Embedded
()
private
DxSecretEmbeddable
dxSecretEmbeddable
;
/**
* 行动项编号
*/
private
String
actionItemNumber
;
/**
* 行动项类型
*/
private
String
actionItemType
;
/**
* 季报基本属性的id
*/
private
Long
extQuarterlyReportId
;
/**
* 季报基本属性的类型
*/
private
String
extQuarterlyReportIdType
;
/**
* 计划完成日期
*/
private
LocalDateTime
planCompleteDate
;
/**
* 责任人的id
*/
private
Long
principalId
;
/**
* 责任人的类型
*/
private
String
principalIdType
;
/**
* 根据项目信息自动带入,项目主管可修改。 将项目的‘项目分类’字段带过来
*/
private
String
projectClass
;
/**
* 项目名称为所选项目的项目名称 任务名称由用户填写
*/
private
String
projectName
;
/**
* 项目来源
*/
private
String
projectSource
;
/**
* 实际完成时间
*/
private
LocalDateTime
realCompleteTime
;
/**
* 序号,只有项目进展类型有
*/
private
String
serialNumber
;
}
dcs-plan-entity/src/main/java/com/yonde/dcs/plan/entity/po/ExtQuarterlyReport.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
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
com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable
;
import
com.yonde.dex.secretcode.plugin.entities.DxSecretHolder
;
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: ExtQuarterlyReport-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@Entity
@EqualsAndHashCode
(
callSuper
=
true
)
@NoArgsConstructor
@Data
@Table
(
name
=
"EXT_QUARTERLY_REPORT"
)
public
class
ExtQuarterlyReport
extends
IdOnlyEntity
implements
DxObjFileLinkHolder
,
DxLifecycleManageBaseHolder
,
IdEntity
,
DxSecretHolder
{
/**
* 扩展PO属性
*/
@DexEmbedded
()
@Embedded
()
private
DxObjFileLinkEmbeddable
dxObjFileLinkEmbeddable
;
/**
* 扩展PO属性
*/
@DexEmbedded
()
@Embedded
()
private
DxLifecycleManageBaseEmbeddable
dxLifecycleManageBaseEmbeddable
;
/**
* dao扩展对象
*/
@DexEmbedded
()
@Embedded
()
private
DxIdEntityEmbeddable
dxIdEmbeddable
;
/**
* 扩展PO属性
*/
@DexEmbedded
()
@Embedded
()
private
DxSecretEmbeddable
dxSecretEmbeddable
;
/**
* 文件名称
*/
private
String
fileName
;
/**
* 文件编号
*/
private
String
fileNumber
;
/**
* 季度
*/
private
String
quarter
;
/**
* 季报时间
*/
private
LocalDateTime
quarterlyReportTime
;
/**
* 季报类型
*/
private
String
quarterlyReportType
;
/**
* 经费数据统计截止日期
*/
private
LocalDateTime
statisticalDate
;
}
dcs-plan-feign/src/main/java/com/yonde/dcs/plan/feign/ExtActionItemServiceFeign.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
feign
;
import
com.yonde.dcs.plan.common.vo.ExtActionItemVO
;
import
com.yonde.dcs.plan.feign.shadow.ExtActionItemServiceFeignShadow
;
import
io.swagger.annotations.Api
;
import
org.springframework.cloud.openfeign.FeignClient
;
/**
* @description: ExtActionItem-Feign
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
@Api
(
tags
=
"ExtActionItem-FEIGN"
)
@FeignClient
(
value
=
"${dcs.feign.INET-PLAN}"
,
path
=
"/ExtActionItem"
)
public
interface
ExtActionItemServiceFeign
<
V
extends
ExtActionItemVO
>
extends
ExtActionItemServiceFeignShadow
<
V
>
{
}
dcs-plan-feign/src/main/java/com/yonde/dcs/plan/feign/ExtQuarterlyReportServiceFeign.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
feign
;
import
com.yonde.dcs.plan.common.vo.ExtQuarterlyReportVO
;
import
com.yonde.dcs.plan.feign.shadow.ExtQuarterlyReportServiceFeignShadow
;
import
io.swagger.annotations.Api
;
import
org.springframework.cloud.openfeign.FeignClient
;
/**
* @description: ExtQuarterlyReport-Feign
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@Api
(
tags
=
"ExtQuarterlyReport-FEIGN"
)
@FeignClient
(
value
=
"${dcs.feign.INET-PLAN}"
,
path
=
"/ExtQuarterlyReport"
)
public
interface
ExtQuarterlyReportServiceFeign
<
V
extends
ExtQuarterlyReportVO
>
extends
ExtQuarterlyReportServiceFeignShadow
<
V
>
{
}
dcs-plan-feign/src/main/java/com/yonde/dcs/plan/feign/shadow/ExtActionItemServiceFeignShadow.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
feign
.
shadow
;
import
com.yonde.dcs.plan.common.vo.ExtActionItemVO
;
import
com.yonde.dex.dao.service.remotes.BaseFeign
;
import
com.yonde.dex.lcycle.plugin.feign.BaseLifecycleManageFeign
;
import
com.yonde.dex.secretcode.plugin.feign.SecretCodeFeign
;
/**
* @description: ExtActionItem-Feign
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
public
interface
ExtActionItemServiceFeignShadow
<
V
extends
ExtActionItemVO
>
extends
BaseLifecycleManageFeign
<
V
>
,
BaseFeign
<
V
>
,
SecretCodeFeign
<
V
>
{
String
BEAN_NAME
=
"extActionItemServiceFeign"
;
}
dcs-plan-feign/src/main/java/com/yonde/dcs/plan/feign/shadow/ExtQuarterlyReportServiceFeignShadow.java
0 → 100644
View file @
de36b4cb
package
com
.
yonde
.
dcs
.
plan
.
feign
.
shadow
;
import
com.yonde.dcs.plan.common.vo.ExtQuarterlyReportVO
;
import
com.yonde.dex.dao.service.remotes.BaseFeign
;
import
com.yonde.dex.lcycle.plugin.feign.BaseLifecycleManageFeign
;
import
com.yonde.dex.secretcode.plugin.feign.SecretCodeFeign
;
/**
* @description: ExtQuarterlyReport-Feign
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
public
interface
ExtQuarterlyReportServiceFeignShadow
<
V
extends
ExtQuarterlyReportVO
>
extends
BaseLifecycleManageFeign
<
V
>
,
BaseFeign
<
V
>
,
SecretCodeFeign
<
V
>
{
String
BEAN_NAME
=
"extQuarterlyReportServiceFeign"
;
}
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