Commit 017a79c5 authored by shiyu's avatar shiyu

专场拍品查询,id为-1默认返回第一个专场2

parent 07fa627b
...@@ -169,7 +169,7 @@ public class SpecialPerformanceServiceImpl implements SpecialPerformanceService ...@@ -169,7 +169,7 @@ public class SpecialPerformanceServiceImpl implements SpecialPerformanceService
if (!CollectionUtils.isEmpty(specialPerformanceList)) { if (!CollectionUtils.isEmpty(specialPerformanceList)) {
specialPerformance = specialPerformanceList.get(0); specialPerformance = specialPerformanceList.get(0);
} else { } else {
return Result.failed(); return Result.failed("8000");
} }
} else { } else {
specialPerformance = specialPerformanceDao.findById(dto.getSpecialPerformanceId()); 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