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
ad72a12d
Commit
ad72a12d
authored
Mar 20, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
eb5a1876
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
0 deletions
+25
-0
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAdditionalServiceImpl.java
+4
-0
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAgentDetailFycServiceImpl.java
+2
-0
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAgentReferralRelationServiceImpl.java
+2
-0
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentFileServiceImpl.java
+8
-0
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentLogServiceImpl.java
+2
-0
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentReferrerLogServiceImpl.java
+2
-0
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
+5
-0
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAdditionalServiceImpl.java
View file @
ad72a12d
...
@@ -81,6 +81,7 @@ public class ApiAdditionalServiceImpl implements ApiAdditionalService {
...
@@ -81,6 +81,7 @@ public class ApiAdditionalServiceImpl implements ApiAdditionalService {
* @return
* @return
*/
*/
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
add
(
ApiProductPlanAdditionalInfoDto
apiProductPlanAdditionalInfoDto
)
{
public
Result
add
(
ApiProductPlanAdditionalInfoDto
apiProductPlanAdditionalInfoDto
)
{
List
<
ApiProductPlanAdditionalInfoDto
>
list
=
new
ArrayList
<>();
List
<
ApiProductPlanAdditionalInfoDto
>
list
=
new
ArrayList
<>();
list
.
add
(
apiProductPlanAdditionalInfoDto
);
list
.
add
(
apiProductPlanAdditionalInfoDto
);
...
@@ -100,6 +101,7 @@ public class ApiAdditionalServiceImpl implements ApiAdditionalService {
...
@@ -100,6 +101,7 @@ public class ApiAdditionalServiceImpl implements ApiAdditionalService {
* @return
* @return
*/
*/
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
edit
(
ApiProductPlanAdditionalInfoDto
apiProductPlanAdditionalInfoDto
)
{
public
Result
edit
(
ApiProductPlanAdditionalInfoDto
apiProductPlanAdditionalInfoDto
)
{
//编辑预约入参字段校验 - 产品计划信息字段校验 - 编辑产品附加险信息单个对象字段校验
//编辑预约入参字段校验 - 产品计划信息字段校验 - 编辑产品附加险信息单个对象字段校验
apiAppointmentCheckService
.
checkEditApiProductPlanAdditionalInfoDto
(
apiProductPlanAdditionalInfoDto
);
apiAppointmentCheckService
.
checkEditApiProductPlanAdditionalInfoDto
(
apiProductPlanAdditionalInfoDto
);
...
@@ -134,6 +136,7 @@ public class ApiAdditionalServiceImpl implements ApiAdditionalService {
...
@@ -134,6 +136,7 @@ public class ApiAdditionalServiceImpl implements ApiAdditionalService {
* @return
* @return
*/
*/
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
del
(
String
additionalBizId
)
{
public
Result
del
(
String
additionalBizId
)
{
//校验附加险信息是否存在
//校验附加险信息是否存在
Result
<
Additional
>
result
=
checkAdditionalIsExist
(
additionalBizId
);
Result
<
Additional
>
result
=
checkAdditionalIsExist
(
additionalBizId
);
...
@@ -183,6 +186,7 @@ public class ApiAdditionalServiceImpl implements ApiAdditionalService {
...
@@ -183,6 +186,7 @@ public class ApiAdditionalServiceImpl implements ApiAdditionalService {
* @return
* @return
*/
*/
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
batchEditAdditionalData
(
ApiProductPlanInfoDto
productPlanInfoDto
,
String
planBizId
)
{
public
Result
batchEditAdditionalData
(
ApiProductPlanInfoDto
productPlanInfoDto
,
String
planBizId
)
{
if
(
Objects
.
isNull
(
productPlanInfoDto
)
if
(
Objects
.
isNull
(
productPlanInfoDto
)
||
(
!
Objects
.
isNull
(
productPlanInfoDto
)
||
(
!
Objects
.
isNull
(
productPlanInfoDto
)
...
...
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAgentDetailFycServiceImpl.java
View file @
ad72a12d
...
@@ -13,6 +13,7 @@ import lombok.extern.slf4j.Slf4j;
...
@@ -13,6 +13,7 @@ import lombok.extern.slf4j.Slf4j;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.util.CollectionUtils
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
...
@@ -35,6 +36,7 @@ public class ApiAgentDetailFycServiceImpl implements ApiAgentDetailFycService {
...
@@ -35,6 +36,7 @@ public class ApiAgentDetailFycServiceImpl implements ApiAgentDetailFycService {
* @return
* @return
*/
*/
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
saveAgentDetailFyc
(
GenerateAgentDetailFycDto
dto
)
{
public
Result
saveAgentDetailFyc
(
GenerateAgentDetailFycDto
dto
)
{
List
<
AlgorithmResDto
>
algorithmResDtoList
=
dto
.
getAlgorithmResDtoList
();
List
<
AlgorithmResDto
>
algorithmResDtoList
=
dto
.
getAlgorithmResDtoList
();
List
<
AgentDetailFyc
>
agentDetailFycList
=
new
ArrayList
<>();
List
<
AgentDetailFyc
>
agentDetailFycList
=
new
ArrayList
<>();
...
...
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAgentReferralRelationServiceImpl.java
View file @
ad72a12d
...
@@ -9,6 +9,7 @@ import com.yd.csf.service.model.AgentReferralRelation;
...
@@ -9,6 +9,7 @@ import com.yd.csf.service.model.AgentReferralRelation;
import
com.yd.csf.service.service.IAgentReferralRelationService
;
import
com.yd.csf.service.service.IAgentReferralRelationService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.List
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
...
@@ -25,6 +26,7 @@ public class ApiAgentReferralRelationServiceImpl implements ApiAgentReferralRela
...
@@ -25,6 +26,7 @@ public class ApiAgentReferralRelationServiceImpl implements ApiAgentReferralRela
* @return
* @return
*/
*/
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
save
(
ApiAgentReferralRelationSaveRequest
request
)
{
public
Result
save
(
ApiAgentReferralRelationSaveRequest
request
)
{
//先删后新增
//先删后新增
iAgentReferralRelationService
.
del
(
request
.
getAgentIdList
(),
request
.
getReferrerId
());
iAgentReferralRelationService
.
del
(
request
.
getAgentIdList
(),
request
.
getReferrerId
());
...
...
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentFileServiceImpl.java
View file @
ad72a12d
...
@@ -47,6 +47,7 @@ import org.apache.commons.lang3.StringUtils;
...
@@ -47,6 +47,7 @@ import org.apache.commons.lang3.StringUtils;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.web.multipart.MultipartFile
;
import
org.springframework.web.multipart.MultipartFile
;
import
java.util.*
;
import
java.util.*
;
...
@@ -138,6 +139,7 @@ public class ApiAppointmentFileServiceImpl implements ApiAppointmentFileService
...
@@ -138,6 +139,7 @@ public class ApiAppointmentFileServiceImpl implements ApiAppointmentFileService
* @return
* @return
*/
*/
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
add
(
ApiAppointmentFileAddRequest
request
)
{
public
Result
add
(
ApiAppointmentFileAddRequest
request
)
{
//获取Security上下文当前用户的登录信息
//获取Security上下文当前用户的登录信息
AuthUserDto
authUserDto
=
SecurityUtil
.
getCurrentLoginUser
();
AuthUserDto
authUserDto
=
SecurityUtil
.
getCurrentLoginUser
();
...
@@ -155,6 +157,7 @@ public class ApiAppointmentFileServiceImpl implements ApiAppointmentFileService
...
@@ -155,6 +157,7 @@ public class ApiAppointmentFileServiceImpl implements ApiAppointmentFileService
* @return
* @return
*/
*/
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
edit
(
ApiAppointmentFileEditRequest
request
)
{
public
Result
edit
(
ApiAppointmentFileEditRequest
request
)
{
Result
<
AppointmentFile
>
result
=
checkAppointmentFileIsExist
(
request
.
getAppointmentFileBizId
());
Result
<
AppointmentFile
>
result
=
checkAppointmentFileIsExist
(
request
.
getAppointmentFileBizId
());
AppointmentFile
appointmentFile
=
result
.
getData
();
AppointmentFile
appointmentFile
=
result
.
getData
();
...
@@ -169,6 +172,7 @@ public class ApiAppointmentFileServiceImpl implements ApiAppointmentFileService
...
@@ -169,6 +172,7 @@ public class ApiAppointmentFileServiceImpl implements ApiAppointmentFileService
* @return
* @return
*/
*/
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
del
(
String
appointmentFileBizId
)
{
public
Result
del
(
String
appointmentFileBizId
)
{
Result
<
AppointmentFile
>
result
=
checkAppointmentFileIsExist
(
appointmentFileBizId
);
Result
<
AppointmentFile
>
result
=
checkAppointmentFileIsExist
(
appointmentFileBizId
);
AppointmentFile
appointmentFile
=
result
.
getData
();
AppointmentFile
appointmentFile
=
result
.
getData
();
...
@@ -182,6 +186,7 @@ public class ApiAppointmentFileServiceImpl implements ApiAppointmentFileService
...
@@ -182,6 +186,7 @@ public class ApiAppointmentFileServiceImpl implements ApiAppointmentFileService
* @return
* @return
*/
*/
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
download
(
String
appointmentFileBizId
)
{
public
Result
download
(
String
appointmentFileBizId
)
{
return
null
;
return
null
;
}
}
...
@@ -192,6 +197,7 @@ public class ApiAppointmentFileServiceImpl implements ApiAppointmentFileService
...
@@ -192,6 +197,7 @@ public class ApiAppointmentFileServiceImpl implements ApiAppointmentFileService
* @return
* @return
*/
*/
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
<
String
>
itineraryPdf
(
String
appointmentBizId
)
{
public
Result
<
String
>
itineraryPdf
(
String
appointmentBizId
)
{
String
url
=
""
;
String
url
=
""
;
//查询redis缓存的字典列表信息
//查询redis缓存的字典列表信息
...
@@ -238,6 +244,7 @@ public class ApiAppointmentFileServiceImpl implements ApiAppointmentFileService
...
@@ -238,6 +244,7 @@ public class ApiAppointmentFileServiceImpl implements ApiAppointmentFileService
* @return
* @return
*/
*/
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
<
ApiAppointmentExportExcelResponse
>
appointmentExportExcel
(
String
appointmentBizId
)
{
public
Result
<
ApiAppointmentExportExcelResponse
>
appointmentExportExcel
(
String
appointmentBizId
)
{
Map
<
String
,
Object
>
data
=
new
HashMap
<>();
Map
<
String
,
Object
>
data
=
new
HashMap
<>();
try
{
try
{
...
@@ -365,6 +372,7 @@ public class ApiAppointmentFileServiceImpl implements ApiAppointmentFileService
...
@@ -365,6 +372,7 @@ public class ApiAppointmentFileServiceImpl implements ApiAppointmentFileService
* @return
* @return
*/
*/
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
<
ApiAppointmentImportExcelResponse
>
appointmentImportExcel
(
MultipartFile
file
,
public
Result
<
ApiAppointmentImportExcelResponse
>
appointmentImportExcel
(
MultipartFile
file
,
ApiAppointmentImportExcelRequest
request
)
{
ApiAppointmentImportExcelRequest
request
)
{
...
...
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentLogServiceImpl.java
View file @
ad72a12d
...
@@ -11,6 +11,7 @@ import lombok.extern.slf4j.Slf4j;
...
@@ -11,6 +11,7 @@ import lombok.extern.slf4j.Slf4j;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
@Service
@Service
@Slf4j
@Slf4j
...
@@ -25,6 +26,7 @@ public class ApiAppointmentLogServiceImpl implements ApiAppointmentLogService {
...
@@ -25,6 +26,7 @@ public class ApiAppointmentLogServiceImpl implements ApiAppointmentLogService {
* @return
* @return
*/
*/
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
<
String
>
saveAppointmentLog
(
Appointment
appointment
)
{
public
Result
<
String
>
saveAppointmentLog
(
Appointment
appointment
)
{
AppointmentLog
appointmentLog
=
new
AppointmentLog
();
AppointmentLog
appointmentLog
=
new
AppointmentLog
();
BeanUtils
.
copyProperties
(
appointment
,
appointmentLog
);
BeanUtils
.
copyProperties
(
appointment
,
appointmentLog
);
...
...
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentReferrerLogServiceImpl.java
View file @
ad72a12d
...
@@ -11,6 +11,7 @@ import lombok.extern.slf4j.Slf4j;
...
@@ -11,6 +11,7 @@ import lombok.extern.slf4j.Slf4j;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.util.CollectionUtils
;
import
java.util.List
;
import
java.util.List
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
...
@@ -29,6 +30,7 @@ public class ApiAppointmentReferrerLogServiceImpl implements ApiAppointmentRefer
...
@@ -29,6 +30,7 @@ public class ApiAppointmentReferrerLogServiceImpl implements ApiAppointmentRefer
* @return
* @return
*/
*/
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
saveAppointmentReferrerLogList
(
List
<
ApiAppointmentReferrerDto
>
referrerDtoList
,
public
Result
saveAppointmentReferrerLogList
(
List
<
ApiAppointmentReferrerDto
>
referrerDtoList
,
String
appointmentLogBizId
)
{
String
appointmentLogBizId
)
{
if
(
CollectionUtils
.
isEmpty
(
referrerDtoList
))
{
if
(
CollectionUtils
.
isEmpty
(
referrerDtoList
))
{
...
...
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentServiceImpl.java
View file @
ad72a12d
...
@@ -280,6 +280,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
...
@@ -280,6 +280,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
* @param appointmentBizId
* @param appointmentBizId
* @return
* @return
*/
*/
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
addRelObjectMaterialList
(
String
appointmentBizId
,
public
Result
addRelObjectMaterialList
(
String
appointmentBizId
,
List
<
ApiAppointmentMaterialDto
>
dtoList
)
{
List
<
ApiAppointmentMaterialDto
>
dtoList
)
{
//添加-单个对象和材料列表关系信息
//添加-单个对象和材料列表关系信息
...
@@ -497,6 +498,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
...
@@ -497,6 +498,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
* 更新关联的FNA状态为"待签单"
* 更新关联的FNA状态为"待签单"
* @param fnaBizId FNA业务ID
* @param fnaBizId FNA业务ID
*/
*/
@Transactional
(
rollbackFor
=
Exception
.
class
)
private
void
updateFnaStatusToPendingSignature
(
String
fnaBizId
)
{
private
void
updateFnaStatusToPendingSignature
(
String
fnaBizId
)
{
if
(
StringUtils
.
isBlank
(
fnaBizId
))
{
if
(
StringUtils
.
isBlank
(
fnaBizId
))
{
return
;
return
;
...
@@ -514,6 +516,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
...
@@ -514,6 +516,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
* @return
* @return
*/
*/
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
editStorage
(
ApiAppointmentEditStorageRequest
request
)
{
public
Result
editStorage
(
ApiAppointmentEditStorageRequest
request
)
{
//校验预约信息-客户和fna入参
//校验预约信息-客户和fna入参
apiAppointmentCheckService
.
checkCustomerAndFna
(
request
.
getApiAppointmentInfoDto
(),
"预约信息-"
);
apiAppointmentCheckService
.
checkCustomerAndFna
(
request
.
getApiAppointmentInfoDto
(),
"预约信息-"
);
...
@@ -1175,6 +1178,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
...
@@ -1175,6 +1178,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
* @return
* @return
*/
*/
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
editStatus
(
ApiAppointmentEditStatusRequest
request
)
{
public
Result
editStatus
(
ApiAppointmentEditStatusRequest
request
)
{
//校验预约信息是否存在
//校验预约信息是否存在
Result
<
Appointment
>
result
=
checkAppointmentIsExist
(
request
.
getAppointmentBizId
());
Result
<
Appointment
>
result
=
checkAppointmentIsExist
(
request
.
getAppointmentBizId
());
...
@@ -1196,6 +1200,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
...
@@ -1196,6 +1200,7 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
* 取消预约-更新新单跟进状态为取消预约
* 取消预约-更新新单跟进状态为取消预约
* @return
* @return
*/
*/
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Result
editFollowStatus
(
String
appointmentBizId
)
{
public
Result
editFollowStatus
(
String
appointmentBizId
)
{
List
<
PolicyFollow
>
followList
=
policyFollowService
.
queryListByAppointmentBizId
(
appointmentBizId
);
List
<
PolicyFollow
>
followList
=
policyFollowService
.
queryListByAppointmentBizId
(
appointmentBizId
);
if
(!
CollectionUtils
.
isEmpty
(
followList
))
{
if
(!
CollectionUtils
.
isEmpty
(
followList
))
{
...
...
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