lin
2024-03-25 9f8f9d13c42ca8cdccbf351069082a5fdccef2e4
src/main/java/org/springblade/modules/task/controller/TaskReportForRepairsController.java
@@ -1,19 +1,3 @@
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.task.controller;
import com.baomidou.mybatisplus.core.metadata.IPage;
@@ -21,7 +5,6 @@
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import liquibase.pro.packaged.D;
import lombok.AllArgsConstructor;
import org.springblade.core.boot.ctrl.BladeController;
import org.springblade.core.mp.support.Condition;
@@ -59,9 +42,9 @@
   @GetMapping("/detail")
   @ApiOperationSupport(order = 1)
   @ApiOperation(value = "详情", notes = "传入taskReportForRepairs")
   public R<TaskReportForRepairsVO> detail(TaskReportForRepairsEntity taskReportForRepairs) {
   public R detail(TaskReportForRepairsEntity taskReportForRepairs) {
      TaskReportForRepairsEntity detail = taskReportForRepairsService.getOne(Condition.getQueryWrapper(taskReportForRepairs));
      return R.data(TaskReportForRepairsWrapper.build().entityVO(detail));
      return R.data(detail);
   }
   /**
    * 报事报修任务表 分页
@@ -151,8 +134,8 @@
    * @return
    */
   @GetMapping("/getStatisticsCount")
   public R statisticsCount() {
      return R.data(taskReportForRepairsService.getStatisticsCount());
   public R statisticsCount(@RequestParam(value = "houseCode",required = false) String houseCode) {
      return R.data(taskReportForRepairsService.getStatisticsCount(houseCode));
   }
   /**