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

Commit 0f10db68 authored by 胡佳晨's avatar 胡佳晨

修改 保存接口

parent 9e8bfedd
...@@ -235,11 +235,11 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa ...@@ -235,11 +235,11 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa
String performanceId = step2Param.getPerformancesId(); String performanceId = step2Param.getPerformancesId();
// 获取 当前时间 -> 创建时间 // 获取 当前时间 -> 创建时间
LocalDateTime createdAt = LocalDateTime.now(); LocalDateTime createdAt = LocalDateTime.now();
// String merchantId = step2Param.getMerchantId(); String merchantId = step2Param.getMerchantId();
// boolean isExistsSubmit = mongoSlimeUtils.isExistsSubmitPerformancePartner(performanceId); boolean isExistsSubmit = mongoSlimeUtils.isExistsSubmitPerformancePartner(performanceId);
// if (isExistsSubmit) { if (isExistsSubmit) {
// return ResponseDto.failure(ErrorMapping.get(20112)); return ResponseDto.failure(ErrorMapping.get(20112));
// } }
//演出修改数据 //演出修改数据
PerformancePartnerVo performancePartnerVo = PerformancePartnerVo.getNew(); PerformancePartnerVo performancePartnerVo = PerformancePartnerVo.getNew();
...@@ -330,10 +330,10 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa ...@@ -330,10 +330,10 @@ public class KylinPerformancesPartnerServiceImpl implements IKylinPerformancesPa
LinkedList<Object[]> sqlsDataF = CollectionUtil.linkedListObjectArr(); LinkedList<Object[]> sqlsDataF = CollectionUtil.linkedListObjectArr();
LocalDateTime now = LocalDateTime.now(); LocalDateTime now = LocalDateTime.now();
// 获取 当前时间 -> 创建时间 // 获取 当前时间 -> 创建时间
// boolean isExistsSubmit = mongoSlimeUtils.isExistsSubmitPerformancePartner(performanceId); boolean isExistsSubmit = mongoSlimeUtils.isExistsSubmitPerformancePartner(performanceId);
// if (isExistsSubmit) { if (isExistsSubmit) {
// return ResponseDto.failure(ErrorMapping.get(20112)); return ResponseDto.failure(ErrorMapping.get(20112));
// } }
//演出修改数据 //演出修改数据
PerformancePartnerVo performancePartnerVo = PerformancePartnerVo.getNew(); PerformancePartnerVo performancePartnerVo = PerformancePartnerVo.getNew();
performancePartnerVo.setPerformancesId(performanceId); performancePartnerVo.setPerformancesId(performanceId);
......
...@@ -193,8 +193,12 @@ public class PerformanceUtils { ...@@ -193,8 +193,12 @@ public class PerformanceUtils {
StringList.sort(Comparator.naturalOrder()); StringList.sort(Comparator.naturalOrder());
kylinPerformanceMisVo.setDetails(performanceData.getDetails()); kylinPerformanceMisVo.setDetails(performanceData.getDetails());
kylinPerformanceMisVo.setPrice(floatList.get(0) + "起"); if (floatList.size() != 0) {
kylinPerformanceMisVo.setStopSellTime(StringList.get(0)); kylinPerformanceMisVo.setPrice(floatList.get(0) + "起");
}
if (StringList.size() != 0) {
kylinPerformanceMisVo.setStopSellTime(StringList.get(0));
}
kylinPerformanceMisVo.setTicketTimes(ticketTimesTicketCreatePartnerVoList); kylinPerformanceMisVo.setTicketTimes(ticketTimesTicketCreatePartnerVoList);
kylinPerformanceMisVo.setIsDistribution(0); kylinPerformanceMisVo.setIsDistribution(0);
......
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