From 5541562a51ddec2c25fcd6cd3febbc4765a2190d Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期六, 20 七月 2024 10:37:32 +0800
Subject: [PATCH] deviceNo get product

---
 pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/assemblyStep/AssemblyStepCtrl.java |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/assemblyStep/AssemblyStepCtrl.java b/pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/assemblyStep/AssemblyStepCtrl.java
index 2ca4b2c..0e775ba 100644
--- a/pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/assemblyStep/AssemblyStepCtrl.java
+++ b/pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/assemblyStep/AssemblyStepCtrl.java
@@ -7,6 +7,7 @@
 import com.dy.pmsGlobal.pojoPlt.PltProductParams;
 import com.dy.pmsGlobal.pojoPlt.PltProductQualityInspectionItems;
 import com.dy.pmsGlobal.pojoPlt.PltProductTestInspectionItems;
+import com.dy.pmsGlobal.pojoPr.PrAssemblyPlan;
 import com.dy.pmsGlobal.pojoPr.PrProductionNode;
 import com.dy.pmsGlobal.pojoSta.StaDeviceLife;
 import com.dy.pmsGlobal.pojoSta.StaDeviceProductionLog;
@@ -147,4 +148,11 @@
         List<StaDeviceProductionLog> result = sv.queryLogByDeviceNo(deviceNo);
         return BaseResponseUtils.buildSuccess(result);
     }
+    @GetMapping(path = "queryPlanByDeviceNo")
+    public BaseResponse<PrAssemblyPlan> queryPlanByDeviceNo(String deviceNo) {
+        log.info("AssemblyStepCtrl.queryLogByDeviceNo():" + deviceNo);
+        PrAssemblyPlan result = sv.queryPlanByDeviceNo(deviceNo);
+        return BaseResponseUtils.buildSuccess(result);
+    }
+
 }

--
Gitblit v1.8.0