修改抓取规则保存功能

This commit is contained in:
qitz
2023-12-08 17:59:09 +08:00
parent 3cc3be3ee0
commit f989831de2
11 changed files with 136 additions and 1 deletions
@@ -199,7 +199,25 @@ public class DeptIdentifyController extends BaseController {
return deptIdentifyService.saveFatchRules(templateManage);
}
/**
* 查询column和注释
* @return
*/
@PostMapping("/selectColumnandComment")
public AjaxResult selectColumnandComment(){
List<FatchRule> fatchRuleList = deptIdentifyService.selectColumnandComment();
return AjaxResult.success(fatchRuleList);
}
/**
* 查询column
* @return
*/
@PostMapping("/selectColumnbycomment")
public AjaxResult selectColumnbycomment(@RequestBody FatchRule fatchRule){
FatchRule fatchRulesel = deptIdentifyService.selectColumnbycomment(fatchRule);
return AjaxResult.success(fatchRulesel);
}