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 c5f07063
authored
Apr 01, 2026
by
叶立庆
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v5.7.0' into 'master'
上线合并 See merge request
!3
2 parents
d3bd0ff8
d23efab8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
4 deletions
rpc-dj-strategy-api/pom.xml
rpc-dj-strategy-api/src/main/java/cn/com/glsx/dj/strategy/enums/StrategyTypeEnum.java
rpc-dj-strategy/pom.xml
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/service/StrategyDetailService.java
rpc-dj-strategy/src/main/resources/META-INF/orm/StrategyInfoMapper.xml
rpc-dj-strategy-api/pom.xml
View file @
c5f0706
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
</parent>
</parent>
<groupId>
cn.com.glsx.dj.strategy
</groupId>
<groupId>
cn.com.glsx.dj.strategy
</groupId>
<artifactId>
rpc-dj-strategy-api
</artifactId>
<artifactId>
rpc-dj-strategy-api
</artifactId>
<version>
5.
6
.0-SNAPSHOT
</version>
<version>
5.
7
.0-SNAPSHOT
</version>
<name>
rpc-dj-strategy-api
</name>
<name>
rpc-dj-strategy-api
</name>
<properties>
<properties>
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<dependency>
<dependency>
<groupId>
cn.com.glsx.dj.strategy
</groupId>
<groupId>
cn.com.glsx.dj.strategy
</groupId>
<artifactId>
rpc-dj-strategy-api
</artifactId>
<artifactId>
rpc-dj-strategy-api
</artifactId>
<version>
5.6.0-SNAPSHOT
</version>
<version>
${project.version}
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
</plugin>
</plugin>
...
...
rpc-dj-strategy-api/src/main/java/cn/com/glsx/dj/strategy/enums/StrategyTypeEnum.java
View file @
c5f0706
...
@@ -34,7 +34,11 @@ public enum StrategyTypeEnum {
...
@@ -34,7 +34,11 @@ public enum StrategyTypeEnum {
/**
/**
* 最终盘点
* 最终盘点
*/
*/
FINAL_INVENTORY
(
6
,
"最终盘点与低客单产品购入"
)
FINAL_INVENTORY
(
6
,
"最终盘点与低客单产品购入"
),
/**
* BI-门店留言
*/
BI_COMMENT
(
7
,
"留言"
)
;
;
private
Integer
value
;
private
Integer
value
;
...
...
rpc-dj-strategy/pom.xml
View file @
c5f0706
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
<dependency>
<dependency>
<groupId>
cn.com.glsx.dj.strategy
</groupId>
<groupId>
cn.com.glsx.dj.strategy
</groupId>
<artifactId>
rpc-dj-strategy-api
</artifactId>
<artifactId>
rpc-dj-strategy-api
</artifactId>
<version>
5.
6
.0-SNAPSHOT
</version>
<version>
5.
7
.0-SNAPSHOT
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.oreframework.boot
</groupId>
<groupId>
org.oreframework.boot
</groupId>
...
...
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/service/StrategyDetailService.java
View file @
c5f0706
...
@@ -67,6 +67,7 @@ public class StrategyDetailService {
...
@@ -67,6 +67,7 @@ public class StrategyDetailService {
* 记录型策略
* 记录型策略
*/
*/
private
final
List
<
StrategyTypeEnum
>
recordStrategy
=
Lists
.
newArrayList
(
private
final
List
<
StrategyTypeEnum
>
recordStrategy
=
Lists
.
newArrayList
(
StrategyTypeEnum
.
BI_COMMENT
,
StrategyTypeEnum
.
MENTORING
,
StrategyTypeEnum
.
MENTORING
,
StrategyTypeEnum
.
FINAL_INVENTORY
,
StrategyTypeEnum
.
FINAL_INVENTORY
,
StrategyTypeEnum
.
POWERFUL_PROMOTION
,
StrategyTypeEnum
.
POWERFUL_PROMOTION
,
...
@@ -98,6 +99,7 @@ public class StrategyDetailService {
...
@@ -98,6 +99,7 @@ public class StrategyDetailService {
// 这里只处理记录和任务型
// 这里只处理记录和任务型
if
(
recordStrategy
.
contains
(
strategyByValue
))
{
if
(
recordStrategy
.
contains
(
strategyByValue
))
{
switch
(
strategyByValue
)
{
switch
(
strategyByValue
)
{
case
BI_COMMENT:
case
MENTORING:
case
MENTORING:
case
SALE_ELITE_TO_STORE_PULL:
case
SALE_ELITE_TO_STORE_PULL:
Example
strategyStaffRelExample
=
new
Example
(
StrategyStaffRel
.
class
);
Example
strategyStaffRelExample
=
new
Example
(
StrategyStaffRel
.
class
);
...
...
rpc-dj-strategy/src/main/resources/META-INF/orm/StrategyInfoMapper.xml
View file @
c5f0706
...
@@ -76,6 +76,7 @@
...
@@ -76,6 +76,7 @@
count(distinct merchant_id) merchantCount
count(distinct merchant_id) merchantCount
from dj_car_life_strategy_info
from dj_car_life_strategy_info
where deleted_flag = 'N'
where deleted_flag = 'N'
and strategy_type != 7
<if
test=
"businessType != null"
>
<if
test=
"businessType != null"
>
AND biz = #{businessType}
AND biz = #{businessType}
</if>
</if>
...
@@ -91,6 +92,7 @@
...
@@ -91,6 +92,7 @@
count(*) strategyCount
count(*) strategyCount
from dj_car_life_strategy_info
from dj_car_life_strategy_info
where deleted_flag = 'N'
where deleted_flag = 'N'
and strategy_type != 7
<if
test=
"businessType != null and businessType != ''"
>
<if
test=
"businessType != null and businessType != ''"
>
AND biz = #{businessType}
AND biz = #{businessType}
</if>
</if>
...
@@ -111,6 +113,7 @@
...
@@ -111,6 +113,7 @@
count(distinct merchant_id) storeCount
count(distinct merchant_id) storeCount
from dj_car_life_strategy_info
from dj_car_life_strategy_info
where deleted_flag = 'N'
where deleted_flag = 'N'
and strategy_type != 7
<if
test=
"businessType != null and businessType != ''"
>
<if
test=
"businessType != null and businessType != ''"
>
AND biz = #{businessType}
AND biz = #{businessType}
</if>
</if>
...
@@ -141,6 +144,7 @@
...
@@ -141,6 +144,7 @@
strategy_type strategyType
strategy_type strategyType
from dj_car_life_strategy_info
from dj_car_life_strategy_info
where deleted_flag = 'N'
where deleted_flag = 'N'
and strategy_type != 7
<if
test=
"businessType != null and businessType != ''"
>
<if
test=
"businessType != null and businessType != ''"
>
AND biz = #{businessType}
AND biz = #{businessType}
</if>
</if>
...
...
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