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
7d5d25ba
Commit
7d5d25ba
authored
Oct 18, 2024
by
wangqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购计划绑定支出合同功能开发
parent
66415d68
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
340 additions
and
0 deletions
+340
-0
ExtPurPlanExtExpendContractLinkVO.java
...dcs/plan/common/vo/ExtPurPlanExtExpendContractLinkVO.java
+74
-0
ExtPurPlanExtExpendContractLinkController.java
...controller/ExtPurPlanExtExpendContractLinkController.java
+33
-0
ExtPurPlanExtExpendContractLinkControllerShadow.java
...adow/ExtPurPlanExtExpendContractLinkControllerShadow.java
+44
-0
ExtPurPlanExtExpendContractLinkRepository.java
...repository/ExtPurPlanExtExpendContractLinkRepository.java
+12
-0
ExtPurPlanExtExpendContractLinkRepositoryShadow.java
...adow/ExtPurPlanExtExpendContractLinkRepositoryShadow.java
+17
-0
ExtPurPlanExtExpendContractLinkService.java
.../core/service/ExtPurPlanExtExpendContractLinkService.java
+13
-0
ExtPurPlanExtExpendContractLinkServiceImpl.java
...vice/impl/ExtPurPlanExtExpendContractLinkServiceImpl.java
+34
-0
ExtPurPlanExtExpendContractLinkServiceShadow.java
.../shadow/ExtPurPlanExtExpendContractLinkServiceShadow.java
+15
-0
ExtPurPlanExtExpendContractLink.java
...e/dcs/plan/entity/po/ExtPurPlanExtExpendContractLink.java
+59
-0
ExtPurPlanExtExpendContractLinkServiceFeign.java
...an/feign/ExtPurPlanExtExpendContractLinkServiceFeign.java
+19
-0
ExtPurPlanExtExpendContractLinkServiceFeignShadow.java
...ow/ExtPurPlanExtExpendContractLinkServiceFeignShadow.java
+20
-0
No files found.
dcs-plan-common/src/main/java/com/yonde/dcs/plan/common/vo/ExtPurPlanExtExpendContractLinkVO.java
0 → 100644
View file @
7d5d25ba
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.dcs.plan.common.vo.ExtPuchasePlanAttributeVO
;
import
com.yonde.dcs.plan.common.vo.ExtExpenditureContractVO
;
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: ExtPurPlanExtExpendContractLink-VO
* @author: dexadmin
* @version: V
* @date: 2024-10-18 10:16:37
**/
@JsonTypeInfo
(
use
=
JsonTypeInfo
.
Id
.
CLASS
,
property
=
"dxClassname"
,
visible
=
true
,
defaultImpl
=
ExtPurPlanExtExpendContractLinkVO
.
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
ExtPurPlanExtExpendContractLinkVO
extends
IdOnlyVO
implements
IdVO
,
DxLinkDataVOHolder
<
ExtPuchasePlanAttributeVO
,
ExtExpenditureContractVO
>{
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
<
ExtPuchasePlanAttributeVO
,
ExtExpenditureContractVO
>
dxLinkDataEmbeddable
;
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/controller/ExtPurPlanExtExpendContractLinkController.java
0 → 100644
View file @
7d5d25ba
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.ExtPurPlanExtExpendContractLinkVO
;
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.ExtPurPlanExtExpendContractLinkService
;
import
com.yonde.dex.basedata.entity.api.ApiResult
;
import
com.yonde.dcs.plan.core.controller.shadow.ExtPurPlanExtExpendContractLinkControllerShadow
;
import
javax.annotation.Resource
;
import
org.springframework.stereotype.Controller
;
/**
* @description: ExtPurPlanExtExpendContractLink-Controller
* @author: dexadmin
* @version: V
* @date: 2024-10-18 10:16:37
**/
@Api
(
tags
=
"ExtPurPlanExtExpendContractLink管理服务"
)
@RequestMapping
(
"/ExtPurPlanExtExpendContractLink"
)
@ResponseBody
()
@Controller
(
ExtPurPlanExtExpendContractLinkController
.
BEAN_NAME
)
public
class
ExtPurPlanExtExpendContractLinkController
<
V
extends
ExtPurPlanExtExpendContractLinkVO
,
S
extends
ExtPurPlanExtExpendContractLinkService
<
V
>>
extends
ExtPurPlanExtExpendContractLinkControllerShadow
<
V
,
S
>
{
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/controller/shadow/ExtPurPlanExtExpendContractLinkControllerShadow.java
0 → 100644
View file @
7d5d25ba
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.ExtPurPlanExtExpendContractLinkVO
;
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.ExtPurPlanExtExpendContractLinkService
;
import
com.yonde.dcs.plan.core.service.impl.ExtPurPlanExtExpendContractLinkServiceImpl
;
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: ExtPurPlanExtExpendContractLink-Controller
* @author: dexadmin
* @version: V
* @date: 2024-10-18 10:16:37
**/
public
class
ExtPurPlanExtExpendContractLinkControllerShadow
<
V
extends
ExtPurPlanExtExpendContractLinkVO
,
S
extends
ExtPurPlanExtExpendContractLinkService
<
V
>>
implements
AbstractBaseController
<
V
,
S
>
,
DxLinkDataController
<
V
,
S
>{
public
static
final
String
BEAN_NAME
=
"extPurPlanExtExpendContractLinkController"
;
/**
* 注入
*/
@Resource
(
name
=
ExtPurPlanExtExpendContractLinkServiceImpl
.
BEAN_NAME
)
private
ExtPurPlanExtExpendContractLinkService
<
V
>
extPurPlanExtExpendContractLinkService
;
/**
* getService
*/
@Override
public
S
getService
()
{
return
(
S
)
this
.
extPurPlanExtExpendContractLinkService
;
}
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/repository/ExtPurPlanExtExpendContractLinkRepository.java
0 → 100644
View file @
7d5d25ba
package
com
.
yonde
.
dcs
.
plan
.
core
.
repository
;
import
com.yonde.dcs.plan.entity.po.ExtPurPlanExtExpendContractLink
;
import
com.yonde.dcs.plan.core.repository.shadow.ExtPurPlanExtExpendContractLinkRepositoryShadow
;
/**
* @description: ExtPurPlanExtExpendContractLink-repository
* @author: dexadmin
* @version: V
* @date: 2024-10-18 10:16:37
**/
public
interface
ExtPurPlanExtExpendContractLinkRepository
<
P
extends
ExtPurPlanExtExpendContractLink
>
extends
ExtPurPlanExtExpendContractLinkRepositoryShadow
<
P
>
{
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/repository/shadow/ExtPurPlanExtExpendContractLinkRepositoryShadow.java
0 → 100644
View file @
7d5d25ba
package
com
.
yonde
.
dcs
.
plan
.
core
.
repository
.
shadow
;
import
com.yonde.dcs.plan.entity.po.ExtPurPlanExtExpendContractLink
;
import
org.springframework.data.repository.NoRepositoryBean
;
import
com.yonde.dex.dao.business.repository.BaseRepository
;
import
com.yonde.dex.linkdata.plugin.core.repository.DxLinkDataRepository
;
/**
* @description: ExtPurPlanExtExpendContractLink-repository
* @author: dexadmin
* @version: V
* @date: 2024-10-18 10:16:37
**/
@NoRepositoryBean
public
interface
ExtPurPlanExtExpendContractLinkRepositoryShadow
<
P
extends
ExtPurPlanExtExpendContractLink
>
extends
BaseRepository
<
P
>
,
DxLinkDataRepository
<
P
>
{
String
BEAN_NAME
=
"extPurPlanExtExpendContractLinkRepository"
;
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/ExtPurPlanExtExpendContractLinkService.java
0 → 100644
View file @
7d5d25ba
package
com
.
yonde
.
dcs
.
plan
.
core
.
service
;
import
com.yonde.dcs.plan.common.vo.ExtPurPlanExtExpendContractLinkVO
;
import
com.yonde.dcs.plan.core.service.shadow.ExtPurPlanExtExpendContractLinkServiceShadow
;
/**
* @description: ExtPurPlanExtExpendContractLink-service
* @author: dexadmin
* @version: V
* @date: 2024-10-18 10:16:37
**/
public
interface
ExtPurPlanExtExpendContractLinkService
<
V
extends
ExtPurPlanExtExpendContractLinkVO
>
extends
ExtPurPlanExtExpendContractLinkServiceShadow
<
V
>
{
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/impl/ExtPurPlanExtExpendContractLinkServiceImpl.java
0 → 100644
View file @
7d5d25ba
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.ExtPurPlanExtExpendContractLinkVO
;
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.ExtPurPlanExtExpendContractLinkService
;
import
com.yonde.dcs.plan.core.repository.ExtPurPlanExtExpendContractLinkRepository
;
import
com.yonde.dcs.plan.entity.po.ExtPurPlanExtExpendContractLink
;
import
javax.annotation.Resource
;
/**
* @description: ExtPurPlanExtExpendContractLink-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-10-18 10:16:37
**/
@Slf4j
@Service
(
ExtPurPlanExtExpendContractLinkServiceImpl
.
BEAN_NAME
)
public
class
ExtPurPlanExtExpendContractLinkServiceImpl
<
V
extends
ExtPurPlanExtExpendContractLinkVO
>
implements
ExtPurPlanExtExpendContractLinkService
<
V
>{
public
static
final
String
BEAN_NAME
=
"extPurPlanExtExpendContractLinkServiceImpl"
;
@Autowired
ExtPurPlanExtExpendContractLinkRepository
<
ExtPurPlanExtExpendContractLink
>
extPurPlanExtExpendContractLinkRepository
;
}
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/shadow/ExtPurPlanExtExpendContractLinkServiceShadow.java
0 → 100644
View file @
7d5d25ba
package
com
.
yonde
.
dcs
.
plan
.
core
.
service
.
shadow
;
import
com.yonde.dcs.plan.common.vo.ExtPurPlanExtExpendContractLinkVO
;
import
com.yonde.dcs.plan.feign.ExtPurPlanExtExpendContractLinkServiceFeign
;
import
com.yonde.dex.linkdata.plugin.core.service.DxLinkDataService
;
import
com.yonde.dex.dao.service.BaseIdEntityService
;
/**
* @description: ExtPurPlanExtExpendContractLink-service
* @author: dexadmin
* @version: V
* @date: 2024-10-18 10:16:37
**/
public
interface
ExtPurPlanExtExpendContractLinkServiceShadow
<
V
extends
ExtPurPlanExtExpendContractLinkVO
>
extends
ExtPurPlanExtExpendContractLinkServiceFeign
<
V
>,
BaseIdEntityService
<
V
>
,
DxLinkDataService
<
V
>
{
}
dcs-plan-entity/src/main/java/com/yonde/dcs/plan/entity/po/ExtPurPlanExtExpendContractLink.java
0 → 100644
View file @
7d5d25ba
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: ExtPurPlanExtExpendContractLink-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-10-18 10:16:37
**/
@Entity
@EqualsAndHashCode
(
callSuper
=
true
)
@NoArgsConstructor
@Data
@Table
(
name
=
"EXT_PUR_PLAN_EXT_EXPEND_CONTRA"
)
public
class
ExtPurPlanExtExpendContractLink
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/ExtPurPlanExtExpendContractLinkServiceFeign.java
0 → 100644
View file @
7d5d25ba
package
com
.
yonde
.
dcs
.
plan
.
feign
;
import
com.yonde.dcs.plan.common.vo.ExtPurPlanExtExpendContractLinkVO
;
import
io.swagger.annotations.Api
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.*
;
import
com.yonde.dcs.plan.feign.shadow.ExtPurPlanExtExpendContractLinkServiceFeignShadow
;
/**
* @description: ExtPurPlanExtExpendContractLink-Feign
* @author: dexadmin
* @version: V
* @date: 2024-10-18 10:16:37
**/
@Api
(
tags
=
"ExtPurPlanExtExpendContractLink-FEIGN"
)
@FeignClient
(
value
=
"${dcs.feign.INET-PLAN}"
,
path
=
"/ExtPurPlanExtExpendContractLink"
)
public
interface
ExtPurPlanExtExpendContractLinkServiceFeign
<
V
extends
ExtPurPlanExtExpendContractLinkVO
>
extends
ExtPurPlanExtExpendContractLinkServiceFeignShadow
<
V
>
{
}
dcs-plan-feign/src/main/java/com/yonde/dcs/plan/feign/shadow/ExtPurPlanExtExpendContractLinkServiceFeignShadow.java
0 → 100644
View file @
7d5d25ba
package
com
.
yonde
.
dcs
.
plan
.
feign
.
shadow
;
import
com.yonde.dcs.plan.common.vo.ExtPurPlanExtExpendContractLinkVO
;
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: ExtPurPlanExtExpendContractLink-Feign
* @author: dexadmin
* @version: V
* @date: 2024-10-18 10:16:37
**/
public
interface
ExtPurPlanExtExpendContractLinkServiceFeignShadow
<
V
extends
ExtPurPlanExtExpendContractLinkVO
>
extends
BaseFeign
<
V
>
,
DxLinkDataFeign
<
V
>
{
String
BEAN_NAME
=
"extPurPlanExtExpendContractLinkServiceFeign"
;
}
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