333
This commit is contained in:
+2
-1
@@ -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("操作失败");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user