This commit is contained in:
wucongxing8150 2025-07-09 14:23:36 +08:00
parent 4330be4be2
commit f1a07d4c1a

View File

@ -62,8 +62,9 @@ public class CaseplatformBankService {
public synchronized ResponseDTO<String> add(CaseplatformBankAddForm addForm) {
CaseplatformBankEntity caseplatformBankEntity = SmartBeanUtil.copy(addForm, CaseplatformBankEntity.class);
Long expertId = SmartRequestUtil.getRequestUserId();
// 获取专家数据
ExpertEntity expert = expertDao.selectById(expertId);
ExpertEntity expert = expertDao.getExpert(expertId);
if (expert == null) {
return ResponseDTO.userErrorParam("操作失败");
}