Commit af27d0b2 by guojuxing

pmd规范

parent cdad5ff2
......@@ -65,8 +65,8 @@ public class DataExplainController {
}
@RequestMapping("/list-data-explain")
public RestResponse listDataExplain(DataExplainQo dataExplainQO) {
ServiceResponse<Page<DataExplainDTO>> serviceResponse = dataExplainApiService.listDataExplain(dataExplainQO);
public RestResponse listDataExplain(DataExplainQo dataExplainQo) {
ServiceResponse<Page<DataExplainDTO>> serviceResponse = dataExplainApiService.listDataExplain(dataExplainQo);
return ResultControllerUtils.commonResult(serviceResponse);
}
......
......@@ -46,8 +46,8 @@ public class IndexController {
@RequestMapping("/save-index")
public RestResponse saveIndex(IndexQo indexQO, String relModuleIds) {
IndexDTO indexDTO = EntityUtil.changeEntityByJSON(IndexDTO.class, indexQO);
public RestResponse saveIndex(IndexQo indexQo, String relModuleIds) {
IndexDTO indexDTO = EntityUtil.changeEntityByJSON(IndexDTO.class, indexQo);
if (indexDTO.getClassifyType() == null ||
StringUtils.isBlank(indexDTO.getCode()) ||
StringUtils.isBlank(indexDTO.getName()) ||
......@@ -90,14 +90,14 @@ public class IndexController {
}
@RequestMapping("/list-index")
public RestResponse listIndex(IndexQo indexQO) {
ServiceResponse<Page<IndexDTO>> serviceResponse = indexApiService.listIndex(indexQO);
public RestResponse listIndex(IndexQo indexQo) {
ServiceResponse<Page<IndexDTO>> serviceResponse = indexApiService.listIndex(indexQo);
return ResultControllerUtils.commonResult(serviceResponse);
}
@RequestMapping("/list-all-index")
public RestResponse listAllIndex(IndexQo indexQO) {
ServiceResponse<List<IndexDTO>> serviceResponse = indexApiService.listAllIndex(indexQO);
public RestResponse listAllIndex(IndexQo indexQo) {
ServiceResponse<List<IndexDTO>> serviceResponse = indexApiService.listAllIndex(indexQo);
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