|  |  | 
 |  |  | import com.dy.pmsGlobal.pojoPlt.PltProductQualityInspectionItems; | 
 |  |  | import com.dy.pmsGlobal.pojoPlt.PltProductTestInspectionItems; | 
 |  |  | import com.dy.pmsGlobal.pojoPr.PrProductionNode; | 
 |  |  | import com.dy.pmsGlobal.pojoSta.StaDeviceLife; | 
 |  |  | import com.dy.pmsGlobal.pojoSta.StaDeviceProductionLog; | 
 |  |  | import jakarta.validation.Valid; | 
 |  |  | import lombok.extern.slf4j.Slf4j; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.web.bind.annotation.*; | 
 |  |  |  | 
 |  |  | import java.util.List; | 
 |  |  | import java.util.Map; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  *记录组装各步骤 | 
 |  |  | 
 |  |  |             return BaseResponseUtils.buildSuccess(true); | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @GetMapping(path = "queryByDeviceNo") | 
 |  |  |     public BaseResponse<Map<String,String>> queryByDeviceNo(String deviceNo) { | 
 |  |  |         log.info("AssemblyStepCtrl.queryByDeviceNo():"+deviceNo); | 
 |  |  |         Map<String,String> result = sv.queryByDeviceNo(deviceNo); | 
 |  |  |         return BaseResponseUtils.buildSuccess(result); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @GetMapping(path = "queryLifeByDeviceNo") | 
 |  |  |     public BaseResponse<?> queryLifeByDeviceNo(String deviceNo) { | 
 |  |  |         log.info("AssemblyStepCtrl.queryLifeByDeviceNo():"+deviceNo); | 
 |  |  |         List<StaDeviceLife> result = sv.queryLifeByDeviceNo(deviceNo); | 
 |  |  |         return BaseResponseUtils.buildSuccess(result); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @GetMapping(path = "queryLogByDeviceNo") | 
 |  |  |     public BaseResponse<?> queryLogByDeviceNo(String deviceNo) { | 
 |  |  |         log.info("AssemblyStepCtrl.queryLogByDeviceNo():"+deviceNo); | 
 |  |  |         List<StaDeviceProductionLog> result = sv.queryLogByDeviceNo(deviceNo); | 
 |  |  |         return BaseResponseUtils.buildSuccess(result); | 
 |  |  |     } | 
 |  |  | } |