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

Commit 2c670cdd authored by 胡佳晨's avatar 胡佳晨

暂时提交一部分

parent 2db5b680
...@@ -103,7 +103,7 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma ...@@ -103,7 +103,7 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma
@Override @Override
public KylinPerformanceMisVo performanceDetails(String performancesId) { public KylinPerformanceMisVo performanceDetails(String performancesId) {
log.info(" PERFORMANCE mis演出详情"); log.info(" PERFORMANCE mis演出详情");
KylinPerformanceMisVo createMisVo = performanceVoUtils.getPerformanceMisVo(performancesId,null); KylinPerformanceMisVo createMisVo = performanceVoUtils.getPerformanceMisVo(performancesId, null);
return createMisVo; return createMisVo;
} }
...@@ -170,7 +170,7 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma ...@@ -170,7 +170,7 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma
HashMap<String, Object> mapSql = new HashMap<>(); HashMap<String, Object> mapSql = new HashMap<>();
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")));
KylinPerformanceMisVo vo = performanceVoUtils.getPerformanceMisVo(performancesId,"0"); KylinPerformanceMisVo vo = performanceVoUtils.getPerformanceMisVo(performancesId, "0");
performanceVoUtils.updatePerformanceMySql(performancesId, mapSql, vo, updatedAt, auditStatus); performanceVoUtils.updatePerformanceMySql(performancesId, mapSql, vo, updatedAt, auditStatus);
// if (sqlStatus.getStatus() >= 6 && sqlStatus.getStatus() != 7) {//若 演出上 则 线判断状态 // if (sqlStatus.getStatus() >= 6 && sqlStatus.getStatus() != 7) {//若 演出上 则 线判断状态
performanceVoUtils.performanceVoStatus(performancesId); performanceVoUtils.performanceVoStatus(performancesId);
...@@ -211,6 +211,9 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma ...@@ -211,6 +211,9 @@ public class KylinPerformancesAdminServiceImpl extends ServiceImpl<KylinPerforma
//修改mongo //修改mongo
HashMap<String, Object> mapVo = new HashMap<>(); HashMap<String, Object> mapVo = new HashMap<>();
mapVo.put("rejectTxt", rejectTxt); mapVo.put("rejectTxt", rejectTxt);
if (statusData.getStatus() <= 2) {
mapVo.put("status", status);
}
mapVo.put("auditStatus", auditStatus); mapVo.put("auditStatus", auditStatus);
object = new BasicDBObject("$set", mongoConverter.convertToMongoType(mapVo)); object = new BasicDBObject("$set", mongoConverter.convertToMongoType(mapVo));
mongoTemplate.getCollection(KylinPerformanceVo.class.getSimpleName()).updateOne( mongoTemplate.getCollection(KylinPerformanceVo.class.getSimpleName()).updateOne(
......
...@@ -836,11 +836,13 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa ...@@ -836,11 +836,13 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa
} else if (vo.getAppStatus() == 4 || vo.getAppStatus() == 1) {//未通过审核 } else if (vo.getAppStatus() == 4 || vo.getAppStatus() == 1) {//未通过审核
performancePartnerVo.setAuditStatus(-1); performancePartnerVo.setAuditStatus(-1);
performancePartnerVo.setStatus(0); performancePartnerVo.setStatus(0);
performancePartnerVo.setFieldAuditStatus(0);
performanceVo.setAuditStatus(performancePartnerVo.getAuditStatus()); performanceVo.setAuditStatus(performancePartnerVo.getAuditStatus());
performanceVo.setAppStatus(performancePartnerVo.getStatus()); performanceVo.setAppStatus(performancePartnerVo.getStatus());
performanceVo.setFieldAuditStatus(0);
queueUtil.sendMsgByRedis(MQConst.SlimeQueue.SQL_SLIME_PERFORMANCE_UPDATE.getKey(), queueUtil.sendMsgByRedis(MQConst.SlimeQueue.SQL_SLIME_PERFORMANCE_UPDATE.getKey(),
SqlMapping.get("kylin_performances_status.withdraw2", SqlMapping.get("kylin_performances_status.withdraw2",
-1, 0, performancesId, now, now -1, 0, 0, performancesId, now, now
)); ));
} else { } else {
performancePartnerVo.setAuditStatus(2); performancePartnerVo.setAuditStatus(2);
......
...@@ -30,7 +30,7 @@ kylin_order_ticket_entities.update_status_bystation=UPDATE kylin_order_ticket_en ...@@ -30,7 +30,7 @@ kylin_order_ticket_entities.update_status_bystation=UPDATE kylin_order_ticket_en
# ---- 演出修改 ---- # ---- 演出修改 ----
kylin_performances.auditTime=UPDATE kylin_performances SET audit_time = ? WHERE performances_id = ? and (updated_at <= ? or created_at = ? or updated_at is null) kylin_performances.auditTime=UPDATE kylin_performances SET audit_time = ? WHERE performances_id = ? and (updated_at <= ? or created_at = ? or updated_at is null)
kylin_performances_status.withdraw=UPDATE kylin_performance_status SET audit_status = ? WHERE performance_id = ? and (updated_at <= ? or created_at = ? or updated_at is null) kylin_performances_status.withdraw=UPDATE kylin_performance_status SET audit_status = ? WHERE performance_id = ? and (updated_at <= ? or created_at = ? or updated_at is null)
kylin_performances_status.withdraw2=UPDATE kylin_performance_status SET audit_status = ? , status = ? WHERE performance_id = ? and (updated_at <= ? or created_at = ? or updated_at is null) kylin_performances_status.withdraw2=UPDATE kylin_performance_status SET audit_status = ? , field_audit_status = ?, status = ? WHERE performance_id = ? and (updated_at <= ? or created_at = ? or updated_at is null)
kylin_performances_status.outLine=UPDATE kylin_performance_status SET status = ? AND updated_at = ? WHERE performance_id = ? and (updated_at <= ? or created_at = ? or updated_at is null) kylin_performances_status.outLine=UPDATE kylin_performance_status SET status = ? AND updated_at = ? WHERE performance_id = ? and (updated_at <= ? or created_at = ? or updated_at is null)
kylin_performances_status.onLine=UPDATE kylin_performance_status SET status = ? AND updated_at = ? WHERE performance_id = ? and (updated_at <= ? or created_at = ? or updated_at is null) kylin_performances_status.onLine=UPDATE kylin_performance_status SET status = ? AND updated_at = ? WHERE performance_id = ? and (updated_at <= ? or created_at = ? or updated_at is null)
# ---- 票种状态修改 ---- # ---- 票种状态修改 ----
......
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