liuhj преди 3 години
родител
ревизия
cccaadf5f9
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/weighbridge/TblWeightinfoController.java

+ 3 - 3
ruoyi-admin/src/main/java/com/ruoyi/web/controller/weighbridge/TblWeightinfoController.java

@@ -49,10 +49,10 @@ public class TblWeightinfoController extends BaseController
     /**
      * 根据车牌号查询称重单列表-不分页
      */
-    @GetMapping(value = "getWeightInfo/{serialNo}")
-    public AjaxResult getWeightInfo(TblWeightinfo tblWeightinfo)
+    @GetMapping(value = "getWeightInfo/{plateNo}")
+    public AjaxResult getWeightInfo(@PathVariable("plateNo") String plateNo)
     {
-        List<TblWeightinfo> list = tblWeightinfoService.selectTblWeightinfoByPlateNo(tblWeightinfo);
+        List<TblWeightinfo> list = tblWeightinfoService.selectTblWeightinfoByPlateNo(plateNo);
         return AjaxResult.success(list);
     }