|
@@ -102,11 +102,6 @@ public class TextdictInfoController extends BladeController {
|
|
|
@ApiOperationSupport(order = 2)
|
|
|
@ApiOperation(value = "分页", notes = "传入textdictInfo")
|
|
|
public R<IPage<TextdictInfo>> list(TextdictInfo textdictInfo, Query query) {
|
|
|
- if(textdictInfo.getType() == 4){
|
|
|
- return R.data(textdictInfoService.analysisHtmlDefault(textdictInfo.getTabId()));
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
IPage<TextdictInfo> pages = textdictInfoService.page(Condition.getPage(query), Condition.getQueryWrapper(textdictInfo));
|
|
|
return R.data(pages);
|
|
|
}
|
|
@@ -118,7 +113,9 @@ public class TextdictInfoController extends BladeController {
|
|
|
@ApiOperationSupport(order = 3)
|
|
|
@ApiOperation(value = "分页", notes = "传入textdictInfo")
|
|
|
public R<IPage<TextdictInfoVO>> page(TextdictInfoVO textdictInfo, Query query) {
|
|
|
-
|
|
|
+ if(textdictInfo.getType() == 4){
|
|
|
+ return R.data(textdictInfoService.analysisHtmlDefault(textdictInfo.getTabId()));
|
|
|
+ }
|
|
|
IPage<TextdictInfoVO> pages = textdictInfoService.selectTextdictInfoPage(Condition.getPage(query), textdictInfo);
|
|
|
return R.data(pages);
|
|
|
}
|
|
@@ -162,9 +159,9 @@ public class TextdictInfoController extends BladeController {
|
|
|
@ApiOperation(value = "逻辑删除", notes = "传入ids")
|
|
|
public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids,
|
|
|
@ApiParam(value = "wbs p_key_id", required = true) @RequestParam String tabId,
|
|
|
- @ApiParam(value = "colKey", required = false) @RequestParam String colKey,
|
|
|
- @ApiParam(value = "type", required = false) @RequestParam Integer type) throws FileNotFoundException {
|
|
|
- if(type == 4){
|
|
|
+ String colKey,
|
|
|
+ Integer type) throws FileNotFoundException {
|
|
|
+ if(type != null && type == 4){
|
|
|
textdictInfoService.removeHtmlDefault(tabId,colKey);
|
|
|
return R.success("删除成功");
|
|
|
}
|