master:推广营销优化;

pull/1121/head
liujiang 2025-08-21 15:11:16 +08:00
parent d3925e729d
commit 5ef0e1ef5c
3 changed files with 7 additions and 3 deletions

View File

@ -41,6 +41,8 @@ public class AdRoundTypeRoundResVO {
private BigDecimal startPrice; private BigDecimal startPrice;
@ApiModelProperty(value = "对象锁符号") @ApiModelProperty(value = "对象锁符号")
private String symbol; private String symbol;
@ApiModelProperty(value = "当前播放状态")
private Integer launchStatus;
@ApiModelProperty(value = "竞价状态") @ApiModelProperty(value = "竞价状态")
private Integer biddingStatus; private Integer biddingStatus;
@ApiModelProperty(value = "竞价状态名称") @ApiModelProperty(value = "竞价状态名称")

View File

@ -43,6 +43,8 @@ public class AdRoundTypeRoundResDTO {
private BigDecimal startPrice; private BigDecimal startPrice;
@ApiModelProperty(value = "对象锁符号") @ApiModelProperty(value = "对象锁符号")
private String symbol; private String symbol;
@ApiModelProperty(value = "当前播放状态")
private Integer launchStatus;
@ApiModelProperty(value = "竞价状态") @ApiModelProperty(value = "竞价状态")
private Integer biddingStatus; private Integer biddingStatus;
@ApiModelProperty(value = "竞价状态名称") @ApiModelProperty(value = "竞价状态名称")

View File

@ -225,9 +225,9 @@ public class AdvertRoundServiceImpl implements IAdvertRoundService {
AdvertRound advertRound = list.get(0); AdvertRound advertRound = list.get(0);
Integer durationDay = calculateDurationDay(advertRound.getStartTime(), advertRound.getEndTime(), Boolean.TRUE); Integer durationDay = calculateDurationDay(advertRound.getStartTime(), advertRound.getEndTime(), Boolean.TRUE);
AdRoundTypeRoundResDTO typeRoundResDTO = new AdRoundTypeRoundResDTO().setAdvertId(advertRound.getAdvertId()).setRoundId(advertRound.getRoundId()) AdRoundTypeRoundResDTO typeRoundResDTO = new AdRoundTypeRoundResDTO().setAdvertId(advertRound.getAdvertId()).setRoundId(advertRound.getRoundId())
.setSymbol(advertRound.getSymbol()).setStartTime(advertRound.getStartTime()).setEndTime(advertRound.getEndTime()) .setSymbol(advertRound.getSymbol()).setLaunchStatus(advertRound.getLaunchStatus()).setStartTime(advertRound.getStartTime())
.setStartWeekDay(getDayOfWeek(advertRound.getStartTime())).setEndWeekDay(getDayOfWeek(advertRound.getEndTime())) .setEndTime(advertRound.getEndTime()).setStartWeekDay(getDayOfWeek(advertRound.getStartTime())).setDurationDay(durationDay)
.setShowType(advertRound.getShowType()).setPosition(advertRound.getPosition()).setDurationDay(durationDay); .setEndWeekDay(getDayOfWeek(advertRound.getEndTime())).setShowType(advertRound.getShowType()).setPosition(advertRound.getPosition());
// 如果是播放论,则播放开始时间展示为当天,因为有可能是播放的中间某一天 // 如果是播放论,则播放开始时间展示为当天,因为有可能是播放的中间某一天
if (Objects.equals(advertRound.getRoundId(), AdRoundType.PLAY_ROUND.getValue())) { if (Objects.equals(advertRound.getRoundId(), AdRoundType.PLAY_ROUND.getValue())) {
Date tomorrow = Date.from(LocalDate.now().plusDays(1).atStartOfDay(ZoneId.systemDefault()).toInstant()); Date tomorrow = Date.from(LocalDate.now().plusDays(1).atStartOfDay(ZoneId.systemDefault()).toInstant());