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

Commit b264fac4 authored by 姜秀龙's avatar 姜秀龙

修复状态问题

parent 75a5648a
...@@ -45,7 +45,7 @@ public class KylinArtistController { ...@@ -45,7 +45,7 @@ public class KylinArtistController {
} }
@GetMapping("{artistId}/performances") @GetMapping("{artistId}/performances")
@ApiOperation("艺人关联演出(未开售/已开售,不含已结束)") @ApiOperation("艺人关联演出(未开售/已开售/售罄,不含已结束)")
@ApiImplicitParam(type = "path", dataType = "String", name = "artistId", value = "艺人ID", required = true) @ApiImplicitParam(type = "path", dataType = "String", name = "artistId", value = "艺人ID", required = true)
public ResponseDto<List<KylinArtistPerformanceFrontVo>> performances(@PathVariable String artistId) { public ResponseDto<List<KylinArtistPerformanceFrontVo>> performances(@PathVariable String artistId) {
return ResponseDto.success(kylinArtistFrontService.getArtistPerformances(artistId)); return ResponseDto.success(kylinArtistFrontService.getArtistPerformances(artistId));
......
...@@ -156,7 +156,7 @@ public class KylinArtistFrontServiceImpl implements IKylinArtistFrontService { ...@@ -156,7 +156,7 @@ public class KylinArtistFrontServiceImpl implements IKylinArtistFrontService {
vo.setTimeStart(item.getTimeStart()); vo.setTimeStart(item.getTimeStart());
vo.setFieldName(performanceVo.getFieldName()); vo.setFieldName(performanceVo.getFieldName());
vo.setPrice(performanceVo.getPrice()); vo.setPrice(performanceVo.getPrice());
vo.setAppStatus(appStatus == 8 ? 6 : appStatus); vo.setAppStatus(appStatus);
vo.setStatusName(KylinPerformanceStatusEnum.getName(appStatus)); vo.setStatusName(KylinPerformanceStatusEnum.getName(appStatus));
result.add(vo); result.add(vo);
} }
......
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