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
e17cb6ea
Commit
e17cb6ea
authored
Oct 16, 2024
by
hezhuozhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改还款问题
parent
c2e138fe
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
4 deletions
+12
-4
RepaymentMapper.java
...oin/amos/boot/module/hygf/api/mapper/RepaymentMapper.java
+1
-1
RepaymentMapper.xml
...f-api/src/main/resources/mapper/mysql/RepaymentMapper.xml
+6
-0
RepaymentController.java
.../boot/module/hygf/biz/controller/RepaymentController.java
+3
-1
RepaymentServiceImpl.java
...ot/module/hygf/biz/service/impl/RepaymentServiceImpl.java
+2
-2
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 @
e17cb6ea
...
...
@@ -18,7 +18,7 @@ import java.util.List;
public
interface
RepaymentMapper
extends
BaseMapper
<
Repayment
>
{
@UserEmpower
(
field
=
{
"regional_companies_code"
},
dealerField
=
{
"regional_companies_code"
},
fieldConditions
=
{
"in"
},
relationship
=
"and"
)
List
<
RepaymentDto
>
queryPage
(
@Param
(
"sequenceNbr"
)
String
sequenceNbr
,
@Param
(
"companyName"
)
String
companyName
,
@Param
(
"loanPeriod"
)
String
loanPeriod
,
@Param
(
"messageState"
)
String
messageState
,
@Param
(
"repayState"
)
String
repayState
);
@Param
(
"messageState"
)
String
messageState
,
@Param
(
"repayState"
)
String
repayState
,
@Param
(
"repayDate"
)
String
repayDate
,
@Param
(
"period"
)
String
period
);
/**
* 获取区域公司通过OrgCode
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/RepaymentMapper.xml
View file @
e17cb6ea
...
...
@@ -14,6 +14,12 @@
<if
test=
"loanPeriod != null and loanPeriod != ''"
>
and loan_period like CONCAT('%',#{loanPeriod},'%' )
</if>
<if
test=
"repayDate != null and repayDate != ''"
>
and repay_date = #{repayDate}
</if>
<if
test=
"period != null and period != ''"
>
and period like CONCAT('%',#{period},'%' )
</if>
<if
test=
"messageState != null and messageState != ''"
>
and message_state = #{messageState}
</if>
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/RepaymentController.java
View file @
e17cb6ea
...
...
@@ -221,8 +221,10 @@ public class RepaymentController extends BaseController {
@RequestParam
(
value
=
"loanPeriod"
,
required
=
false
)
String
loanPeriod
,
@RequestParam
(
value
=
"messageState"
,
required
=
false
)
String
messageState
,
@RequestParam
(
value
=
"repayState"
,
required
=
false
)
String
repayState
,
@RequestParam
(
value
=
"repayDate"
,
required
=
false
)
String
repayDate
,
@RequestParam
(
value
=
"period"
,
required
=
false
)
String
period
,
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
return
ResponseHelper
.
buildResponse
(
repaymentService
.
queryForRepaymentPage
(
sequenceNbr
,
companyName
,
loanPeriod
,
messageState
,
repayState
,
current
,
size
));
return
ResponseHelper
.
buildResponse
(
repaymentService
.
queryForRepaymentPage
(
sequenceNbr
,
companyName
,
loanPeriod
,
messageState
,
repayState
,
repayDate
,
period
,
current
,
size
));
}
}
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 @
e17cb6ea
...
...
@@ -62,9 +62,9 @@ public class RepaymentServiceImpl extends BaseService<RepaymentDto, Repayment, R
CommonServiceImpl
commonService
;
public
Page
<
RepaymentDto
>
queryForRepaymentPage
(
String
sequenceNbr
,
String
companyName
,
String
loanPeriod
,
String
messageState
,
String
repayState
,
int
current
,
int
size
)
{
String
messageState
,
String
repayState
,
String
repayDate
,
String
period
,
int
current
,
int
size
)
{
PageHelper
.
startPage
(
current
,
size
);
List
<
RepaymentDto
>
list
=
repaymentMapper
.
queryPage
(
sequenceNbr
,
companyName
,
loanPeriod
,
messageState
,
repayState
);
List
<
RepaymentDto
>
list
=
repaymentMapper
.
queryPage
(
sequenceNbr
,
companyName
,
loanPeriod
,
messageState
,
repayState
,
repayDate
,
period
);
PageInfo
<
RepaymentDto
>
pages
=
new
PageInfo
(
list
);
List
<
RepaymentDto
>
pagesList
=
pages
.
getList
();
if
(
CollectionUtil
.
isNotEmpty
(
pagesList
))
{
...
...
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