Commit 993b0a56 authored by shiyu's avatar shiyu

分享专场

parent 88062ca7
......@@ -168,8 +168,9 @@ public class SpecialPerformanceServiceImpl implements SpecialPerformanceService
List<SpecialPerformance> specialPerformanceList = specialPerformanceDao.find(searchDto);
if (!CollectionUtils.isEmpty(specialPerformanceList)) {
specialPerformance = specialPerformanceList.get(0);
dto.setSpecialPerformanceId(specialPerformance.getId());
} else {
return Result.failed("8000");
return Result.failed(8000, "没有专场");
}
} else {
specialPerformance = specialPerformanceDao.findById(dto.getSpecialPerformanceId());
......
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