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 465f7959
authored
Jan 21, 2026
by
春觉晓
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
策略中心,优化门店时间线统计
1 parent
a51f5733
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
rpc-dj-strategy-api/src/main/java/cn/com/glsx/dj/strategy/model/StrategyInfo.java
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/service/StrategyMerchantTimelineService.java
rpc-dj-strategy-api/src/main/java/cn/com/glsx/dj/strategy/model/StrategyInfo.java
View file @
465f795
...
@@ -23,10 +23,10 @@ public class StrategyInfo implements Serializable {
...
@@ -23,10 +23,10 @@ public class StrategyInfo implements Serializable {
/**
/**
* 执行策略类型,0-学习类,1-优秀录音分享类,3-任务型
* 执行策略类型,0-学习类,1-优秀录音分享类,3-任务型
* * 2-带教、4-销售精英到店提拉、5-强力促销、6-最终盘点
,7-
低客单产品购入;
* * 2-带教、4-销售精英到店提拉、5-强力促销、6-最终盘点
与
低客单产品购入;
* @see StrategyTypeEnum
* @see StrategyTypeEnum
*/
*/
@ApiModelProperty
(
notes
=
"执行策略类型,0-学习类,1-优秀录音分享类,3-任务型, 2-带教、4-销售精英到店提拉、5-强力促销、6-最终盘点
,7-
低客单产品购入;"
,
required
=
true
)
@ApiModelProperty
(
notes
=
"执行策略类型,0-学习类,1-优秀录音分享类,3-任务型, 2-带教、4-销售精英到店提拉、5-强力促销、6-最终盘点
与
低客单产品购入;"
,
required
=
true
)
@Column
(
name
=
"strategy_type"
)
@Column
(
name
=
"strategy_type"
)
private
Integer
strategyType
;
private
Integer
strategyType
;
/**
/**
...
...
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/service/StrategyMerchantTimelineService.java
View file @
465f795
...
@@ -25,6 +25,7 @@ import cn.hutool.core.date.DateUtil;
...
@@ -25,6 +25,7 @@ import cn.hutool.core.date.DateUtil;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections4.CollectionUtils
;
import
org.apache.commons.collections4.CollectionUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.oreframework.distribute.lock.annotation.GlsxDistributeLockable
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.core.env.Environment
;
import
org.springframework.core.env.Environment
;
...
@@ -161,6 +162,7 @@ public class StrategyMerchantTimelineService {
...
@@ -161,6 +162,7 @@ public class StrategyMerchantTimelineService {
* @param request
* @param request
* @return
* @return
*/
*/
@GlsxDistributeLockable
(
name
=
"'StrategyMerchantTimelineService_node_'+#request.merchantId"
,
timeoutException
=
RpcServiceException
.
class
)
public
MerchantBusinessOverview
listStrategyMerchantTimeline
(
MerchantBusinessInfo
request
)
{
public
MerchantBusinessOverview
listStrategyMerchantTimeline
(
MerchantBusinessInfo
request
)
{
//根据门店/场景查询时间线
//根据门店/场景查询时间线
List
<
StrategyMerchantTimeline
>
dbLines
=
searchMerchantTimeLine
(
request
);
List
<
StrategyMerchantTimeline
>
dbLines
=
searchMerchantTimeLine
(
request
);
...
@@ -418,6 +420,7 @@ public class StrategyMerchantTimelineService {
...
@@ -418,6 +420,7 @@ public class StrategyMerchantTimelineService {
* @param request
* @param request
* @return
* @return
*/
*/
@GlsxDistributeLockable
(
name
=
"'StrategyMerchantTimelineService_node_'+#request.merchantId"
,
timeoutException
=
Exception
.
class
)
@Transactional
(
propagation
=
Propagation
.
REQUIRED
,
rollbackFor
=
Exception
.
class
)
@Transactional
(
propagation
=
Propagation
.
REQUIRED
,
rollbackFor
=
Exception
.
class
)
public
Boolean
stopMerchantBusiness
(
MerchantBusinessInfo
request
)
{
public
Boolean
stopMerchantBusiness
(
MerchantBusinessInfo
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