Commit af27d0b2 by guojuxing

pmd规范

parent cdad5ff2
...@@ -65,8 +65,8 @@ public class DataExplainController { ...@@ -65,8 +65,8 @@ public class DataExplainController {
} }
@RequestMapping("/list-data-explain") @RequestMapping("/list-data-explain")
public RestResponse listDataExplain(DataExplainQo dataExplainQO) { public RestResponse listDataExplain(DataExplainQo dataExplainQo) {
ServiceResponse<Page<DataExplainDTO>> serviceResponse = dataExplainApiService.listDataExplain(dataExplainQO); ServiceResponse<Page<DataExplainDTO>> serviceResponse = dataExplainApiService.listDataExplain(dataExplainQo);
return ResultControllerUtils.commonResult(serviceResponse); return ResultControllerUtils.commonResult(serviceResponse);
} }
......
...@@ -46,8 +46,8 @@ public class IndexController { ...@@ -46,8 +46,8 @@ public class IndexController {
@RequestMapping("/save-index") @RequestMapping("/save-index")
public RestResponse saveIndex(IndexQo indexQO, String relModuleIds) { public RestResponse saveIndex(IndexQo indexQo, String relModuleIds) {
IndexDTO indexDTO = EntityUtil.changeEntityByJSON(IndexDTO.class, indexQO); IndexDTO indexDTO = EntityUtil.changeEntityByJSON(IndexDTO.class, indexQo);
if (indexDTO.getClassifyType() == null || if (indexDTO.getClassifyType() == null ||
StringUtils.isBlank(indexDTO.getCode()) || StringUtils.isBlank(indexDTO.getCode()) ||
StringUtils.isBlank(indexDTO.getName()) || StringUtils.isBlank(indexDTO.getName()) ||
...@@ -90,14 +90,14 @@ public class IndexController { ...@@ -90,14 +90,14 @@ public class IndexController {
} }
@RequestMapping("/list-index") @RequestMapping("/list-index")
public RestResponse listIndex(IndexQo indexQO) { public RestResponse listIndex(IndexQo indexQo) {
ServiceResponse<Page<IndexDTO>> serviceResponse = indexApiService.listIndex(indexQO); ServiceResponse<Page<IndexDTO>> serviceResponse = indexApiService.listIndex(indexQo);
return ResultControllerUtils.commonResult(serviceResponse); return ResultControllerUtils.commonResult(serviceResponse);
} }
@RequestMapping("/list-all-index") @RequestMapping("/list-all-index")
public RestResponse listAllIndex(IndexQo indexQO) { public RestResponse listAllIndex(IndexQo indexQo) {
ServiceResponse<List<IndexDTO>> serviceResponse = indexApiService.listAllIndex(indexQO); ServiceResponse<List<IndexDTO>> serviceResponse = indexApiService.listAllIndex(indexQo);
return ResultControllerUtils.commonResult(serviceResponse); return ResultControllerUtils.commonResult(serviceResponse);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment