案件bug修复

This commit is contained in:
18792927508
2023-12-21 09:16:26 +08:00
parent c7970e884f
commit 1da61f526d
6 changed files with 369 additions and 178 deletions
@@ -222,14 +222,13 @@ public class DeptIdentifyController extends BaseController {
/**
* 根据模板id查询模板字段列表
* @param templateManage
* @param id
* @return
*/
@GetMapping("/getTemplateInfoById")
public AjaxResult getTemplateInfoById(@RequestBody TemplateManage templateManage){
if(templateManage.getId()==null){
return error("参数校验错误");
}
public AjaxResult getTemplateInfoById(@RequestParam("id") Long id){
TemplateManage templateManage = new TemplateManage();
templateManage.setId(id);
List<FatchRule> fatchRuleList = deptIdentifyService.getTemplateInfoById(templateManage);
return AjaxResult.success(fatchRuleList);
}