提交 e0c5897b 作者: 沈振路

isPay

上级 4613d74b
package com.yaoyaozw.customer.service.wechat.service;
import cn.hutool.core.util.ObjectUtil;
import com.yaoyaozw.customer.constants.CustomerCommonConstant;
import com.yaoyaozw.customer.entity.AuthorizerToken;
import com.yaoyaozw.customer.entity.CustomerDelayPublish;
......@@ -64,7 +65,7 @@ public class WeChatServiceImpl implements WeChatService{
if (sendCustomerDelays!=null){
//找付费类型
List<CustomerDelayItemVO> collect = sendCustomerDelays.stream().filter(a -> user.getPayType().equals(a.getIsPay()) ).collect(Collectors.toList());
List<CustomerDelayItemVO> collect = sendCustomerDelays.stream().filter(a -> a.getIsPay().equals(-1) || user.getPayType().equals(a.getIsPay()) ).collect(Collectors.toList());
if (!collect.isEmpty()){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论