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
ea6e4130
Commit
ea6e4130
authored
Sep 08, 2025
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fna接口6
parent
55bb4b50
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
17 deletions
+29
-17
yd-csf-service/src/main/java/com/yd/csf/service/dto/CustomerAddRequest.java
+0
-4
yd-csf-service/src/main/java/com/yd/csf/service/model/CustomerExpand.java
+6
-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
+1
-0
yd-csf-service/src/main/java/com/yd/csf/service/vo/CustomerExpandVO.java
+18
-4
yd-csf-service/src/main/java/com/yd/csf/service/vo/CustomerVO.java
+0
-1
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/dto/CustomerAddRequest.java
View file @
ea6e4130
...
...
@@ -211,25 +211,21 @@ public class CustomerAddRequest implements Serializable {
/**
* 居住地址
*/
@Schema
(
description
=
"居住地址"
)
private
AddressVO
residenceAddress
;
/**
* 住宅地址
*/
@Schema
(
description
=
"住宅地址"
)
private
AddressVO
residentialAddress
;
/**
* 邮寄地址
*/
@Schema
(
description
=
"邮寄地址"
)
private
AddressVO
mailingAddress
;
/**
* 公司地址
*/
@Schema
(
description
=
"公司地址"
)
private
AddressVO
companyAddress
;
/**
...
...
yd-csf-service/src/main/java/com/yd/csf/service/model/CustomerExpand.java
View file @
ea6e4130
...
...
@@ -7,6 +7,8 @@ import com.baomidou.mybatisplus.annotation.TableName;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
com.yd.csf.service.vo.AddressVO
;
import
lombok.Data
;
/**
...
...
@@ -55,22 +57,22 @@ public class CustomerExpand implements Serializable {
/**
* 居住地址
*/
private
Object
residenceAddress
;
private
AddressVO
residenceAddress
;
/**
* 住宅地址
*/
private
Object
residentialAddress
;
private
AddressVO
residentialAddress
;
/**
* 邮寄地址
*/
private
Object
mailingAddress
;
private
AddressVO
mailingAddress
;
/**
* 公司地址
*/
private
Object
companyAddress
;
private
AddressVO
companyAddress
;
/**
* 公司名称
...
...
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CustomerServiceImpl.java
View file @
ea6e4130
...
...
@@ -57,19 +57,19 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer>
BeanUtils
.
copyProperties
(
customerAddRequest
,
customerExpand
);
AddressVO
residenceAddress
=
customerAddRequest
.
getResidenceAddress
();
if
(
residenceAddress
!=
null
)
{
customerExpand
.
setResidenceAddress
(
GSON
.
toJson
(
residenceAddress
)
);
customerExpand
.
setResidenceAddress
(
residenceAddress
);
}
AddressVO
residentialAddress
=
customerAddRequest
.
getResidentialAddress
();
if
(
residentialAddress
!=
null
)
{
customerExpand
.
setResidentialAddress
(
GSON
.
toJson
(
residentialAddress
)
);
customerExpand
.
setResidentialAddress
(
residentialAddress
);
}
AddressVO
mailingAddress
=
customerAddRequest
.
getMailingAddress
();
if
(
mailingAddress
!=
null
)
{
customerExpand
.
setMailingAddress
(
GSON
.
toJson
(
mailingAddress
)
);
customerExpand
.
setMailingAddress
(
mailingAddress
);
}
AddressVO
companyAddress
=
customerAddRequest
.
getCompanyAddress
();
if
(
companyAddress
!=
null
)
{
customerExpand
.
setCompanyAddress
(
GSON
.
toJson
(
companyAddress
)
);
customerExpand
.
setCompanyAddress
(
companyAddress
);
}
return
customerExpand
;
}
...
...
yd-csf-service/src/main/java/com/yd/csf/service/vo/AddressVO.java
View file @
ea6e4130
...
...
@@ -6,6 +6,7 @@ import lombok.Data;
import
java.io.Serializable
;
@Data
@Schema
(
description
=
"地址 residenceAddress-居住地址、residentialAddress-住宅地址、mailingAddress-邮寄地址、companyAddress-公司地址"
)
public
class
AddressVO
implements
Serializable
{
@Schema
(
description
=
"区域"
)
...
...
yd-csf-service/src/main/java/com/yd/csf/service/vo/CustomerExpandVO.java
View file @
ea6e4130
package
com
.
yd
.
csf
.
service
.
vo
;
import
com.yd.csf.service.model.CustomerExpand
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
org.springframework.beans.BeanUtils
;
...
...
@@ -12,86 +13,99 @@ import java.math.BigDecimal;
*
*/
@Data
@Schema
(
description
=
"客户扩展信息"
)
public
class
CustomerExpandVO
implements
Serializable
{
/**
* 客户扩展信息唯一业务ID
*/
@Schema
(
description
=
"客户扩展信息唯一业务ID"
)
private
String
customerExpandBizId
;
/**
* 客户信息唯一标识(业务ID)
*/
@Schema
(
description
=
"客户信息唯一标识(业务ID)"
)
private
String
customerBizId
;
/**
* 客户类型
*/
@Schema
(
description
=
"客户类型"
)
private
Object
customerType
;
/**
* 居住地区代码
*/
@Schema
(
description
=
"居住地区代码"
)
private
String
residenceAreaCode
;
/**
* 住宅电话
*/
@Schema
(
description
=
"住宅电话"
)
private
String
residenceTelephone
;
/**
* 是否长期出国
*/
@Schema
(
description
=
"是否长期出国"
)
private
String
longtimeAbroad
;
/**
* 居住地址
*/
private
Object
residenceAddress
;
private
AddressVO
residenceAddress
;
/**
* 住宅地址
*/
private
Object
residentialAddress
;
private
AddressVO
residentialAddress
;
/**
* 邮寄地址
*/
private
Object
mailingAddress
;
private
AddressVO
mailingAddress
;
/**
* 公司地址
*/
private
Object
companyAddress
;
private
AddressVO
companyAddress
;
/**
* 公司名称
*/
@Schema
(
description
=
"公司名称"
)
private
String
companyName
;
/**
* 公司地区代码
*/
@Schema
(
description
=
"公司地区代码"
)
private
String
companyAreaCode
;
/**
* 公司电话
*/
@Schema
(
description
=
"公司电话"
)
private
String
companyTelephone
;
/**
* 职位
*/
@Schema
(
description
=
"职位"
)
private
String
position
;
/**
* 工作年限
*/
@Schema
(
description
=
"工作年限"
)
private
String
workYear
;
/**
* 薪资
*/
@Schema
(
description
=
"薪资"
)
private
BigDecimal
salary
;
/**
...
...
yd-csf-service/src/main/java/com/yd/csf/service/vo/CustomerVO.java
View file @
ea6e4130
...
...
@@ -204,7 +204,6 @@ public class CustomerVO implements Serializable {
/**
* 客户扩展信息
*/
@Schema
(
description
=
"客户扩展信息"
)
private
CustomerExpandVO
customerExpand
;
/**
...
...
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