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
02c5344b
Commit
02c5344b
authored
Sep 08, 2025
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fna接口7
parent
ea6e4130
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
yd-csf-service/src/main/java/com/yd/csf/service/model/CustomerExpand.java
+4
-4
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CustomerServiceImpl.java
+4
-4
yd-csf-service/src/main/java/com/yd/csf/service/vo/AddressVO.java
+2
-0
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/model/CustomerExpand.java
View file @
02c5344b
...
...
@@ -57,22 +57,22 @@ public class CustomerExpand implements Serializable {
/**
* 居住地址
*/
private
AddressVO
residenceAddress
;
private
String
residenceAddress
;
/**
* 住宅地址
*/
private
AddressVO
residentialAddress
;
private
String
residentialAddress
;
/**
* 邮寄地址
*/
private
AddressVO
mailingAddress
;
private
String
mailingAddress
;
/**
* 公司地址
*/
private
AddressVO
companyAddress
;
private
String
companyAddress
;
/**
* 公司名称
...
...
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CustomerServiceImpl.java
View file @
02c5344b
...
...
@@ -57,19 +57,19 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer>
BeanUtils
.
copyProperties
(
customerAddRequest
,
customerExpand
);
AddressVO
residenceAddress
=
customerAddRequest
.
getResidenceAddress
();
if
(
residenceAddress
!=
null
)
{
customerExpand
.
setResidenceAddress
(
residenceAddress
);
customerExpand
.
setResidenceAddress
(
residenceAddress
.
toString
()
);
}
AddressVO
residentialAddress
=
customerAddRequest
.
getResidentialAddress
();
if
(
residentialAddress
!=
null
)
{
customerExpand
.
setResidentialAddress
(
residentialAddress
);
customerExpand
.
setResidentialAddress
(
residentialAddress
.
toString
()
);
}
AddressVO
mailingAddress
=
customerAddRequest
.
getMailingAddress
();
if
(
mailingAddress
!=
null
)
{
customerExpand
.
setMailingAddress
(
mailingAddress
);
customerExpand
.
setMailingAddress
(
mailingAddress
.
toString
()
);
}
AddressVO
companyAddress
=
customerAddRequest
.
getCompanyAddress
();
if
(
companyAddress
!=
null
)
{
customerExpand
.
setCompanyAddress
(
companyAddress
);
customerExpand
.
setCompanyAddress
(
companyAddress
.
toString
()
);
}
return
customerExpand
;
}
...
...
yd-csf-service/src/main/java/com/yd/csf/service/vo/AddressVO.java
View file @
02c5344b
...
...
@@ -2,10 +2,12 @@ package com.yd.csf.service.vo;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.ToString
;
import
java.io.Serializable
;
@Data
@ToString
@Schema
(
description
=
"地址 residenceAddress-居住地址、residentialAddress-住宅地址、mailingAddress-邮寄地址、companyAddress-公司地址"
)
public
class
AddressVO
implements
Serializable
{
...
...
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