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
d5c80d55
Commit
d5c80d55
authored
Jan 19, 2022
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【线上来佣比对】
查询全部2-公司,分公司,没有显示
parent
5b536f1e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
46 deletions
+40
-46
yd-api/src/main/java/com/yd/api/commission/service/impl/LifeCommissionServiceImpl.java
+4
-4
yd-api/src/main/java/com/yd/api/commission/vo/lifecommission/ComeCommissionVO.java
+32
-40
yd-api/src/main/resources/mapper/lifecommission/LifeCommissionMapper.xml
+4
-2
No files found.
yd-api/src/main/java/com/yd/api/commission/service/impl/LifeCommissionServiceImpl.java
View file @
d5c80d55
...
@@ -401,9 +401,9 @@ public class LifeCommissionServiceImpl implements LifeCommissionService {
...
@@ -401,9 +401,9 @@ public class LifeCommissionServiceImpl implements LifeCommissionService {
}
}
if
(
null
!=
comeCommissionVO
.
getYdBranchId
())
{
if
(
null
!=
comeCommissionVO
.
getYdBranchId
())
{
insurerBranch
=
aclInsurerBranchMap
.
get
(
Long
.
valueOf
(
comeCommissionVO
.
getYdBranchId
()));
insurerBranch
=
aclInsurerBranchMap
.
get
(
Long
.
valueOf
(
comeCommissionVO
.
getYdBranchId
()));
comeCommissionVO
.
setYdBrachName
(
insurerBranch
!=
null
?
insurerBranch
.
getBranchName
()
:
"总公司直属"
);
comeCommissionVO
.
setYdBra
n
chName
(
insurerBranch
!=
null
?
insurerBranch
.
getBranchName
()
:
"总公司直属"
);
}
else
{
}
else
{
comeCommissionVO
.
setYdBrachName
(
"总公司直属"
);
comeCommissionVO
.
setYdBra
n
chName
(
"总公司直属"
);
}
}
}
}
}
}
...
@@ -557,9 +557,9 @@ public class LifeCommissionServiceImpl implements LifeCommissionService {
...
@@ -557,9 +557,9 @@ public class LifeCommissionServiceImpl implements LifeCommissionService {
buf
.
append
(
"\t"
).
append
(
info
.
getCommissionYear
()).
append
(
"\t"
).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
"\t"
).
append
(
info
.
getCommissionYear
()).
append
(
"\t"
).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
"\t"
).
append
(
info
.
getCommissionTime
()).
append
(
"\t"
).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
"\t"
).
append
(
info
.
getCommissionTime
()).
append
(
"\t"
).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
"\t"
).
append
(
info
.
getCheckDate
()).
append
(
"\t"
).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
"\t"
).
append
(
info
.
getCheckDate
()).
append
(
"\t"
).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
info
.
getYdBrachName
()).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
info
.
getYdBra
n
chName
()).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
info
.
getInsurerName
()).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
info
.
getInsurerName
()).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
info
.
getInsurerBrachName
()).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
info
.
getInsurerBra
n
chName
()).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
"\t"
).
append
(
info
.
getPolicyNo
()).
append
(
"\t"
).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
"\t"
).
append
(
info
.
getPolicyNo
()).
append
(
"\t"
).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
info
.
getOrderPrice
()).
append
(
CSV_COLUMN_SEPARATOR
);
buf
.
append
(
info
.
getOrderPrice
()).
append
(
CSV_COLUMN_SEPARATOR
);
...
...
yd-api/src/main/java/com/yd/api/commission/vo/lifecommission/ComeCommissionVO.java
View file @
d5c80d55
...
@@ -4,7 +4,6 @@ import org.apache.commons.lang.StringUtils;
...
@@ -4,7 +4,6 @@ import org.apache.commons.lang.StringUtils;
public
class
ComeCommissionVO
{
public
class
ComeCommissionVO
{
private
Long
orderId
;
private
Long
orderId
;
private
String
ydBranchId
;
//银盾出单机构
private
String
checkDate
;
//比对日期
private
String
checkDate
;
//比对日期
private
String
insurerName
;
//保险公司
private
String
insurerName
;
//保险公司
private
String
planName
;
//购买方案
private
String
planName
;
//购买方案
...
@@ -36,11 +35,11 @@ public class ComeCommissionVO {
...
@@ -36,11 +35,11 @@ public class ComeCommissionVO {
private
String
commissionItem
;
//佣金项目(1:销售拥金;2:销售奖金;3:销售津贴;4:续期佣金;5:服务津贴;等等)
private
String
commissionItem
;
//佣金项目(1:销售拥金;2:销售奖金;3:销售津贴;4:续期佣金;5:服务津贴;等等)
private
String
commissionItemName
;
private
String
commissionItemName
;
private
String
insurerBrachId
;
private
String
insurerBra
n
chId
;
private
String
insurerBrachName
;
private
String
insurerBra
n
chName
;
private
Long
ydBrachId
;
//银盾出单机构id
private
Long
ydBra
n
chId
;
//银盾出单机构id
private
String
ydBrachName
;
//银盾出单机构
private
String
ydBra
n
chName
;
//银盾出单机构
private
String
s3SubordinateSystemName
;
//s3所属体系名称
private
String
s3SubordinateSystemName
;
//s3所属体系名称
private
String
s2SubordinateSystemName
;
//s2所属体系名称
private
String
s2SubordinateSystemName
;
//s2所属体系名称
...
@@ -57,13 +56,6 @@ public class ComeCommissionVO {
...
@@ -57,13 +56,6 @@ public class ComeCommissionVO {
this
.
orderId
=
orderId
;
this
.
orderId
=
orderId
;
}
}
public
String
getYdBranchId
()
{
return
ydBranchId
;
}
public
void
setYdBranchId
(
String
ydBranchId
)
{
this
.
ydBranchId
=
ydBranchId
;
}
public
String
getCheckDate
()
{
public
String
getCheckDate
()
{
if
(
StringUtils
.
isBlank
(
checkDate
))
{
if
(
StringUtils
.
isBlank
(
checkDate
))
{
...
@@ -317,34 +309,23 @@ public class ComeCommissionVO {
...
@@ -317,34 +309,23 @@ public class ComeCommissionVO {
this
.
commissionItemName
=
commissionItemName
;
this
.
commissionItemName
=
commissionItemName
;
}
}
public
String
getInsurerBrachId
()
{
public
String
getInsurerBranchId
()
{
return
insurerBrachId
;
return
insurerBranchId
;
}
public
void
setInsurerBrachId
(
String
insurerBrachId
)
{
this
.
insurerBrachId
=
insurerBrachId
;
}
}
public
String
getInsurerBrachName
()
{
public
void
setInsurerBranchId
(
String
insurerBranchId
)
{
if
(
StringUtils
.
isBlank
(
insurerBrachName
))
{
this
.
insurerBranchId
=
insurerBranchId
;
return
StringUtils
.
EMPTY
;
}
return
insurerBrachName
;
}
public
void
setInsurerBrachName
(
String
insurerBrachName
)
{
this
.
insurerBrachName
=
insurerBrachName
;
}
}
public
String
get
YdBra
chName
()
{
public
String
get
InsurerBran
chName
()
{
if
(
StringUtils
.
isBlank
(
ydBra
chName
))
{
if
(
StringUtils
.
isBlank
(
insurerBran
chName
))
{
return
StringUtils
.
EMPTY
;
return
StringUtils
.
EMPTY
;
}
}
return
ydBra
chName
;
return
insurerBran
chName
;
}
}
public
void
set
YdBrachName
(
String
ydBra
chName
)
{
public
void
set
InsurerBranchName
(
String
insurerBran
chName
)
{
this
.
ydBrachName
=
ydBra
chName
;
this
.
insurerBranchName
=
insurerBran
chName
;
}
}
public
String
getS3SubordinateSystemName
()
{
public
String
getS3SubordinateSystemName
()
{
...
@@ -380,14 +361,6 @@ public class ComeCommissionVO {
...
@@ -380,14 +361,6 @@ public class ComeCommissionVO {
this
.
subordinateSystemName
=
subordinateSystemName
;
this
.
subordinateSystemName
=
subordinateSystemName
;
}
}
public
Long
getYdBrachId
()
{
return
ydBrachId
;
}
public
void
setYdBrachId
(
Long
ydBrachId
)
{
this
.
ydBrachId
=
ydBrachId
;
}
public
Long
getS1Id
()
{
public
Long
getS1Id
()
{
return
s1Id
;
return
s1Id
;
}
}
...
@@ -411,4 +384,23 @@ public class ComeCommissionVO {
...
@@ -411,4 +384,23 @@ public class ComeCommissionVO {
public
void
setS3Id
(
Long
s3Id
)
{
public
void
setS3Id
(
Long
s3Id
)
{
this
.
s3Id
=
s3Id
;
this
.
s3Id
=
s3Id
;
}
}
public
Long
getYdBranchId
()
{
return
ydBranchId
;
}
public
void
setYdBranchId
(
Long
ydBranchId
)
{
this
.
ydBranchId
=
ydBranchId
;
}
public
String
getYdBranchName
()
{
if
(
StringUtils
.
isBlank
(
ydBranchName
))
{
return
StringUtils
.
EMPTY
;
}
return
ydBranchName
;
}
public
void
setYdBranchName
(
String
ydBranchName
)
{
this
.
ydBranchName
=
ydBranchName
;
}
}
}
yd-api/src/main/resources/mapper/lifecommission/LifeCommissionMapper.xml
View file @
d5c80d55
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
resultType=
"com.yd.api.commission.vo.lifecommission.ComeCommissionVO"
>
resultType=
"com.yd.api.commission.vo.lifecommission.ComeCommissionVO"
>
select
select
t.*,
t.*,
i
b.insurer_
name insurerName,
i
.
name insurerName,
ib.branch_name insurerBrachName,
ib.branch_name insurerBra
n
chName,
c.check_yearmonth checkDate,
c.check_yearmonth checkDate,
IFNULL(a.name,p.name) planName,
IFNULL(a.name,p.name) planName,
...
@@ -62,6 +62,7 @@
...
@@ -62,6 +62,7 @@
left join ag_product_life_commission_base b on oc.commission_base_id = b.id
left join ag_product_life_commission_base b on oc.commission_base_id = b.id
) t
) t
left join ag_acl_insurer_branch ib on t.insurer_branch_id = ib.id
left join ag_acl_insurer_branch ib on t.insurer_branch_id = ib.id
left join ag_acl_insurer i ON t.insurer_id = i.id
left join ag_po_order_commission_check c on t.commission_check_id = c.id
left join ag_po_order_commission_check c on t.commission_check_id = c.id
left join ag_product_plan a on t.plan_id = a.id
left join ag_product_plan a on t.plan_id = a.id
left join ag_product p on t.product_id = p.id
left join ag_product p on t.product_id = p.id
...
@@ -211,6 +212,7 @@
...
@@ -211,6 +212,7 @@
left join ag_product_life_commission_base b on oc.commission_base_id = b.id
left join ag_product_life_commission_base b on oc.commission_base_id = b.id
) t
) t
left join ag_acl_insurer_branch ib on t.insurer_branch_id = ib.id
left join ag_acl_insurer_branch ib on t.insurer_branch_id = ib.id
left join ag_acl_insurer i ON t.insurer_id = i.id
left join ag_po_order_commission_check c on t.commission_check_id = c.id
left join ag_po_order_commission_check c on t.commission_check_id = c.id
left join ag_product_plan a on t.plan_id = a.id
left join ag_product_plan a on t.plan_id = a.id
left join ag_product p on t.product_id = p.id
left join ag_product p on t.product_id = p.id
...
...
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