|
|
@@ -735,7 +735,9 @@ public class CorpsDescServiceImpl extends ServiceImpl<CorpsDescMapper, PjCorpsDe
|
|
|
PjCorpsAddr corpsAddr = corpsAddrService.getOne(new LambdaQueryWrapper<PjCorpsAddr>().eq(PjCorpsAddr::getIsDeleted, 0)
|
|
|
.eq(PjCorpsAddr::getTenantId, AuthUtil.getTenantId())
|
|
|
.eq(PjCorpsAddr::getPid, corpsDesc.getId())
|
|
|
- .eq(PjCorpsAddr::getDefaultAddres, "1"));
|
|
|
+ .eq(PjCorpsAddr::getDefaultAddres, "1")
|
|
|
+ .orderByDesc(PjCorpsAddr::getCreateTime)
|
|
|
+ .last(" limit 1"));
|
|
|
if (ObjectUtils.isNotNull(corpsAddr)) {
|
|
|
corpsDesc.setAttn(corpsAttn.getCname());
|
|
|
corpsDesc.setTel(corpsAttn.getTel());
|