修改抓取规则保存功能
This commit is contained in:
+18
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user