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
44b77d97
Commit
44b77d97
authored
Oct 20, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/test' into dev_zxm_wx
parents
bea3beae
1a74b177
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentFileServiceImpl.java
+8
-0
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CustomerServiceImpl.java
+0
-4
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiAppointmentFileServiceImpl.java
View file @
44b77d97
...
...
@@ -7,6 +7,7 @@ import com.yd.auth.core.dto.AuthUserDto;
import
com.yd.auth.core.utils.SecurityUtil
;
import
com.yd.common.constant.RedisConstants
;
import
com.yd.common.enums.CommonEnum
;
import
com.yd.common.enums.DictTypeEnum
;
import
com.yd.common.exception.BusinessException
;
import
com.yd.common.result.Result
;
import
com.yd.common.utils.BeanMapUtils
;
...
...
@@ -183,8 +184,15 @@ public class ApiAppointmentFileServiceImpl implements ApiAppointmentFileService
@Override
public
Result
<
String
>
itineraryPdf
(
String
appointmentBizId
)
{
String
url
=
""
;
//查询redis缓存的字典列表信息
List
<
GetDictItemListByDictTypeResponse
>
dictTypeResponses
=
redisUtil
.
getCacheObject
(
RedisConstants
.
DICT_LIST
);
//获取行程单的数据
ItineraryDto
itineraryDto
=
iAppointmentService
.
getItineraryDto
(
appointmentBizId
);
if
(!
Objects
.
isNull
(
itineraryDto
))
{
//会面地点
itineraryDto
.
setMeetingPoint
(
GetDictItemListByDictTypeResponse
.
getItemLabel
(
dictTypeResponses
,
DictTypeEnum
.
CSF_AP_MEETING_POINT
.
getItemValue
(),
itineraryDto
.
getMeetingPoint
()));
}
ApiGeneratePdfRequest
request
=
new
ApiGeneratePdfRequest
();
request
.
setDataObject
(
itineraryDto
);
request
.
setObjectId
(
appointmentBizId
);
...
...
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CustomerServiceImpl.java
View file @
44b77d97
...
...
@@ -211,10 +211,6 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer>
if
(
StringUtils
.
isBlank
(
age
))
{
throw
new
BusinessException
(
ErrorCode
.
PARAMS_ERROR
.
getCode
(),
"年龄不能为空"
);
}
String
companyType
=
customer
.
getCompanyType
();
if
(
StringUtils
.
isBlank
(
companyType
))
{
throw
new
BusinessException
(
ErrorCode
.
PARAMS_ERROR
.
getCode
(),
"行业不能为空"
);
}
Object
marriage
=
customer
.
getMarriage
();
if
(
marriage
==
null
)
{
throw
new
BusinessException
(
ErrorCode
.
PARAMS_ERROR
.
getCode
(),
"婚姻状况不能为空"
);
...
...
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