From c798708110351aa200df0056cf33b31e9ae7a937 Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期五, 29 十一月 2024 17:13:56 +0800
Subject: [PATCH] add wechat mini trace
---
pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/assemblyStep/AssemblyStepCtrl.java | 21 ++++++++++++++++-----
1 files changed, 16 insertions(+), 5 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 689638f..491f176 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
@@ -1,16 +1,16 @@
package com.dy.pmsStation.assemblyStep;
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
+import com.dy.common.aop.SsoPowerAop;
import com.dy.common.webUtil.BaseResponse;
import com.dy.common.webUtil.BaseResponseUtils;
-import com.dy.pmsGlobal.pojoPlt.PltProductFile;
-import com.dy.pmsGlobal.pojoPlt.PltProductParams;
-import com.dy.pmsGlobal.pojoPlt.PltProductQualityInspectionItems;
-import com.dy.pmsGlobal.pojoPlt.PltProductTestInspectionItems;
+import com.dy.pmsGlobal.aop.Log;
+import com.dy.pmsGlobal.pojoPlt.*;
import com.dy.pmsGlobal.pojoPr.PrAssemblyPlan;
import com.dy.pmsGlobal.pojoPr.PrProductionNode;
import com.dy.pmsGlobal.pojoSta.StaDeviceLife;
import com.dy.pmsGlobal.pojoSta.StaDeviceProductionLog;
+import com.dy.pmsGlobal.pojoTst.TstCommand;
import jakarta.validation.Valid;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
@@ -186,5 +186,16 @@
PrAssemblyPlan result = sv.queryPlanByDeviceNo(deviceNo);
return BaseResponseUtils.buildSuccess(result);
}
-
+ //鑷姩鍖栨祴璇� 鏍规嵁浜у搧ID鏌ュ嚭鍏ㄩ儴鎸囦护
+ @GetMapping(path = "getCommand")
+ public BaseResponse<TstCommand> getCommand(String proId, int type) {
+ log.info("AssemblyStepCtrl.getCommand():{}", proId + " " + type);
+ List<TstCommand> result = sv.getCommand(proId,type);
+ return BaseResponseUtils.buildSuccess(result);
+ }
+ @GetMapping(path="all")
+ public BaseResponse<List<PltProduct>> all(){
+ QueryVo vo = new QueryVo();
+ return BaseResponseUtils.buildSuccess(sv.selectAll(vo));
+ }
}
--
Gitblit v1.8.0