Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-dj-strategy
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 341c95e9
authored
Jan 27, 2026
by
春觉晓
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改时间线展示逻辑
1 parent
cb6743bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/service/StrategyMerchantTimelineService.java
rpc-dj-strategy/src/test/java/cn/com/glsx/dj/strategy/service/StrategyInfoServiceTest.java
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/service/StrategyMerchantTimelineService.java
View file @
341c95e
...
...
@@ -243,7 +243,7 @@ public class StrategyMerchantTimelineService {
//获取首次开单时间节点
StrategyMerchantTimeline
firstNode
=
newLines
.
stream
()
.
filter
(
line
->
line
.
getNodeType
().
equals
(
MerchantNodeTypeEnum
.
FORMAL_ORDER
.
getValue
()))
.
findFirst
().
get
(
);
.
findFirst
().
orElse
(
null
);
if
(
firstNode
!=
null
)
{
//存在首次开单时间才计算展业时间
Long
developmentDay
=
null
;
if
(
lastNode
.
getNodeType
().
equals
(
MerchantNodeTypeEnum
.
STOP_BUSINESS
.
getValue
()))
{
...
...
rpc-dj-strategy/src/test/java/cn/com/glsx/dj/strategy/service/StrategyInfoServiceTest.java
View file @
341c95e
...
...
@@ -96,7 +96,7 @@ public class StrategyInfoServiceTest extends BaseServiceTest {
@Test
public
void
testQueryStrategyMerchantTimelineList
()
{
MerchantBusinessInfo
request
=
new
MerchantBusinessInfo
();
request
.
setMerchantId
(
442116
77
);
request
.
setMerchantId
(
442116
40
);
request
.
setSceneType
(
SceneTypeEnum
.
SCENE1_0
.
getValue
());
request
.
setBizs
(
1
);
MerchantBusinessOverview
overview
=
strategyMerchantTimelineService
.
listStrategyMerchantTimeline
(
request
);
...
...
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