| | |
| | | return result; |
| | | } |
| | | |
| | | @AutoLog(value = "产线表-树形列表(MDC)") |
| | | @ApiOperation(value = "产线表-树形列表(MDC)", notes = "产线表-树形列表(MDC)") |
| | | @GetMapping(value = "/queryTreeListByMdc") |
| | | public Result<List<MdcProductionTreeModel>> queryTreeListByMdc(@RequestParam(name = "ids", required = false) String ids) { |
| | | Result<List<MdcProductionTreeModel>> result = new Result<>(); |
| | | try { |
| | | if (oConvertUtils.isNotEmpty(ids)) { |
| | | List<MdcProductionTreeModel> productionList = mdcProductionService.queryTreeListByMdc(ids); |
| | | result.setResult(productionList); |
| | | } else { |
| | | List<MdcProductionTreeModel> list = mdcProductionService.queryTreeListByMdc(); |
| | | result.setResult(list); |
| | | } |
| | | result.setSuccess(true); |
| | | } catch (Exception e) { |
| | | log.error(e.getMessage(), e); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | @AutoLog(value = "产线表-树形列表(添加系统配置)") |
| | | @ApiOperation(value = "产线表-树形列表(添加系统配置)", notes = "产线表-树形列表(添加系统配置)") |
| | | @GetMapping(value = "/queryTreeListByConfig") |