| | |
| | | @ApiOperation(value = "数据字典列表") |
| | | @GetMapping(value = "/list") |
| | | public R<List<TDictData>> pageList(@RequestParam Integer dataType) { |
| | | return R.ok(dictDataService.lambdaQuery().eq(TDictData::getDataType,dataType).list()); |
| | | if (dataType==4){ |
| | | return R.ok(dictDataService.lambdaQuery().in(TDictData::getDataType,Arrays.asList(4,5)).list()); |
| | | }else{ |
| | | return R.ok(dictDataService.lambdaQuery().eq(TDictData::getDataType,dataType).list()); |
| | | } |
| | | } |
| | | @Log(title = "新增数据字典", businessType = BusinessType.INSERT) |
| | | @ApiOperation(value = "新增数据字典") |