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
4e51da61
Commit
4e51da61
authored
Nov 12, 2020
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
来佣比对查询列表sql报错2
parent
7914faf6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
yd-api/src/main/resources/mapper/lifecommission/LifeCommissionMapper.xml
+4
-3
No files found.
yd-api/src/main/resources/mapper/lifecommission/LifeCommissionMapper.xml
View file @
4e51da61
...
...
@@ -2,11 +2,12 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yd.dal.mapper.lifecommission.LifeCommissionMapper"
>
<!-- 查询来佣比对列表 -->
<select
id=
"queryComeCommissionList"
resultType=
"com.yd.api.commission.vo.lifecommission.ComeCommissionVO"
>
<select
id=
"queryComeCommissionList"
parameterType=
"com.yd.api.commission.vo.lifecommission.QueryComeCommissionListRequestVO"
resultType=
"com.yd.api.commission.vo.lifecommission.ComeCommissionVO"
>
select
o.id orderId,
o.commission_check_at checkDate,
i.name_abbre
insurerName,
IFNULL(i.name_abbre,i.name)
insurerName,
IFNULL(a.name,p.name) planName,
o.policy_no policyNo,
o.order_price orderPrice,
...
...
@@ -49,7 +50,7 @@
</when>
<otherwise>
<if
test=
"compareDate != null"
>
and
o.commission_check_id is null or date_format(f.withdrawable_date, '%Y-%m')
<
= #{compareDate}
and
(o.commission_check_id is null or 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