master:推广营销优化;
parent
c6f63454c8
commit
73694a9560
|
|
@ -6,6 +6,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
|
|
@ -40,7 +41,7 @@ public class AdvertRoundStorePageResDTO {
|
|||
@ApiModelProperty(value = "投放结束时间")
|
||||
private String endTime;
|
||||
@ApiModelProperty(value = "出价")
|
||||
private String payPrice;
|
||||
private BigDecimal payPrice;
|
||||
@ApiModelProperty(value = "商品ID")
|
||||
private String prodIdStr;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
|
|
|
|||
|
|
@ -725,6 +725,7 @@ public class AdvertRoundServiceImpl implements IAdvertRoundService {
|
|||
throw new ServiceException("当前用户非档口管理者或子账号,无权限操作!", HttpStatus.ERROR);
|
||||
}
|
||||
PageHelper.startPage(pageDTO.getPageNum(), pageDTO.getPageSize());
|
||||
// 过滤掉系统管理员拦截的推广
|
||||
List<AdvertRoundStorePageResDTO> list = this.advertRoundMapper.selectStoreAdvertPage(pageDTO);
|
||||
List<String> idList = list.stream().map(AdvertRoundStorePageResDTO::getProdIdStr)
|
||||
.filter(StringUtils::isNotBlank).flatMap(str -> StrUtil.split(str, ",").stream())
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
ar.voucher_date,
|
||||
ar.start_time,
|
||||
ar.end_time,
|
||||
ar.pay_price,
|
||||
ar.pay_price AS payPrice,
|
||||
ar.launch_status,
|
||||
ar.bidding_status,
|
||||
ar.pic_design_type,
|
||||
|
|
@ -52,6 +52,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
LEFT JOIN sys_file sf ON ar.pic_id = sf.id
|
||||
WHERE
|
||||
ar.del_flag = 0
|
||||
AND ar.sys_intercept = 0
|
||||
AND ar.store_id = #{storeId}
|
||||
AND ar.bidding_status IN
|
||||
<foreach item="biddingStatus" collection="biddingStatusList" open="(" separator="," close=")">
|
||||
|
|
|
|||
Loading…
Reference in New Issue