| | |
| | | import com.qianwen.core.scanner.modular.stereotype.ApiResource; |
| | | import com.qianwen.core.secure.annotation.PreAuth; |
| | | import com.qianwen.core.tool.api.R; |
| | | import com.qianwen.smartman.modules.cps.dto.WorkstationWcsDmpDTO; |
| | | import com.qianwen.smartman.modules.cps.entity.GlobalWcs; |
| | | import com.qianwen.smartman.modules.smis.dto.WorkstationWcsDmpDTO; |
| | | import com.qianwen.smartman.modules.smis.entity.GlobalWcs; |
| | | import com.qianwen.smartman.modules.mdc.dto.DatapointDTO; |
| | | import com.qianwen.smartman.modules.mdc.dto.ProcessParameterRealVO; |
| | | import com.qianwen.smartman.modules.mdc.service.IProcessParameterService; |
| | | import com.qianwen.smartman.modules.mdc.vo.AllShiftTimeDetail; |
| | |
| | | public R<List<GlobalWcs>> listGlobalWcs() { |
| | | return R.data(this.processParameterService.listGlobalWcs()); |
| | | } |
| | | |
| | | /* |
| | | @ApiOperationSupport(order = RegionCache.VILLAGE_LEVEL) |
| | | @GetResource({"/param"}) |
| | | @ApiOperation("参数选择") |
| | | @PreAuth |
| | | //TODO 调试新过程参数展示后删除 |
| | | public R<List<WorkstationWcsDmpDTO>> processParam(@RequestParam("workstationId") String workstationId) { |
| | | return R.data(this.processParameterService.processParam(workstationId)); |
| | | } |
| | | */ |
| | | |
| | | @ApiOperationSupport(order = RegionCache.VILLAGE_LEVEL) |
| | | @GetResource({"/params"}) |
| | | @ApiOperation("展示数据点列表") |
| | | @PreAuth |
| | | public R<List<DatapointDTO>> params(@RequestParam("workstationId") String workstationId) { |
| | | return R.data(this.processParameterService.processParams(workstationId)); |
| | | } |
| | | |
| | | @ApiOperationSupport(order = 6) |
| | | @PostResource({"/excel/export"}) |