Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dex-basic-service-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
dex-basic-service-expand
Commits
978274ad
Commit
978274ad
authored
Oct 28, 2024
by
wei
🎱
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DxContextVOExpand增加合同编码,备注属性
parent
6a9ef2aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
2 deletions
+26
-2
DxContextVOExpand.java
...om/yonde/dex/context/expand/entity/DxContextVOExpand.java
+13
-1
DxContextVOPluginExpand.java
...de/dex/context/expand/plugin/DxContextVOPluginExpand.java
+13
-1
No files found.
dex-basic-service-expand-common/src/main/java/com/yonde/dex/context/expand/entity/DxContextVOExpand.java
View file @
978274ad
...
...
@@ -25,7 +25,7 @@ import com.yonde.dex.user.common.vo.DxOrganizationVO;
* @description: DxContext-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-10-2
2 13:49:42
* @date: 2024-10-2
8 10:59:10
**/
@EqualsAndHashCode
@Data
...
...
@@ -34,6 +34,8 @@ public class DxContextVOExpand<V extends DxContextVOPluginExpand> implements Ser
public
static
final
String
DX_OBJ_FILE_LINK_EMBEDDABLE_PROP_NAME
=
"dxObjFileLinkEmbeddable"
;
public
static
final
String
DX_SECRET_EMBEDDABLE_PROP_NAME
=
"dxSecretEmbeddable"
;
public
static
final
String
BUDGET_AMOUNT_PROP_NAME
=
"budgetAmount"
;
public
static
final
String
CONTRACT_CODE_PROP_NAME
=
"contractCode"
;
public
static
final
String
CONTRACT_CODE_EXPLANATION_PROP_NAME
=
"contractCodeExplanation"
;
public
static
final
String
CUSTOM_UNIT_PROP_NAME
=
"customUnit"
;
public
static
final
String
END_TIME_PROP_NAME
=
"endTime"
;
public
static
final
String
EXT_PROGRAM_PROJECT_LINKS_PROP_NAME
=
"extProgramProjectLinks"
;
...
...
@@ -72,6 +74,16 @@ public class DxContextVOExpand<V extends DxContextVOPluginExpand> implements Ser
*/
private
Integer
budgetAmount
;
/**
* 合同编码
*/
private
String
contractCode
;
/**
* 合同编码说明
*/
private
String
contractCodeExplanation
;
/**
* 客户单位
*/
...
...
dex-basic-service-expand-common/src/main/java/com/yonde/dex/context/expand/plugin/DxContextVOPluginExpand.java
View file @
978274ad
...
...
@@ -19,7 +19,7 @@ import com.yonde.dex.user.common.vo.DxUserInfoVO;
* @description: DxContext-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-10-2
2 13:49:42
* @date: 2024-10-2
8 10:59:10
**/
public
interface
DxContextVOPluginExpand
<
V
extends
DxContextVOPluginExpand
>
extends
DxObjFileLinkVOHolder
,
DxSecretVOHolder
{
...
...
@@ -27,6 +27,9 @@ public interface DxContextVOPluginExpand<V extends DxContextVOPluginExpand> exte
void
setDxContextExpand
(
DxContextVOExpand
<
V
>
dxContextExpand
);
default
String
getContractCode
()
{
return
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextVOExpand
<>()).
getContractCode
();
}
default
Integer
getBudgetAmount
()
{
return
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextVOExpand
<>()).
getBudgetAmount
();
}
...
...
@@ -39,6 +42,9 @@ public interface DxContextVOPluginExpand<V extends DxContextVOPluginExpand> exte
default
void
setCustomUnit
(
String
customUnit
)
{
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextVOExpand
<>()).
setCustomUnit
(
customUnit
);
}
default
void
setContractCodeExplanation
(
String
contractCodeExplanation
)
{
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextVOExpand
<>()).
setContractCodeExplanation
(
contractCodeExplanation
);
}
default
void
setBudgetAmount
(
Integer
budgetAmount
)
{
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextVOExpand
<>()).
setBudgetAmount
(
budgetAmount
);
}
...
...
@@ -61,6 +67,9 @@ public interface DxContextVOPluginExpand<V extends DxContextVOPluginExpand> exte
default
void
setEndTime
(
LocalDateTime
endTime
)
{
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextVOExpand
<>()).
setEndTime
(
endTime
);
}
default
void
setContractCode
(
String
contractCode
)
{
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextVOExpand
<>()).
setContractCode
(
contractCode
);
}
default
DxUserInfoVO
getManager
()
{
return
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextVOExpand
<>()).
getManager
();
}
...
...
@@ -147,6 +156,9 @@ public interface DxContextVOPluginExpand<V extends DxContextVOPluginExpand> exte
default
String
getProType
()
{
return
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextVOExpand
<>()).
getProType
();
}
default
String
getContractCodeExplanation
()
{
return
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextVOExpand
<>()).
getContractCodeExplanation
();
}
default
LocalDateTime
getEndTime
()
{
return
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextVOExpand
<>()).
getEndTime
();
}
...
...
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