Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-api-boot-master
Commits
a3e4f961
Commit
a3e4f961
authored
Jan 02, 2025
by
Smile
Committed by
wux
Jan 02, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:控货收货人自动创建客户需求变动
parent
8f0023af
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
5 deletions
+17
-5
CustomerApiImpl.java
...er/yudao/module/customer/service/api/CustomerApiImpl.java
+6
-3
CustomerCreateReqVO.java
...o/module/customer/vo/customer/vo/CustomerCreateReqVO.java
+9
-0
CustomerMapper.xml
...ore/src/main/resources/mapper/customer/CustomerMapper.xml
+2
-2
No files found.
yudao-module-customer/yudao-module-customer-core/src/main/java/cn/iocoder/yudao/module/customer/service/api/CustomerApiImpl.java
View file @
a3e4f961
...
...
@@ -122,9 +122,12 @@ public class CustomerApiImpl implements CustomerApi {
//注册会员是公司资源
customerCreateReqVO
.
setResourceType
(
2
);
//线索客户
customerCreateReqVO
.
setStatus
(
CustomerStatusEnum
.
CLUE
.
getValue
());
//业绩类型为老客户
customerCreateReqVO
.
setIsNew
(
false
);
//设置手挡时间为当前时间
customerCreateReqVO
.
setFirstDealTime
(
new
Date
());
//成交客户
customerCreateReqVO
.
setStatus
(
CustomerStatusEnum
.
DEAL
.
getValue
());
//更新 状态更新时间
customerCreateReqVO
.
setStatusUpdateTime
(
new
Date
());
//注册时自动创建
...
...
yudao-module-customer/yudao-module-customer-core/src/main/java/cn/iocoder/yudao/module/customer/vo/customer/vo/CustomerCreateReqVO.java
View file @
a3e4f961
...
...
@@ -3,6 +3,7 @@ package cn.iocoder.yudao.module.customer.vo.customer.vo;
import
cn.iocoder.yudao.module.customer.vo.customer.customerContacts.CustomerContactsCreateReqVO
;
import
cn.iocoder.yudao.module.customer.vo.customer.line.CustomerLineCreateReqVO
;
import
cn.iocoder.yudao.module.customer.vo.customerBank.CustomerBankCreateReqVO
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonIgnore
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
...
...
@@ -15,6 +16,9 @@ import java.math.BigDecimal;
import
java.util.Date
;
import
java.util.List
;
import
static
cn
.
iocoder
.
yudao
.
framework
.
common
.
util
.
date
.
DateUtils
.
FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND
;
import
static
cn
.
iocoder
.
yudao
.
framework
.
common
.
util
.
date
.
DateUtils
.
TIME_ZONE_DEFAULT
;
@ApiModel
(
"管理后台 - 客户创建 Request VO"
)
@Data
...
...
@@ -240,5 +244,10 @@ public class CustomerCreateReqVO extends CustomerBaseVO {
*/
private
Boolean
isPotential
=
false
;
@ApiModelProperty
(
value
=
"首次成交时间"
)
@JsonFormat
(
pattern
=
FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND
,
timezone
=
TIME_ZONE_DEFAULT
)
private
Date
firstDealTime
;
}
yudao-module-customer/yudao-module-customer-core/src/main/resources/mapper/customer/CustomerMapper.xml
View file @
a3e4f961
...
...
@@ -45,7 +45,7 @@
<result
column=
"enquiry_info"
jdbcType=
"VARCHAR"
property=
"enquiryInfo"
/>
<result
column=
"is_in_open_sea"
jdbcType=
"INTEGER"
property=
"isInOpenSea"
/>
<result
column=
"enter_open_sea_time"
jdbcType=
"DATE"
property=
"enterOpenSeaTime"
/>
<result
column=
"estimate_enter_open_sea_time"
jdbcType=
"
DATE
"
property=
"estimateEnterOpenSeaTime"
/>
<result
column=
"estimate_enter_open_sea_time"
jdbcType=
"
TIMESTAMP
"
property=
"estimateEnterOpenSeaTime"
/>
<result
column=
"catch_time"
jdbcType=
"DATE"
property=
"catchTime"
/>
<result
column=
"is_show_tidan_price"
jdbcType=
"INTEGER"
property=
"isShowTidanPrice"
/>
<result
column=
"vip_level_score"
jdbcType=
"BIGINT"
property=
"vipLevelScore"
/>
...
...
@@ -64,7 +64,7 @@
<result
column=
"is_potential"
jdbcType=
"INTEGER"
property=
"isPotential"
/>
<result
column=
"default_pay"
jdbcType=
"BIT"
property=
"defaultPay"
/>
<result
column=
"no_consignee"
jdbcType=
"BIT"
property=
"noConsignee"
/>
<result
column=
"first_deal_time"
jdbcType=
"
DATE
"
property=
"firstDealTime"
/>
<result
column=
"first_deal_time"
jdbcType=
"
TIMESTAMP
"
property=
"firstDealTime"
/>
<result
column=
"get_method"
jdbcType=
"INTEGER"
property=
"getMethod"
/>
<result
column=
"create_from"
jdbcType=
"INTEGER"
property=
"createFrom"
/>
<result
column=
"customer_service_confirmed_time"
jdbcType=
"DATE"
property=
"customerServiceConfirmedTime"
/>
...
...
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