Commit c5f07063 by 叶立庆

Merge branch 'v5.7.0' into 'master'

上线合并

See merge request !3
2 parents d3bd0ff8 d23efab8
...@@ -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>
......
...@@ -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;
......
...@@ -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>
......
...@@ -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);
......
...@@ -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>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!