Commit 2d384b9d by 杨林龙

开发拆除报警功能

1 parent 84066a6e
...@@ -31,7 +31,7 @@ import java.util.List; ...@@ -31,7 +31,7 @@ import java.util.List;
@Slf4j @Slf4j
@RestController @RestController
@RequestMapping(value = "/trialdrivereport") @RequestMapping(value = "/trialdrivereport")
@Api(value = "试驾报表管理", tags = {"试驾报表管理"}) @Api(value = "有效试驾(日报)", tags = {"有效试驾(日报)"})
public class TrialDriveReportController { public class TrialDriveReportController {
@Autowired @Autowired
...@@ -41,8 +41,8 @@ public class TrialDriveReportController { ...@@ -41,8 +41,8 @@ public class TrialDriveReportController {
private HttpServletResponse response; private HttpServletResponse response;
@GetMapping("/search") @GetMapping("/search")
@SysLog("查询试驾数据") @SysLog("有效试驾(日报)")
@ApiOperation(value = "试驾报表查询") @ApiOperation(value = "有效试驾(日报)")
public R search(TrialDriveReportSearch search) { public R search(TrialDriveReportSearch search) {
Page<Object> page = PageHelper.startPage(search.getPageNumber(), search.getPageSize(), true); Page<Object> page = PageHelper.startPage(search.getPageNumber(), search.getPageSize(), true);
...@@ -59,7 +59,7 @@ public class TrialDriveReportController { ...@@ -59,7 +59,7 @@ public class TrialDriveReportController {
} }
@GetMapping(value = "/export") @GetMapping(value = "/export")
@ApiOperation(value = "试驾报表导出") @ApiOperation(value = "导出有效试驾(日报)")
public void exportTrialDriveReport(TrialDriveReportSearch search) throws Exception { public void exportTrialDriveReport(TrialDriveReportSearch search) throws Exception {
log.info("试驾报表导出===start"); log.info("试驾报表导出===start");
String fileName = "有效试驾次数统计(按日" + DateFormatUtils.format(new Date(), "yyyy-MM-dd") + ")表"; String fileName = "有效试驾次数统计(按日" + DateFormatUtils.format(new Date(), "yyyy-MM-dd") + ")表";
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!