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