Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
254f4f74
Commit
254f4f74
authored
Nov 18, 2020
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
来佣检核列表查询分页排序
parent
dd5052dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
yd-api/src/main/java/com/yd/api/commission/service/impl/LifeCommissionServiceImpl.java
+1
-1
yd-api/src/main/resources/mapper/lifecommission/LifeCommissionMapper.xml
+2
-2
No files found.
yd-api/src/main/java/com/yd/api/commission/service/impl/LifeCommissionServiceImpl.java
View file @
254f4f74
...
...
@@ -135,7 +135,7 @@ public class LifeCommissionServiceImpl implements LifeCommissionService {
private
PageInfo
<
ComeCommissionVO
>
queryComeCommissionListPage
(
QueryComeCommissionListRequestVO
requestVO
)
{
PageInfo
<
ComeCommissionVO
>
page
=
requestVO
.
getPage
();
String
orderBy
=
"
created_at
desc"
;
String
orderBy
=
"
orderDate
desc"
;
PageHelper
.
startPage
(
page
.
getPageNum
(),
page
.
getSize
(),
orderBy
);
...
...
yd-api/src/main/resources/mapper/lifecommission/LifeCommissionMapper.xml
View file @
254f4f74
...
...
@@ -39,7 +39,7 @@
left join (SELECT
order_id,
CASE WHEN factor_name = '保险期间' THEN element_text END coverageTerm,
CASE WHEN factor_name = '
交
费年限' THEN element_text END payTerm
CASE WHEN factor_name = '
缴
费年限' THEN element_text END payTerm
FROM ag_po_order_life_product_elements t
GROUP BY order_id
) e on e.order_id = o.id
...
...
@@ -50,7 +50,7 @@
</when>
<otherwise>
<if
test=
"compareDate != null"
>
and (
o.commission_check_id is null
and date_format(f.withdrawable_date, '%Y-%m')
<
= #{compareDate})
and (
(o.commission_check_status is null or o.commission_check_status = 1)
and date_format(f.withdrawable_date, '%Y-%m')
<
= #{compareDate})
</if>
<if
test=
"insurerId != null"
>
and o.insurer_id = #{insurerId}
...
...
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