| | |
| | | public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) { |
| | | return super.importExcel(request, response, MesMaterialLoading.class); |
| | | } |
| | | /** |
| | | * 通过loadingId查询下料信息 |
| | | * |
| | | * @param request |
| | | * @param response |
| | | * @return |
| | | */ |
| | | @RequestMapping("/queryUnloadingByLoadingId") |
| | | public Result<?> queryUnloadingByLoadingId(HttpServletRequest request, HttpServletResponse response) { |
| | | String loadingId = request.getParameter("loadingId"); |
| | | return Result.OK(mesMaterialLoadingService.queryUnloadingByLoadingId(loadingId)); |
| | | } |
| | | /* |
| | | * 通过 workOrderId 查询上料信息 |
| | | * @param workOrderId |
| | | * */ |
| | | @GetMapping("/queryLoadingByWorkOrderId") |
| | | public Result<?> queryLoadingByWorkOrderId(@RequestParam(name = "workOrderId", required = true) String workOrderId) { |
| | | return Result.OK(mesMaterialLoadingService.queryLoadingByWorkOrderId(workOrderId)); |
| | | } |
| | | |
| | | } |