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

Commit 43a54251 authored by 胡佳晨's avatar 胡佳晨

演出上线接口修改

parent ba959939
......@@ -580,9 +580,13 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa
// 9, updatedAt, ticketItem.getTicketsId(),updatedAt,updatedAt
// });
KylinTicketPartnerVo ticketPartnerVo = KylinTicketPartnerVo.getNew();
if (ticketItem.getStatus() != 7) {
ticketItem.setStatus(9);
}
ticketPartnerVo.setTicketsId(ticketItem.getTicketsId());
if (ticketItem.getStatus() != 7) {
ticketPartnerVo.setStatus(9);
}
ticketPartnerVo.setUpdatedAt(updatedAt.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")));
mongoSlimeUtils.updateSubmitTicketVoById(ticketPartnerVo);
}
......@@ -752,7 +756,7 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa
} else {//演出列表
try {
PageHelper.startPage(performancePartnerListParam.getPage(), performancePartnerListParam.getSize());
HashMap<String,Object> map = mongoSlimeUtils.getPerformanceList(performancePartnerListParam);
HashMap<String, Object> map = mongoSlimeUtils.getPerformanceList(performancePartnerListParam);
List<PerformancePartnerListDao> voList = (List<PerformancePartnerListDao>) map.get("data");
for (int i = 0; i < voList.size(); i++) {
PerformancePartnerListDao vo = voList.get(i);
......
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