| | |
| | | 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; |
| | |
| | | PrAssemblyPlan result = sv.queryPlanByDeviceNo(deviceNo); |
| | | return BaseResponseUtils.buildSuccess(result); |
| | | } |
| | | |
| | | //自动化测试 根据产品ID查出全部指令 |
| | | @GetMapping(path = "getCommand") |
| | | public BaseResponse<TstCommand> getCommand(String proId) { |
| | | log.info("AssemblyStepCtrl.getCommand():{}", proId); |
| | | List<TstCommand> result = sv.getCommand(proId); |
| | | return BaseResponseUtils.buildSuccess(result); |
| | | } |
| | | } |