| | |
| | | return Result.seccess(glassOptimizeService.projectInfoSv(projectNo,username)); |
| | | } |
| | | |
| | | |
| | | // 优化信息传入 |
| | | @ApiOperation("优化传入信息接口") |
| | | @PostMapping ("/optimizeInfo/{projectNo}/{username}") |
| | | public Result optimizeInfo(@PathVariable String projectNo,@PathVariable String username){ |
| | | return Result.seccess(glassOptimizeService.optimizeInfoSv(projectNo,username)); |
| | | } |
| | | |
| | | //工程信息流程卡 |
| | | @ApiOperation("工程信息流程卡接口") |
| | | @PostMapping ("/getProcessCard/{projectNo}") |
| | |
| | | @ApiOperation("模拟计算保存") |
| | | @PostMapping("/simulationSave") |
| | | public Result simulationSave(@RequestBody Map<String, Object> object) { |
| | | System.out.println("接收到的模拟计算保存数据: " + object); |
| | | try { |
| | | return Result.seccess(glassOptimizeService.addSimulation(object)); |
| | | } catch (Exception e) { |
| | |
| | | return Result.seccess(glassOptimizeService.getProcessCardMpThirdParty(projectNo)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation("mes工程任务下发接口") |
| | | @PostMapping("/getIssuingProjects") |
| | | public Result issuingProjects(@RequestBody String projectNo) throws JsonProcessingException { |
| | | return Result.seccess(glassOptimizeService.issuingProjects(projectNo)); |
| | | } |
| | | |
| | | |
| | | |