|
@@ -62,11 +62,11 @@ public class BaseExpertServiceImpl extends ServiceImpl<BaseExpertMapper, BaseExp
|
|
|
Integer i = baseExpertMapper.insertBaseUnitInformation(baseUnitInformation);
|
|
|
}
|
|
|
}
|
|
|
- //// 区域list转字符串
|
|
|
- //if (StringUtils.isNotNull(baseExpertVo.getLocalAreaList())) {
|
|
|
- // String stringFromList = String.join(",", baseExpertVo.getLocalAreaList());
|
|
|
- // baseExpertVo.setLocalArea(stringFromList);
|
|
|
- //}
|
|
|
+ // 区域list转字符串
|
|
|
+ if (StringUtils.isNotNull(baseExpertVo.getLocalAreaList())) {
|
|
|
+// String stringFromList = String.join(",", baseExpertVo.getLocalAreaList());
|
|
|
+ baseExpertVo.setLocalArea(baseExpertVo.getLocalAreaList().get(baseExpertVo.getLocalAreaList().size() - 1));
|
|
|
+ }
|
|
|
return baseExpertMapper.insertExpert(baseExpertVo);
|
|
|
}
|
|
|
|