admin
2019-03-05 e42135dda61e41822f8198df33373b6b152e7ca5
分销关系队列处理
1个文件已修改
6 ■■■■■ 已修改文件
fanli/src/main/java/com/yeshi/fanli/util/SpringContext.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/util/SpringContext.java
@@ -23,6 +23,7 @@
import com.yeshi.fanli.entity.taobao.TaoBaoWeiQuanOrder;
import com.yeshi.fanli.exception.TaoBaoWeiQuanException;
import com.yeshi.fanli.log.LogHelper;
import com.yeshi.fanli.service.inter.hongbao.ThreeSaleSerivce;
import com.yeshi.fanli.service.inter.lable.BoutiqueAutoRuleService;
import com.yeshi.fanli.service.inter.lable.LabelService;
import com.yeshi.fanli.service.inter.lable.QualityFactoryService;
@@ -67,6 +68,9 @@
    @Resource
    private UserSystemCouponService userSystemCouponService;
    @Resource
    private ThreeSaleSerivce threeSaleSerivce;
    private static boolean isInited = false;
@@ -418,6 +422,8 @@
                                    String key = its.next();
                                    try {
                                        ThreeSale threeSale = map.get(key);
                                        if (threeSale != null)
                                            threeSale = threeSaleSerivce.selectByPrimaryKey(threeSale.getId());
                                        if (threeSale != null) {
                                            if (threeSale.getState() != null && threeSale.getState() == true) {
                                                // 邀请成功 - 券激活生效