|
|
@ -95,8 +95,6 @@ public class ScreenDeptInfoServiceImpl extends BaseServiceImpl<ScreenDeptInfoDao |
|
|
|
if (screenDeptInfo != null) { |
|
|
|
throw new RenException("该机构数据已经存在"); |
|
|
|
} |
|
|
|
SysDeptDTO dept=sysDeptService.get(dto.getDeptId()); |
|
|
|
dto.setDeptName(dept.getName()); |
|
|
|
ScreenDeptInfoEntity entity = ConvertUtils.sourceToTarget(dto, ScreenDeptInfoEntity.class); |
|
|
|
insert(entity); |
|
|
|
} |
|
|
|