| | |
| | | omProductionOrdeInfo.setProductNum(dataObject.getStr("productNum")); |
| | | omProductionOrdeInfo.setStationCode(dataObject.getStr("stationCode")); |
| | | omProductionOrdeInfo.setMaterialCode(dataObject.getStr("materialCode")); |
| | | omProductionOrdeInfo.setOnlineCompletionMark("0"); |
| | | omProductionOrdeInfo.setSfResult("0"); |
| | | if(dataObject.getStr("model").equals("PE01A")){ |
| | | omProductionOrdeInfo.setProductCode("1P102S"); |
| | | }else { |
| | |
| | | { |
| | | return omProductionOrdeInfoService.findBytrolleyYardGetOne(omProductionOrdeInfo); |
| | | } |
| | | |
| | | @GetMapping("/workReportingByStation/{id}/{stationCode}") |
| | | public AjaxResult workReportingByStation(@PathVariable("id") Long id, @PathVariable("stationCode") String stationCode) |
| | | { |
| | | OmProductionOrdeInfo omProductionOrdeInfo = new OmProductionOrdeInfo(); |
| | | omProductionOrdeInfo.setId(id); |
| | | omProductionOrdeInfo.setStationCode(stationCode); |
| | | return omProductionOrdeInfoService.workReportingByStation(omProductionOrdeInfo); |
| | | } |
| | | } |