|
|
|
@ -56,7 +56,7 @@ public class ContractQueryServiceImpl implements ContractQueryService { |
|
|
|
UserGetCustomizedServiceContractVo contractVo = null; |
|
|
|
Contract contract = contractDao.selectOne(new LambdaQueryWrapper<Contract>() |
|
|
|
.eq(Contract::getFirstPartyId, datingStoreCustomerId) |
|
|
|
.orderByDesc(Contract::getSignDate) |
|
|
|
.orderByDesc(Contract::getCreateTime) |
|
|
|
.last("limit 1")); |
|
|
|
if (Objects.nonNull(contract)) { |
|
|
|
contractVo = TypeConvertUtils.convert(contract, UserGetCustomizedServiceContractVo.class); |
|
|
|
|