bug修复

This commit is contained in:
18792927508
2024-02-20 09:06:43 +08:00
parent b8ad0dfc8c
commit 0b96d4351d
18 changed files with 233 additions and 111 deletions
@@ -51,6 +51,16 @@ public class MsCaseApplicationController extends BaseController {
List<MsCaseApplicationVO> list = caseApplicationService.list(req);
return getDataTable(list);
}
/**
* 根据登录人返回用户信息
*/
@GetMapping("/getUserInfo")
public AjaxResult getUserInfo()
{
return success(caseApplicationService.getUserInfo());
}
/**
* 新增案件
*/
@@ -63,6 +73,7 @@ public class MsCaseApplicationController extends BaseController {
return success(caseApplicationService.insert(caseApplication));
}
/**
* 根据身份证号获取性别和出生日期
*/
@@ -105,6 +116,17 @@ public class MsCaseApplicationController extends BaseController {
}
return success(caseApplicationService.update(caseApplication));
}
/**
* 删除案件
*/
@PostMapping("/delete")
public AjaxResult delete(@RequestBody MsCaseApplication req ) {
if (req.getCaseFlowId() == null
|| (req.getId() == null && StrUtil.isEmpty(req.getBatchNumber()))) {
return error("参数校验失败");
}
return caseApplicationService.delete(req);
}
/**
* 根据id查询案件
*/
@@ -184,6 +184,10 @@ imConfig:
secretId: AKID3xfHgroY4MQHvLXUXMwIQL1UjmbBX1Tv
# 腾讯云密钥
secretKey: INDrIXcT8YmomZBcsy0oNirnU0LTN4X7
# 调解机构代码配置
organizeConfig:
# creditCode
creditCode: 910000058386410047
#jodconverter:
# local:
# host: 121.40.189.20