Commit e55fb237 by 胡超

测试满减提示语分隔符

parent c5e9aa81
...@@ -11,6 +11,7 @@ import cn.freemud.service.IPromotionService; ...@@ -11,6 +11,7 @@ import cn.freemud.service.IPromotionService;
import cn.freemud.utils.WebUtil; import cn.freemud.utils.WebUtil;
import com.freemud.application.sdk.api.promotioncenter.request.promotion.UnifyActivityRequest; import com.freemud.application.sdk.api.promotioncenter.request.promotion.UnifyActivityRequest;
import com.freemud.application.sdk.api.promotioncenter.service.PromotionSdkService; import com.freemud.application.sdk.api.promotioncenter.service.PromotionSdkService;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -34,6 +35,7 @@ import java.util.stream.Collectors; ...@@ -34,6 +35,7 @@ import java.util.stream.Collectors;
* 注意:本内容仅限于上海非码科技内部传阅,禁止外泄以及用于其他的商业目 * 注意:本内容仅限于上海非码科技内部传阅,禁止外泄以及用于其他的商业目
*/ */
@Service @Service
@Slf4j
public class FullPromotionService implements IPromotionService { public class FullPromotionService implements IPromotionService {
@Autowired @Autowired
...@@ -154,7 +156,10 @@ public class FullPromotionService implements IPromotionService { ...@@ -154,7 +156,10 @@ public class FullPromotionService implements IPromotionService {
.append("</span> 减 <span style=\"color:#fa5555\">") .append("</span> 减 <span style=\"color:#fa5555\">")
.append(WebUtil.formatAmount(benefitBeanDto.getDiscountAmount() * 1.00 / 100)) .append(WebUtil.formatAmount(benefitBeanDto.getDiscountAmount() * 1.00 / 100))
.append("</span> 元"); .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