|
|
@@ -12,8 +12,6 @@ import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
-import java.io.IOException;
|
|
|
-import java.util.Date;
|
|
|
|
|
|
|
|
|
@RequestMapping("/api/repairRecord")
|
|
|
@@ -27,7 +25,7 @@ public interface RepairRecordControllerAPI {
|
|
|
|
|
|
@PostMapping(value = "/returnPay")
|
|
|
@ApiOperation(value = "微信支付回调", notes = "微信支付回调", httpMethod = "POST")
|
|
|
- void returnPay(HttpServletRequest request, HttpServletResponse response) throws IOException;
|
|
|
+ void returnPay(HttpServletRequest request, HttpServletResponse response) throws Exception;
|
|
|
|
|
|
@PostMapping(value = "/insertRepairRecord")
|
|
|
@ApiOperation(value = "提交报修订单", notes = "提交报修订单", httpMethod = "POST")
|
|
|
@@ -135,7 +133,7 @@ public interface RepairRecordControllerAPI {
|
|
|
|
|
|
@PostMapping(value = "/transfer")
|
|
|
@ApiOperation(value = "转单审核", notes = "转单审核", httpMethod = "POST")
|
|
|
- CommonResult transfer(@RequestBody transferRequest transferRequest,@RequestHeader("user_head") String userhead, BindingResult bindingResult) throws Exception;
|
|
|
+ CommonResult transfer(@RequestBody transferRequest transferRequest, @RequestHeader("user_head") String userhead, BindingResult bindingResult) throws Exception;
|
|
|
|
|
|
@GetMapping(value = "/cooperationDetail")
|
|
|
@ApiOperation(value = "获取协作审核数据", notes = "获取协作审核数据", httpMethod = "GET")
|
|
|
@@ -175,7 +173,7 @@ public interface RepairRecordControllerAPI {
|
|
|
|
|
|
@GetMapping(value = "/reportExport")
|
|
|
@ApiOperation(value = "报表导出", notes = "报表导出", httpMethod = "GET")
|
|
|
- void reportExport(HttpServletResponse response,String keyWord, String startTime, String endTime, Integer schoolId, @RequestParam Integer state, @RequestHeader("user_head") String userhead) throws Exception;
|
|
|
+ void reportExport(HttpServletResponse response, String keyWord, String startTime, String endTime, Integer schoolId, @RequestParam Integer state, @RequestHeader("user_head") String userhead) throws Exception;
|
|
|
|
|
|
@GetMapping(value = "/queryMasterHomeCount")
|
|
|
@ApiOperation(value = "维修师傅首页头部数量", notes = "维修师傅首页头部数量", httpMethod = "GET")
|
|
|
@@ -191,27 +189,27 @@ public interface RepairRecordControllerAPI {
|
|
|
|
|
|
@GetMapping(value = "/repairArea")
|
|
|
@ApiOperation(value = "报修区域统计", notes = "报修区域统计", httpMethod = "GET")
|
|
|
- CommonResult repairArea(@RequestParam int state,@RequestParam int currentPage, @RequestParam int pageCount) throws Exception;
|
|
|
+ CommonResult repairArea(@RequestParam int state, @RequestParam int currentPage, @RequestParam int pageCount) throws Exception;
|
|
|
|
|
|
@GetMapping(value = "/repairAreaExport")
|
|
|
@ApiOperation(value = "报修区域统计导出", notes = "报修区域统计导出", httpMethod = "GET")
|
|
|
- void repairAreaExport(HttpServletResponse response,@RequestParam int state) throws Exception;
|
|
|
+ void repairAreaExport(HttpServletResponse response, @RequestParam int state) throws Exception;
|
|
|
|
|
|
@GetMapping(value = "/maintenanceGoods")
|
|
|
@ApiOperation(value = "维修物品统计", notes = "维修物品统计", httpMethod = "GET")
|
|
|
- CommonResult maintenanceGoods(@RequestParam int state,@RequestParam int currentPage, @RequestParam int pageCount) throws Exception;
|
|
|
+ CommonResult maintenanceGoods(@RequestParam int state, @RequestParam int currentPage, @RequestParam int pageCount) throws Exception;
|
|
|
|
|
|
@GetMapping(value = "/maintenanceGoodsExport")
|
|
|
@ApiOperation(value = "维修物品统计导出", notes = "维修物品统计导出", httpMethod = "GET")
|
|
|
- void maintenanceGoodsExport(HttpServletResponse response,@RequestParam int state) throws Exception;
|
|
|
+ void maintenanceGoodsExport(HttpServletResponse response, @RequestParam int state) throws Exception;
|
|
|
|
|
|
@GetMapping(value = "/maintenanceWorker")
|
|
|
@ApiOperation(value = "维修师傅效率统计", notes = "维修师傅效率统计", httpMethod = "GET")
|
|
|
- CommonResult maintenanceWorker(@RequestParam int state,@RequestParam int currentPage, @RequestParam int pageCount) throws Exception;
|
|
|
+ CommonResult maintenanceWorker(@RequestParam int state, @RequestParam int currentPage, @RequestParam int pageCount) throws Exception;
|
|
|
|
|
|
@GetMapping(value = "/maintenanceWorkerExport")
|
|
|
@ApiOperation(value = "维修师傅效率统计导出", notes = "维修师傅效率统计导出", httpMethod = "GET")
|
|
|
- void maintenanceWorkerExport(HttpServletResponse response,@RequestParam int state) throws Exception;
|
|
|
+ void maintenanceWorkerExport(HttpServletResponse response, @RequestParam int state) throws Exception;
|
|
|
|
|
|
@GetMapping(value = "/repairAnalysis")
|
|
|
@ApiOperation(value = "报修分析统计", notes = "报修分析统计", httpMethod = "GET")
|
|
|
@@ -221,4 +219,9 @@ public interface RepairRecordControllerAPI {
|
|
|
@ApiOperation(value = "报修趋势统计", notes = "报修趋势统计", httpMethod = "GET")
|
|
|
CommonResult repairTrend(@RequestParam int state) throws Exception;
|
|
|
|
|
|
+ @GetMapping(value = "/repairSummarizing")
|
|
|
+ @ApiOperation(value = "总数据汇总统计", notes = "总数据汇总统计", httpMethod = "GET")
|
|
|
+ CommonResult repairSummarizing() throws Exception;
|
|
|
+
|
|
|
+
|
|
|
}
|