master:系统拦截风格榜bug修复;

pull/1121/head
liujiang 2025-09-12 14:47:58 +08:00
parent 79e920c8ef
commit c22a2a387c
3 changed files with 5 additions and 1 deletions

View File

@ -40,6 +40,8 @@ public class AdminAdRoundSysInterceptVO {
private AARSIFileVO file;
@ApiModelProperty(value = "档口商品ID集合")
private List<Long> storeProdIdList;
@ApiModelProperty(value = "风格类型")
private Integer styleType;
@Data
public static class AARSIFileVO {

View File

@ -33,6 +33,8 @@ public class AdminAdRoundSysInterceptDTO {
private AARSIFileVO file;
@ApiModelProperty(value = "档口商品ID集合")
private List<Long> storeProdIdList;
@ApiModelProperty(value = "风格类型")
private Integer styleType;
@Data
@ApiModel(value = "推广图对象")

View File

@ -253,7 +253,7 @@ public class AdminAdvertRoundServiceImpl implements IAdminAdvertRoundService {
this.record(advertRound);
}
// 设置系统拦截的数据 并将系统拦截设置为1
advertRound.setStoreId(interceptDTO.getStoreId()).setSysIntercept(AdSysInterceptType.INTERCEPT.getValue())
advertRound.setStoreId(interceptDTO.getStoreId()).setSysIntercept(AdSysInterceptType.INTERCEPT.getValue()).setStyleType(interceptDTO.getStyleType())
.setVoucherDate(java.sql.Date.valueOf(LocalDate.now())).setBiddingStatus(AdBiddingStatus.BIDDING_SUCCESS.getValue())
.setBiddingTempStatus(AdBiddingStatus.BIDDING_SUCCESS.getValue()).setCreateBy(SecurityUtils.getUsernameSafe());
if (ObjectUtils.isNotEmpty(interceptDTO.getFile())) {