记得上下班打卡 | git大法好,push需谨慎

Commit e39d3e83 authored by 胡佳晨's avatar 胡佳晨

提交 admin

parent fa2ff683
...@@ -62,6 +62,7 @@ spring: ...@@ -62,6 +62,7 @@ spring:
sslEnabled: false sslEnabled: false
database: dev_ln_scene database: dev_ln_scene
redis: redis:
database: 15
port: 6379 port: 6379
host: 39.106.122.201 host: 39.106.122.201
password: 3Xa%8p password: 3Xa%8p
...@@ -70,4 +71,4 @@ spring: ...@@ -70,4 +71,4 @@ spring:
max-active: 8 max-active: 8
max-wait: -1 max-wait: -1
max-idle: 8 max-idle: 8
min-idle: 0 min-idle: 0
\ No newline at end of file
...@@ -157,7 +157,6 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma ...@@ -157,7 +157,6 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma
mapSql.put("status", 9); mapSql.put("status", 9);
mapSql.put("updatedAt", updatedAt.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"))); mapSql.put("updatedAt", updatedAt.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")));
performanceVoUtils.updatePerformanceMySql(performancesId, mapSql, performanceVoUtils.getPerformanceMisVo(performancesId), updatedAt, auditStatus); performanceVoUtils.updatePerformanceMySql(performancesId, mapSql, performanceVoUtils.getPerformanceMisVo(performancesId), updatedAt, auditStatus);
dataUtils.updatePerformanceMongo(performancesId);
if (sqlStatus.getStatus() >= 6 && sqlStatus.getStatus()!=7) {//若 演出上 则 线判断状态 if (sqlStatus.getStatus() >= 6 && sqlStatus.getStatus()!=7) {//若 演出上 则 线判断状态
performanceVoUtils.performanceVoStatus(performancesId); performanceVoUtils.performanceVoStatus(performancesId);
} }
...@@ -467,7 +466,6 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma ...@@ -467,7 +466,6 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma
Query.query(Criteria.where("performancesId").is(performanceId).and("status").is(1)).getQueryObject(), Query.query(Criteria.where("performancesId").is(performanceId).and("status").is(1)).getQueryObject(),
object); object);
dataUtils.updatePerformanceMongo(performanceId);
performanceVoUtils.performanceVoStatus(performanceId); performanceVoUtils.performanceVoStatus(performanceId);
} else { } else {
HashMap<String, Object> map2 = new HashMap<>(); HashMap<String, Object> map2 = new HashMap<>();
......
...@@ -83,7 +83,7 @@ public class PerformanceVoUtils { ...@@ -83,7 +83,7 @@ public class PerformanceVoUtils {
List<String> performanceIdList = new ArrayList<>(); List<String> performanceIdList = new ArrayList<>();
if (performanceSingleId == null) { if (performanceSingleId == null) {
List<KylinPerformanceStatus> list = performanceStatusMapper.selectList(new UpdateWrapper<KylinPerformanceStatus>().gt("status", 6)); List<KylinPerformanceStatus> list = performanceStatusMapper.selectList(new UpdateWrapper<KylinPerformanceStatus>().in("status", 6,8,9));
for (KylinPerformanceStatus item : list) { for (KylinPerformanceStatus item : list) {
performanceIdList.add(item.getPerformanceId()); performanceIdList.add(item.getPerformanceId());
} }
......
...@@ -263,6 +263,7 @@ ...@@ -263,6 +263,7 @@
<dependency> <dependency>
<groupId>cn.hutool</groupId> <groupId>cn.hutool</groupId>
<artifactId>hutool-core</artifactId> <artifactId>hutool-core</artifactId>
<version>5.6.7</version>
</dependency> </dependency>
</dependencies> </dependencies>
<repositories> <repositories>
...@@ -290,4 +291,4 @@ ...@@ -290,4 +291,4 @@
</pluginRepository> </pluginRepository>
</pluginRepositories> </pluginRepositories>
</project> </project>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment