|
@@ -90,6 +90,12 @@ public class PromoAccountServiceImpl extends ServiceImpl<PromoAccountMapper, Pro
|
|
|
if (promoMediaDTO != null) {
|
|
|
promoAccountListVO.setMediaName(promoMediaDTO.getName());
|
|
|
}
|
|
|
+ PromoAccountLog promoAccountLog = promoAccountLogService.getOne(new LambdaQueryWrapper<PromoAccountLog>()
|
|
|
+ .eq(PromoAccountLog::getAccountId, promoAccountListVO.getId())
|
|
|
+ .isNull(PromoAccountLog::getEndTime));
|
|
|
+ if (promoAccountLog != null) {
|
|
|
+ promoAccountListVO.setStartTime(promoAccountLog.getStartTime());
|
|
|
+ }
|
|
|
promoAccountListVO.setAccountTypeName(PromoAccountTypeEnum.getNameByType(promoAccountListVO.getAccountType()));
|
|
|
return promoAccountListVO;
|
|
|
}
|