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
ca87f139
Commit
ca87f139
authored
Oct 28, 2024
by
wei
🎱
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DxContextExpand增加合同编码,备注属性
parent
978274ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
DxContextExpand.java
.../com/yonde/dex/context/expand/entity/DxContextExpand.java
+9
-1
DxContextPluginExpand.java
...onde/dex/context/expand/plugin/DxContextPluginExpand.java
+13
-1
No files found.
dex-basic-service-expand-entity/src/main/java/com/yonde/dex/context/expand/entity/DxContextExpand.java
View file @
ca87f139
...
@@ -19,7 +19,7 @@ import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable;
...
@@ -19,7 +19,7 @@ import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable;
* @description: DxContext-POExpand扩展实体
* @description: DxContext-POExpand扩展实体
* @author: dexadmin
* @author: dexadmin
* @version: V
* @version: V
* @date: 2024-10-2
2 13:49:42
* @date: 2024-10-2
8 10:59:10
**/
**/
@ToString
@ToString
@Embeddable
@Embeddable
...
@@ -44,6 +44,14 @@ public class DxContextExpand implements Serializable{
...
@@ -44,6 +44,14 @@ public class DxContextExpand implements Serializable{
*/
*/
private
Integer
budgetAmount
;
private
Integer
budgetAmount
;
/**
/**
* 合同编码
*/
private
String
contractCode
;
/**
* 合同编码说明
*/
private
String
contractCodeExplanation
;
/**
* 客户单位
* 客户单位
*/
*/
private
String
customUnit
;
private
String
customUnit
;
...
...
dex-basic-service-expand-entity/src/main/java/com/yonde/dex/context/expand/plugin/DxContextPluginExpand.java
View file @
ca87f139
...
@@ -14,7 +14,7 @@ import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable;
...
@@ -14,7 +14,7 @@ import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable;
* @description: DxContext-扩展PO插件接口
* @description: DxContext-扩展PO插件接口
* @author: dexadmin
* @author: dexadmin
* @version: V
* @version: V
* @date: 2024-10-2
2 13:49:42
* @date: 2024-10-2
8 10:59:10
**/
**/
public
interface
DxContextPluginExpand
extends
DxObjFileLinkHolder
,
DxSecretHolder
{
public
interface
DxContextPluginExpand
extends
DxObjFileLinkHolder
,
DxSecretHolder
{
...
@@ -22,6 +22,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
...
@@ -22,6 +22,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
void
setDxContextExpand
(
DxContextExpand
dxContextExpand
);
void
setDxContextExpand
(
DxContextExpand
dxContextExpand
);
default
String
getContractCode
()
{
return
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextExpand
()).
getContractCode
();
}
default
Integer
getBudgetAmount
()
{
default
Integer
getBudgetAmount
()
{
return
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextExpand
()).
getBudgetAmount
();
return
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextExpand
()).
getBudgetAmount
();
}
}
...
@@ -34,6 +37,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
...
@@ -34,6 +37,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
default
void
setCustomUnit
(
String
customUnit
)
{
default
void
setCustomUnit
(
String
customUnit
)
{
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextExpand
()).
setCustomUnit
(
customUnit
);
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextExpand
()).
setCustomUnit
(
customUnit
);
}
}
default
void
setContractCodeExplanation
(
String
contractCodeExplanation
)
{
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextExpand
()).
setContractCodeExplanation
(
contractCodeExplanation
);
}
default
void
setBudgetAmount
(
Integer
budgetAmount
)
{
default
void
setBudgetAmount
(
Integer
budgetAmount
)
{
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextExpand
()).
setBudgetAmount
(
budgetAmount
);
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextExpand
()).
setBudgetAmount
(
budgetAmount
);
}
}
...
@@ -52,6 +58,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
...
@@ -52,6 +58,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
}
}
default
void
setEndTime
(
LocalDateTime
endTime
)
{
default
void
setEndTime
(
LocalDateTime
endTime
)
{
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextExpand
()).
setEndTime
(
endTime
);
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextExpand
()).
setEndTime
(
endTime
);
}
default
void
setContractCode
(
String
contractCode
)
{
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextExpand
()).
setContractCode
(
contractCode
);
}
}
@Override
@Override
default
void
setDxSecretEmbeddable
(
DxSecretEmbeddable
dxSecretEmbeddable
)
{
default
void
setDxSecretEmbeddable
(
DxSecretEmbeddable
dxSecretEmbeddable
)
{
...
@@ -114,6 +123,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
...
@@ -114,6 +123,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
default
String
getProType
()
{
default
String
getProType
()
{
return
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextExpand
()).
getProType
();
return
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextExpand
()).
getProType
();
}
}
default
String
getContractCodeExplanation
()
{
return
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextExpand
()).
getContractCodeExplanation
();
}
// @Override
// @Override
default
void
setDxObjFileLinkEmbeddable
(
DxObjFileLinkEmbeddable
dxObjFileLinkEmbeddable
)
{
default
void
setDxObjFileLinkEmbeddable
(
DxObjFileLinkEmbeddable
dxObjFileLinkEmbeddable
)
{
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextExpand
()).
setDxObjFileLinkEmbeddable
(
dxObjFileLinkEmbeddable
);
DxExpandUtils
.
getNotNullObject
(
this
::
getDxContextExpand
,
this
::
setDxContextExpand
,
new
DxContextExpand
()).
setDxObjFileLinkEmbeddable
(
dxObjFileLinkEmbeddable
);
...
...
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