Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
platform
/
platform-process-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2422a6e6
authored
Sep 27, 2023
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
指定服务注册发现分组
1 parent
8bc55a60
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
platform-process/src/main/java/cn/com/glsx/process/modules/service/SopInstService.java
platform-process/src/main/resources/bootstrap.properties
platform-process/src/main/java/cn/com/glsx/process/modules/service/SopInstService.java
View file @
2422a6e
...
@@ -380,7 +380,7 @@ public class SopInstService {
...
@@ -380,7 +380,7 @@ public class SopInstService {
request
.
setSopFollowUpPersonPhone
(
search
.
getSopFollowUpPersonPhone
());
request
.
setSopFollowUpPersonPhone
(
search
.
getSopFollowUpPersonPhone
());
request
.
setSopJourneyEnterTimeBegin
(
search
.
getSopJourneyEnterTimeBegin
());
request
.
setSopJourneyEnterTimeBegin
(
search
.
getSopJourneyEnterTimeBegin
());
request
.
setSopJourneyEnterTimeEnd
(
search
.
getSopJourneyEnterTimeEnd
());
request
.
setSopJourneyEnterTimeEnd
(
search
.
getSopJourneyEnterTimeEnd
());
return
customerSopJourneyFeignClient
T
.
pageCustomerSopJourney
(
request
);
return
customerSopJourneyFeignClient
.
pageCustomerSopJourney
(
request
);
}
}
/**
/**
...
@@ -390,12 +390,11 @@ public class SopInstService {
...
@@ -390,12 +390,11 @@ public class SopInstService {
* @return
* @return
*/
*/
public
Result
<
CustomerSopJourneyDetailDTO
>
customerDetail
(
SopCustomerSearch
search
)
{
public
Result
<
CustomerSopJourneyDetailDTO
>
customerDetail
(
SopCustomerSearch
search
)
{
return
customerSopJourneyFeignClient
T
.
detail
(
search
.
getOrgId
(),
search
.
getSopJourneyId
(),
search
.
getOneId
());
return
customerSopJourneyFeignClient
.
detail
(
search
.
getOrgId
(),
search
.
getSopJourneyId
(),
search
.
getOneId
());
}
}
/**
/**
* 单个更新旅程客户阶段
* 单个更新旅程客户阶段
* TODO 增加mq消息发送给cdp
*
*
* @param body
* @param body
* @return
* @return
...
@@ -404,7 +403,7 @@ public class SopInstService {
...
@@ -404,7 +403,7 @@ public class SopInstService {
String
orgId
=
body
.
getOrgId
();
String
orgId
=
body
.
getOrgId
();
String
sopJourneyId
=
body
.
getSopJourneyId
();
String
sopJourneyId
=
body
.
getSopJourneyId
();
String
oneId
=
body
.
getOneId
();
String
oneId
=
body
.
getOneId
();
Result
<
CustomerSopJourneyDetailDTO
>
detail
=
customerSopJourneyFeignClient
T
.
detail
(
orgId
,
sopJourneyId
,
oneId
);
Result
<
CustomerSopJourneyDetailDTO
>
detail
=
customerSopJourneyFeignClient
.
detail
(
orgId
,
sopJourneyId
,
oneId
);
if
(!
SysConstants
.
ResultStatus
.
success
.
getCode
().
equals
(
detail
.
getCode
()))
{
if
(!
SysConstants
.
ResultStatus
.
success
.
getCode
().
equals
(
detail
.
getCode
()))
{
throw
ResultException
.
create
(
SystemMessage
.
ARGS_ERROR
.
getCode
(),
"查询客户信息异常"
);
throw
ResultException
.
create
(
SystemMessage
.
ARGS_ERROR
.
getCode
(),
"查询客户信息异常"
);
}
}
...
@@ -420,7 +419,7 @@ public class SopInstService {
...
@@ -420,7 +419,7 @@ public class SopInstService {
request
.
setOneIds
(
Lists
.
newArrayList
(
oneId
));
request
.
setOneIds
(
Lists
.
newArrayList
(
oneId
));
request
.
setSopJourneyStage
(
body
.
getSopJourneyStage
());
request
.
setSopJourneyStage
(
body
.
getSopJourneyStage
());
request
.
setOprBy
(
body
.
getOprBy
());
request
.
setOprBy
(
body
.
getOprBy
());
Result
<
Boolean
>
booleanResult
=
customerSopJourneyFeignClient
T
.
modifyStage
(
request
);
Result
<
Boolean
>
booleanResult
=
customerSopJourneyFeignClient
.
modifyStage
(
request
);
Date
now
=
new
Date
();
Date
now
=
new
Date
();
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
...
...
platform-process/src/main/resources/bootstrap.properties
View file @
2422a6e
...
@@ -15,6 +15,8 @@ spring.cloud.nacos.config.group=platform
...
@@ -15,6 +15,8 @@ spring.cloud.nacos.config.group=platform
spring.cloud.nacos.config.prefix
=
${spring.application.name}
spring.cloud.nacos.config.prefix
=
${spring.application.name}
spring.profiles.active
=
dev
spring.profiles.active
=
dev
spring.cloud.nacos.config.file-
extension
=
properties
spring.cloud.nacos.config.file-
extension
=
properties
#???????????????????????
spring.cloud.nacos.discovery.group
=
platform
spring.cloud.nacos.config.shared-configs[0].data-
id
=
platform-microservice-share.properties
spring.cloud.nacos.config.shared-configs[0].data-
id
=
platform-microservice-share.properties
spring.cloud.nacos.config.shared-configs[0]
.group
=
${spring.cloud.nacos.config.group}
spring.cloud.nacos.config.shared-configs[0]
.group
=
${spring.cloud.nacos.config.group}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment