Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
qa-platform
Commits
0b562cdf
Commit
0b562cdf
authored
Jul 29, 2020
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化渠道/资方默认值
parent
90db3fdc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
QueryLoanUserDataController.java
...up/qaplatform/controller/QueryLoanUserDataController.java
+2
-2
QueryBasicLoanStatusDataMapper.xml
src/main/resources/mapper/QueryBasicLoanStatusDataMapper.xml
+6
-6
No files found.
src/main/java/cn/quantgroup/qaplatform/controller/QueryLoanUserDataController.java
View file @
0b562cdf
...
...
@@ -50,8 +50,8 @@ public class QueryLoanUserDataController {
@GetMapping
(
"/getLoanUserData"
)
public
JsonResult
getLoanUserData
(
@RequestParam
(
value
=
"namespace"
)
String
namespace
,
@RequestParam
(
value
=
"status"
)
Integer
status
,
@RequestParam
(
defaultValue
=
"0"
)
Integer
channel
,
@RequestParam
(
defaultValue
=
"0
"
)
Integer
fundId
,
@RequestParam
(
value
=
"channel"
)
Integer
channel
,
@RequestParam
(
value
=
"fundId
"
)
Integer
fundId
,
@RequestParam
(
defaultValue
=
"1"
)
Integer
pageNum
,
@RequestParam
(
defaultValue
=
"10"
)
Integer
pageSize
)
{
PageResult
result
=
loanUserDataService
.
getLoanUserData
(
namespace
,
status
,
channel
,
fundId
,
pageNum
,
pageSize
);
...
...
src/main/resources/mapper/QueryBasicLoanStatusDataMapper.xml
View file @
0b562cdf
...
...
@@ -6,7 +6,7 @@
SELECT `uuid` FROM `apply_list`
<where>
`apply_status` = 1
<if
test=
"channel !=
0
"
>
<if
test=
"channel !=
null
"
>
AND `channel_id` = #{channel}
</if>
</where>
...
...
@@ -42,7 +42,7 @@
SELECT `user_id` FROM apply_quota_record
<where>
`apply_status` = #{status}
<if
test=
"channel !=
0
"
>
<if
test=
"channel !=
null
"
>
AND `apply_from` = #{channel}
</if>
</where>
...
...
@@ -56,10 +56,10 @@
<where>
afrr.apply_status = 2
AND ao.status
<>
1
<if
test=
"channel !=
0
"
>
<if
test=
"channel !=
null
"
>
AND ao.created_from = #{channel}
</if>
<if
test=
"fundId !=
0
"
>
<if
test=
"fundId !=
null
"
>
AND afrr.funding_corp_id=#{fundId}
</if>
</where>
...
...
@@ -73,10 +73,10 @@
on lah.`user_id` = afrr.`user_id`
<where>
`progress` = #{progress}
<if
test=
"channel !=
0
"
>
<if
test=
"channel !=
null
"
>
AND `channel_id` = #{channel}
</if>
<if
test=
"fundId !=
0
"
>
<if
test=
"fundId !=
null
"
>
AND `funding_corp_id` = #{fundId}
</if>
</where>
...
...
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