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

Commit 0034615d authored by jiangxiulong's avatar jiangxiulong

演出预告type

parent 03d9755f
...@@ -81,8 +81,11 @@ public class KylinPerformancesController { ...@@ -81,8 +81,11 @@ public class KylinPerformancesController {
@GetMapping("noticeList") @GetMapping("noticeList")
@ApiOperation("演出预告列表") @ApiOperation("演出预告列表")
public ResponseDto<HashMap<String, Object>> noticeList() { @ApiImplicitParams({
HashMap<String, Object> result = kylinPerformancesService.noticeList(); @ApiImplicitParam(type = "query", dataType = "Integer", name = "type", value = "type为1的时候合并巡演")
})
public ResponseDto<HashMap<String, Object>> noticeList(@RequestParam Integer type) {
HashMap<String, Object> result = kylinPerformancesService.noticeList(type);
return ResponseDto.success(result); return ResponseDto.success(result);
} }
......
...@@ -135,7 +135,7 @@ public class KylinPerformancesServiceImpl implements IKylinPerformancesService { ...@@ -135,7 +135,7 @@ public class KylinPerformancesServiceImpl implements IKylinPerformancesService {
return info; return info;
} }
public HashMap<String, Object> noticeList() { public HashMap<String, Object> noticeList(Integer type) {
/*if (-1 != DateUtil.compareStrDay(timeStart, toDayEndTimeStr) && -1 == DateUtil.compareStrDay(timeStart, threeDaysLaterStr)) { /*if (-1 != DateUtil.compareStrDay(timeStart, toDayEndTimeStr) && -1 == DateUtil.compareStrDay(timeStart, threeDaysLaterStr)) {
threeDaysList.add(info); threeDaysList.add(info);
}*/ }*/
......
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