|
@@ -241,9 +241,11 @@ public class CodingRuleServiceImpl extends ServiceImpl<CodingRuleMapper, CodingR
|
|
|
}
|
|
|
|
|
|
private String getCountryCode(Long countryId) {
|
|
|
+ DynamicDataSourceContextHolder.push(SourceConstant.BASE);
|
|
|
CustomizeArea customizeArea = customizeAreaService.getOne(q -> q
|
|
|
.eq(BaseIdPo::getId, countryId)
|
|
|
.eq(CustomizeArea::getLevelCode, 1));
|
|
|
+ DynamicDataSourceContextHolder.poll();
|
|
|
|
|
|
if (customizeArea == null) {
|
|
|
throw new ServiceException("国家为空");
|