333
This commit is contained in:
parent
4330be4be2
commit
f1a07d4c1a
@ -62,8 +62,9 @@ public class CaseplatformBankService {
|
|||||||
public synchronized ResponseDTO<String> add(CaseplatformBankAddForm addForm) {
|
public synchronized ResponseDTO<String> add(CaseplatformBankAddForm addForm) {
|
||||||
CaseplatformBankEntity caseplatformBankEntity = SmartBeanUtil.copy(addForm, CaseplatformBankEntity.class);
|
CaseplatformBankEntity caseplatformBankEntity = SmartBeanUtil.copy(addForm, CaseplatformBankEntity.class);
|
||||||
Long expertId = SmartRequestUtil.getRequestUserId();
|
Long expertId = SmartRequestUtil.getRequestUserId();
|
||||||
|
|
||||||
// 获取专家数据
|
// 获取专家数据
|
||||||
ExpertEntity expert = expertDao.selectById(expertId);
|
ExpertEntity expert = expertDao.getExpert(expertId);
|
||||||
if (expert == null) {
|
if (expert == null) {
|
||||||
return ResponseDTO.userErrorParam("操作失败");
|
return ResponseDTO.userErrorParam("操作失败");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user