Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
schbrain-parent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
panwangnan
schbrain-parent
Commits
a3f1fd8f
Commit
a3f1fd8f
authored
Jul 03, 2023
by
liaozan
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add instructions for use BeanCopyUtils
parent
0cb9e443
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
commons/common-util/src/main/java/com/schbrain/common/util/BeanCopyUtils.java
...src/main/java/com/schbrain/common/util/BeanCopyUtils.java
+3
-1
No files found.
commons/common-util/src/main/java/com/schbrain/common/util/BeanCopyUtils.java
View file @
a3f1fd8f
...
@@ -14,7 +14,9 @@ import java.util.ArrayList;
...
@@ -14,7 +14,9 @@ import java.util.ArrayList;
import
java.util.List
;
import
java.util.List
;
/**
/**
* only support the same property type
* 注意!!!此类是基于 cglib 实现的
* 默认的 cglib 只支持同名,同类型的属性转换,本类对此场景进行了增强,具体逻辑见 {@link DefaultConverter}
* 另外最重要的, cglib 是浅拷贝,意味着如果是引用类型,修改源对象会导致目标对象的值也被修改,使用时请注意!!!
*
*
* @author liaozan
* @author liaozan
* @since 2022/1/24
* @since 2022/1/24
...
...
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