Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
0bcdec2d
Commit
0bcdec2d
authored
Jul 17, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
af5af936
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
PowerStationServiceImpl.java
...module/hygf/biz/service/impl/PowerStationServiceImpl.java
+10
-10
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/PowerStationServiceImpl.java
View file @
0bcdec2d
...
@@ -212,17 +212,17 @@ public void updateSeve(String peasantHouseholdId, Map<String, Object> kv ){
...
@@ -212,17 +212,17 @@ public void updateSeve(String peasantHouseholdId, Map<String, Object> kv ){
public
<
T
>
T
mapToBean
(
Map
<
String
,
Object
>
map
,
Class
<
T
>
clazz
)
{
public
<
T
>
T
mapToBean
(
Map
<
String
,
Object
>
map
,
Class
<
T
>
clazz
)
{
T
bean
=
null
;
T
bean
=
null
;
try
{
try
{
bean
=
clazz
.
newInstance
();
bean
=
clazz
.
newInstance
();
BeanMap
beanMap
=
BeanMap
.
create
(
bean
);
BeanMap
beanMap
=
BeanMap
.
create
(
bean
);
beanMap
.
putAll
(
map
);
beanMap
.
putAll
(
map
);
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
throw
new
BaseException
(
" 数据转化异常!"
,
"400"
,
"数据转化异常!"
);
throw
new
BaseException
(
" 数据转化异常!"
,
"400"
,
"数据转化异常!"
);
}
return
bean
;
}
}
return
bean
;
}
...
...
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