Commit ac4ea205 by 胡超

Merge remote-tracking branch 'remotes/origin/feature_20200514_1.9.23_discountActiTips'

parents a6c99dc2 e55fb237
......@@ -11,6 +11,7 @@ import cn.freemud.service.IPromotionService;
import cn.freemud.utils.WebUtil;
import com.freemud.application.sdk.api.promotioncenter.request.promotion.UnifyActivityRequest;
import com.freemud.application.sdk.api.promotioncenter.service.PromotionSdkService;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections4.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
......@@ -34,6 +35,7 @@ import java.util.stream.Collectors;
* 注意:本内容仅限于上海非码科技内部传阅,禁止外泄以及用于其他的商业目
*/
@Service
@Slf4j
public class FullPromotionService implements IPromotionService {
@Autowired
......@@ -154,7 +156,10 @@ public class FullPromotionService implements IPromotionService {
.append("</span> 减 <span style=\"color:#fa5555\">")
.append(WebUtil.formatAmount(benefitBeanDto.getDiscountAmount() * 1.00 / 100))
.append("</span> 元");
if (i > 0) messageBuilder.append(",");
if (i > 0) {
messageBuilder.append("\\,");
log.info("debug4tips:i={},tips={}", i, messageBuilder.toString());
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment