|
@@ -107,31 +107,31 @@ public class BillCleanController {
|
|
return cleanService.listByIdDry(httpServletRequest, paramsMap);
|
|
return cleanService.listByIdDry(httpServletRequest, paramsMap);
|
|
}
|
|
}
|
|
|
|
|
|
- @RequestMapping("/editClean")
|
|
|
|
- public Result editClean(HttpServletRequest httpServletRequest,
|
|
|
|
- @RequestParam("farmId") String farmId,
|
|
|
|
- @RequestParam("id") String id,
|
|
|
|
- @RequestParam("date") String date,
|
|
|
|
- @RequestParam("result") String result,
|
|
|
|
- @RequestParam(value = "img1",required = false) MultipartFile img1,
|
|
|
|
- @RequestParam(value = "img2",required = false) MultipartFile img2,
|
|
|
|
- @RequestParam(value = "img3",required = false) MultipartFile img3
|
|
|
|
- ) throws ParseException, IOException {
|
|
|
|
- return cleanService.commitClean(httpServletRequest, farmId, id, date, result, img1,img2,img3);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- @PostMapping("/carCommit")
|
|
|
|
- public Result addAdmission(HttpServletRequest httpServletRequest, @RequestParam("id") String id,
|
|
|
|
- @RequestParam("data") String data,
|
|
|
|
- @RequestParam(value = "img1", required = false) MultipartFile img1,
|
|
|
|
- @RequestParam(value = "img2", required = false) MultipartFile img2,
|
|
|
|
- @RequestParam(value = "img3", required = false) MultipartFile img3,
|
|
|
|
- @RequestParam(value = "img4", required = false) MultipartFile img4,
|
|
|
|
- @RequestParam(value = "img5", required = false) MultipartFile img5,
|
|
|
|
- @RequestParam("farmId") String farmId,
|
|
|
|
- @RequestParam("type") String type) throws IOException, ParseException {
|
|
|
|
- return cleanService.carClean(httpServletRequest, farmId, id, data, img1, img2, img3, img4, img5, type);
|
|
|
|
- }
|
|
|
|
|
|
+// @RequestMapping("/editClean")
|
|
|
|
+// public Result editClean(HttpServletRequest httpServletRequest,
|
|
|
|
+// @RequestParam("farmId") String farmId,
|
|
|
|
+// @RequestParam("id") String id,
|
|
|
|
+// @RequestParam("date") String date,
|
|
|
|
+// @RequestParam("result") String result,
|
|
|
|
+// @RequestParam(value = "img1",required = false) MultipartFile img1,
|
|
|
|
+// @RequestParam(value = "img2",required = false) MultipartFile img2,
|
|
|
|
+// @RequestParam(value = "img3",required = false) MultipartFile img3
|
|
|
|
+// ) throws ParseException, IOException {
|
|
|
|
+// return cleanService.commitClean(httpServletRequest, farmId, id, date, result, img1,img2,img3);
|
|
|
|
+// }
|
|
|
|
+//
|
|
|
|
+// @PostMapping("/carCommit")
|
|
|
|
+// public Result addAdmission(HttpServletRequest httpServletRequest, @RequestParam("id") String id,
|
|
|
|
+// @RequestParam("data") String data,
|
|
|
|
+// @RequestParam(value = "img1", required = false) MultipartFile img1,
|
|
|
|
+// @RequestParam(value = "img2", required = false) MultipartFile img2,
|
|
|
|
+// @RequestParam(value = "img3", required = false) MultipartFile img3,
|
|
|
|
+// @RequestParam(value = "img4", required = false) MultipartFile img4,
|
|
|
|
+// @RequestParam(value = "img5", required = false) MultipartFile img5,
|
|
|
|
+// @RequestParam("farmId") String farmId,
|
|
|
|
+// @RequestParam("type") String type) throws IOException, ParseException {
|
|
|
|
+// return cleanService.carClean(httpServletRequest, farmId, id, data, img1, img2, img3, img4, img5, type);
|
|
|
|
+// }
|
|
|
|
|
|
@PostMapping("/goodsCarClean")
|
|
@PostMapping("/goodsCarClean")
|
|
public Result goodsCarClean(HttpServletRequest httpServletRequest, @RequestParam("id") String id,
|
|
public Result goodsCarClean(HttpServletRequest httpServletRequest, @RequestParam("id") String id,
|