Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
25fdd2a4
Commit
25fdd2a4
authored
Apr 23, 2025
by
wujiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
e3f34475
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
PeasantHouseholdMapper.java
...s/boot/module/hygf/api/mapper/PeasantHouseholdMapper.java
+2
-2
PeasantHouseholdServiceImpl.java
...le/hygf/biz/service/impl/PeasantHouseholdServiceImpl.java
+5
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/mapper/PeasantHouseholdMapper.java
View file @
25fdd2a4
...
@@ -52,8 +52,8 @@ public interface PeasantHouseholdMapper extends BaseMapper<PeasantHousehold> {
...
@@ -52,8 +52,8 @@ public interface PeasantHouseholdMapper extends BaseMapper<PeasantHousehold> {
void
deleteHhcByNo
(
String
peasantHouseholdNo
);
void
deleteHhcByNo
(
String
peasantHouseholdNo
);
List
<
PeasantHousehold
>
getInfoByIds
(
@Param
(
value
=
"ids"
)
List
<
Stri
ng
>
ids
);
List
<
PeasantHousehold
>
getInfoByIds
(
@Param
(
value
=
"ids"
)
List
<
Lo
ng
>
ids
);
List
<
PeasantHousehold
>
getInfoByIdsHistory
(
@Param
(
value
=
"ids"
)
List
<
Stri
ng
>
ids
);
List
<
PeasantHousehold
>
getInfoByIdsHistory
(
@Param
(
value
=
"ids"
)
List
<
Lo
ng
>
ids
);
/**
/**
* 分页查询电站统计
* 分页查询电站统计
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/PeasantHouseholdServiceImpl.java
View file @
25fdd2a4
...
@@ -899,13 +899,16 @@ public class PeasantHouseholdServiceImpl extends BaseService<PeasantHouseholdDto
...
@@ -899,13 +899,16 @@ public class PeasantHouseholdServiceImpl extends BaseService<PeasantHouseholdDto
@Override
@Override
public
List
<
PeasantHousehold
>
getInfoByIds
(
String
ids
)
{
public
List
<
PeasantHousehold
>
getInfoByIds
(
String
ids
)
{
List
<
String
>
strings
=
Arrays
.
asList
(
ids
.
split
(
","
));
List
<
String
>
strings
=
Arrays
.
asList
(
ids
.
split
(
","
));
return
this
.
getBaseMapper
().
getInfoByIds
(
strings
);
//有bug string有时候会少查出一个
List
<
Long
>
list
=
strings
.
stream
().
map
(
Long:
:
valueOf
).
collect
(
Collectors
.
toList
());
return
this
.
getBaseMapper
().
getInfoByIds
(
list
);
}
}
public
List
<
PeasantHousehold
>
getInfoByIdsHistory
(
String
ids
)
{
public
List
<
PeasantHousehold
>
getInfoByIdsHistory
(
String
ids
)
{
List
<
String
>
strings
=
Arrays
.
asList
(
ids
.
split
(
","
));
List
<
String
>
strings
=
Arrays
.
asList
(
ids
.
split
(
","
));
return
this
.
getBaseMapper
().
getInfoByIdsHistory
(
strings
);
List
<
Long
>
list
=
strings
.
stream
().
map
(
Long:
:
valueOf
).
collect
(
Collectors
.
toList
());
return
this
.
getBaseMapper
().
getInfoByIdsHistory
(
list
);
}
}
...
...
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