Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf
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
xingmin
yd-csf
Commits
269f86d2
Commit
269f86d2
authored
Jan 07, 2026
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新单跟进改版1
parent
7186c852
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
42 deletions
+45
-42
yd-csf-service/src/main/java/com/yd/csf/service/dto/PolicyFollowQueryRequest.java
+41
-28
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/PolicyFollowServiceImpl.java
+4
-14
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/dto/PolicyFollowQueryRequest.java
View file @
269f86d2
...
...
@@ -7,72 +7,84 @@ import lombok.Data;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.time.LocalDate
;
import
java.util.List
;
/**
* 查询customer请求
*
*/
@EqualsAndHashCode
(
callSuper
=
true
)
@Data
public
class
PolicyFollowQueryRequest
extends
PageDto
implements
Serializable
{
/**
* 保单号
*/
@Schema
(
description
=
"保单号"
)
private
String
policyNo
;
/**
* 新单状态
*/
@Schema
(
description
=
"新单状态 'CHECKING'-'审核中','UNDERWRITING'-'承保中','FINISHED'-'已完成','DECLINED'-'已拒绝','CANCELLED'-'已取消', 字典值: csf_policy_follow_status"
)
private
String
status
;
/**
*
新单
编号
*
预约
编号
*/
@Schema
(
description
=
"
新单
编号"
)
private
String
policyBizId
;
@Schema
(
description
=
"
预约
编号"
)
private
String
appointmentNo
;
/**
*
保单号
*
签单日开始
*/
@Schema
(
description
=
"保单号"
)
private
String
policyNo
;
@Schema
(
description
=
"签单日期开始 格式: yyyy-MM-dd"
,
example
=
"2023-01-01"
,
format
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
LocalDate
signDateStart
;
/**
*
客户名称
*
签单日结束
*/
@Schema
(
description
=
"客户名称"
)
private
String
customerName
;
@Schema
(
description
=
"签单日期结束 格式: yyyy-MM-dd"
,
example
=
"2023-01-01"
,
format
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
LocalDate
signDateEnd
;
/**
*
客户编号
*
最晚缴费日期
*/
@Schema
(
description
=
"客户编号"
)
private
String
customerBizId
;
@Schema
(
description
=
"最晚缴费日期 格式: yyyy-MM-dd"
,
example
=
"2023-01-01"
,
format
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
LocalDate
latestPaymentDate
;
/**
*
保险公司
*
投保人业务id列表
*/
@Schema
(
description
=
"
保险公司
"
)
private
String
insurer
;
@Schema
(
description
=
"
投保人业务id列表
"
)
private
List
<
String
>
policyholderBizIdList
;
/**
*
产品名称
*
受保人业务id列表
*/
@Schema
(
description
=
"
产品名称
"
)
private
String
productName
;
@Schema
(
description
=
"
受保人业务id列表
"
)
private
List
<
String
>
policyInsurantBizIdList
;
/**
*
签单日期开始
*
保险公司业务id列表
*/
@Schema
(
description
=
"签单日期开始"
,
example
=
"2023-01-01 00:00:00"
,
format
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
signDateStart
;
@Schema
(
description
=
"保险公司业务id列表"
)
private
List
<
String
>
insuranceCompanyBizIdList
;
/**
*
签单日期结束
*
产品计划业务id列表
*/
@Schema
(
description
=
"签单日期结束"
,
example
=
"2023-01-01 23:59:59"
,
format
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
signDateEnd
;
@Schema
(
description
=
"产品计划业务id列表"
)
private
List
<
String
>
productLaunchBizIdList
;
/**
* 缴费年期
*/
@Schema
(
description
=
"缴费年期"
)
private
String
paymentTerm
;
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/PolicyFollowServiceImpl.java
View file @
269f86d2
...
...
@@ -97,23 +97,13 @@ public class PolicyFollowServiceImpl extends ServiceImpl<PolicyFollowMapper, Pol
if
(
policyFollowQueryRequest
==
null
)
{
return
queryWrapper
;
}
String
policyNo
=
policyFollowQueryRequest
.
getPolicyNo
();
String
customerName
=
policyFollowQueryRequest
.
getCustomerName
();
String
customerBizId
=
policyFollowQueryRequest
.
getCustomerBizId
();
String
status
=
policyFollowQueryRequest
.
getStatus
();
String
insurer
=
policyFollowQueryRequest
.
getInsurer
();
String
productName
=
policyFollowQueryRequest
.
getProductName
();
Date
signDateStart
=
policyFollowQueryRequest
.
getSignDateStart
();
Date
signDateEnd
=
policyFollowQueryRequest
.
getSignDateEnd
();
String
appointmentNo
=
policyFollowQueryRequest
.
getAppointmentNo
();
queryWrapper
.
eq
(
ObjectUtils
.
isNotEmpty
(
policyNo
),
"policy_no"
,
policyNo
);
queryWrapper
.
eq
(
ObjectUtils
.
isNotEmpty
(
customerName
),
"customer_name"
,
customerName
);
queryWrapper
.
eq
(
ObjectUtils
.
isNotEmpty
(
customerBizId
),
"customer_biz_id"
,
customerBizId
);
queryWrapper
.
eq
(
ObjectUtils
.
isNotEmpty
(
status
.
trim
()),
"status"
,
status
);
queryWrapper
.
eq
(
ObjectUtils
.
isNotEmpty
(
insurer
),
"insurance"
,
insurer
);
queryWrapper
.
eq
(
ObjectUtils
.
isNotEmpty
(
productName
),
"product_code"
,
productName
);
queryWrapper
.
ge
(
ObjectUtils
.
isNotEmpty
(
signDateStart
),
"sign_date"
,
signDateStart
);
queryWrapper
.
le
(
ObjectUtils
.
isNotEmpty
(
signDateEnd
),
"sign_date"
,
signDateEnd
);
queryWrapper
.
eq
(
ObjectUtils
.
isNotEmpty
(
appointmentNo
),
"appointment_no"
,
appointmentNo
);
// 排序
queryWrapper
.
orderByDesc
(
"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