liuhj 3 tahun lalu
induk
melakukan
cccaadf5f9

+ 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);
     }