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
34085050
Commit
34085050
authored
Jan 15, 2025
by
hezhuozhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【web端-还款管理】列表数据和导出不一致【gtr0723】
parent
727d40d3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
RepaymentMapper.java
...oin/amos/boot/module/hygf/api/mapper/RepaymentMapper.java
+2
-0
RepaymentMapper.xml
...f-api/src/main/resources/mapper/mysql/RepaymentMapper.xml
+5
-0
RepaymentServiceImpl.java
...ot/module/hygf/biz/service/impl/RepaymentServiceImpl.java
+4
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/mapper/RepaymentMapper.java
View file @
34085050
...
...
@@ -30,4 +30,6 @@ public interface RepaymentMapper extends BaseMapper<Repayment> {
List
<
String
>
getTodoTelephones
(
@Param
(
"userIds"
)
List
<
String
>
userIds
);
@UserEmpower
(
field
=
{
"regional_companies_code"
},
dealerField
=
{
"regional_companies_code"
},
fieldConditions
=
{
"in"
},
relationship
=
"and"
)
List
<
Repayment
>
getAllData
();
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/RepaymentMapper.xml
View file @
34085050
...
...
@@ -47,4 +47,9 @@
</foreach>
</select>
<select
id=
"getAllData"
resultType=
"com.yeejoin.amos.boot.module.hygf.api.entity.Repayment"
>
select * from hygf_repayment
order by create_time DESC,sequence_nbr DESC
</select>
</mapper>
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/RepaymentServiceImpl.java
View file @
34085050
...
...
@@ -359,10 +359,13 @@ public class RepaymentServiceImpl extends BaseService<RepaymentDto, Repayment, R
public
void
exportRepaymentExcel
(
List
<
String
>
sequenceNbrList
,
HttpServletResponse
response
)
{
LambdaQueryWrapper
<
Repayment
>
wrapper
=
new
LambdaQueryWrapper
<>();
//如果是空值导出全部
List
<
Repayment
>
repaymentList
;
if
(
CollectionUtil
.
isNotEmpty
(
sequenceNbrList
))
{
wrapper
.
in
(
Repayment:
:
getSequenceNbr
,
sequenceNbrList
);
repaymentList
=
list
(
wrapper
);
}
else
{
repaymentList
=
baseMapper
.
getAllData
();
}
List
<
Repayment
>
repaymentList
=
list
(
wrapper
);
if
(
CollectionUtil
.
isNotEmpty
(
repaymentList
))
{
List
<
RepaymentExcelVO
>
dataList
=
new
ArrayList
<>();
for
(
Repayment
repayment
:
repaymentList
)
{
...
...
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