|
@@ -349,9 +349,11 @@ public class TaxSourceServiceImpl extends ServiceImpl<TaxSourceMapper,TaxSourceD
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
//查找配置的默认项
|
|
//查找配置的默认项
|
|
|
|
|
+ String substring = license.substring(0, 2);
|
|
|
|
|
+
|
|
|
TaxSourceDto taxSourceDefaultDto = baseMapper.selectOne(new LambdaQueryWrapper<TaxSourceDto>()
|
|
TaxSourceDto taxSourceDefaultDto = baseMapper.selectOne(new LambdaQueryWrapper<TaxSourceDto>()
|
|
|
.eq(TaxSourceDto::getInsCompanyId, companyId)
|
|
.eq(TaxSourceDto::getInsCompanyId, companyId)
|
|
|
- .likeRight(TaxSourceDto::getLicense, license));
|
|
|
|
|
|
|
+ .eq(TaxSourceDto::getLicense, substring));
|
|
|
if (taxSourceDefaultDto != null) {
|
|
if (taxSourceDefaultDto != null) {
|
|
|
resultId = taxSourceDefaultDto.getAgreementId();
|
|
resultId = taxSourceDefaultDto.getAgreementId();
|
|
|
}
|
|
}
|