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

Commit 5a5e3664 authored by 胡佳晨's avatar 胡佳晨

提交 票种下架 bug

parent 755fd4a6
...@@ -138,12 +138,17 @@ public class PerformanceVoUtils { ...@@ -138,12 +138,17 @@ public class PerformanceVoUtils {
} }
} }
if(kylinTicketVoItem.getStatus()==7){
status = 7;
}
//修改票状态 //修改票状态
KylinTicketStatus changeStatus = new KylinTicketStatus(); KylinTicketStatus changeStatus = new KylinTicketStatus();
changeStatus.setStatus(status); changeStatus.setStatus(status);
if (surplusGeneral != -1) { if (surplusGeneral != -1) {
changeStatus.setSurplusGeneral(surplusGeneral); changeStatus.setSurplusGeneral(surplusGeneral);
} }
ticketStatusMapper.update(changeStatus, new UpdateWrapper<KylinTicketStatus>().eq("ticket_id", kylinTicketVoItem.getTicketsId())); ticketStatusMapper.update(changeStatus, new UpdateWrapper<KylinTicketStatus>().eq("ticket_id", kylinTicketVoItem.getTicketsId()));
kylinTicketVoItem.setStatus(status); kylinTicketVoItem.setStatus(status);
...@@ -159,6 +164,11 @@ public class PerformanceVoUtils { ...@@ -159,6 +164,11 @@ public class PerformanceVoUtils {
} }
} }
} }
if(vo.getAppStatus()==7){
appStatus=7;
}
//修改演出状态 //修改演出状态
KylinPerformanceStatus changeStatus = new KylinPerformanceStatus(); KylinPerformanceStatus changeStatus = new KylinPerformanceStatus();
changeStatus.setStatus(appStatus); changeStatus.setStatus(appStatus);
......
...@@ -187,7 +187,7 @@ public class DataImpl { ...@@ -187,7 +187,7 @@ public class DataImpl {
performancePartnerVo.setTimeStart(DateUtil.Formatter.yyyyMMddHHmmss.format(performances.getTimeStart())); performancePartnerVo.setTimeStart(DateUtil.Formatter.yyyyMMddHHmmss.format(performances.getTimeStart()));
performancePartnerVo.setTimeEnd(DateUtil.Formatter.yyyyMMddHHmmss.format(performances.getTimeEnd())); performancePartnerVo.setTimeEnd(DateUtil.Formatter.yyyyMMddHHmmss.format(performances.getTimeEnd()));
performancePartnerVo.setFieldId(performanceRelations.getFieldId()); performancePartnerVo.setFieldId(performanceRelations.getFieldId());
// performancePartnerVo.setFieldName(performances.getFieldName()); performancePartnerVo.setFieldName((String) redisUtil.hget(KylinRedisConst.FIELDS + ":" + orderTicketRelations.getPerformanceId(), "name"));
performancePartnerVo.setNotice(performances.getNotice()); performancePartnerVo.setNotice(performances.getNotice());
performancePartnerVo.setSponsorId(performances.getSponsorId()); performancePartnerVo.setSponsorId(performances.getSponsorId());
performancePartnerVo.setSponsorType(performances.getSponsorType()); performancePartnerVo.setSponsorType(performances.getSponsorType());
......
...@@ -146,6 +146,10 @@ public class PerformanceVoTask { ...@@ -146,6 +146,10 @@ public class PerformanceVoTask {
} }
} }
if(kylinTicketVoItem.getStatus()==7){
status = 7;
}
//修改票状态 //修改票状态
KylinTicketStatus changeStatus = new KylinTicketStatus(); KylinTicketStatus changeStatus = new KylinTicketStatus();
changeStatus.setStatus(status); changeStatus.setStatus(status);
......
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