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

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

修改 admin 演出状态

parent 84b4d052
......@@ -161,12 +161,12 @@ public class PerformanceVoTask {
//演出状态
if (status == 6) {//单一票 可购买 则为可购买
appStatus = 6;
} else if (ticketCount == status10Count) {//全票结束 为结束
appStatus = 10;
} else if (ticketCount == status8Count) {//全票售罄为售罄
appStatus = 8;
} else if (ticketCount == status9Count) {//全票未开始 为未开始
appStatus = 9;
} else if (ticketCount == status10Count) {//全票结束 为结束
appStatus = 10;
}
}
}
......@@ -227,7 +227,7 @@ public class PerformanceVoTask {
kylinPerformanceMisVo.setAuditStatus(0);
return kylinPerformanceMisVo;
}catch (Exception e){
} catch (Exception e) {
e.printStackTrace();
return null;
}
......@@ -412,18 +412,19 @@ public class PerformanceVoTask {
if (exists2) {
return true;
}
for (KylinTicketPartnerVo ticketPartnerVo : times.getTicket()){
for (KylinTicketVo ticketVo : timesVo.getTicketList()){
if(ticketVo.getTicketsId().equals(ticketPartnerVo.getTicketsId())){
for (KylinTicketPartnerVo ticketPartnerVo : times.getTicket()) {
for (KylinTicketVo ticketVo : timesVo.getTicketList()) {
if (ticketVo.getTicketsId().equals(ticketPartnerVo.getTicketsId())) {
if (!ticketVo.getTitle().equals(ticketPartnerVo.getTitle())) {
return true;
}else if (!ticketVo.getQrCodeShowTime().equals(ticketPartnerVo.getQrCodeShowTime())) {
} else if (!ticketVo.getQrCodeShowTime().equals(ticketPartnerVo.getQrCodeShowTime())) {
return true;
}else if (!ticketVo.getDescribeElectronic().equals(ticketPartnerVo.getDescribeElectronic())) {
} else if (!ticketVo.getDescribeElectronic().equals(ticketPartnerVo.getDescribeElectronic())) {
return true;
}else if (!ticketVo.getDescribeExpress().equals(ticketPartnerVo.getDescribeExpress())) {
} else if (!ticketVo.getDescribeExpress().equals(ticketPartnerVo.getDescribeExpress())) {
return true;
}if (!ticketVo.getDescribes().equals(ticketPartnerVo.getDescribes())) {
}
if (!ticketVo.getDescribes().equals(ticketPartnerVo.getDescribes())) {
return true;
}
break;
......
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