Эх сурвалжийг харах

fix 抵扣升级不清除codex用户

zoujiajian 3 сар өмнө
parent
commit
93390e9d57

+ 1 - 1
netflix-service/src/main/java/com/cyksj/service/relation/impl/GroupRelationClearServiceImpl.java

@@ -165,7 +165,7 @@ public class GroupRelationClearServiceImpl implements GroupRelationClearService
 				}
 
                 //codex
-                if (groupsRelation.getGoodsId() != null && groupsRelation.getGoodsId() == Constant.CODEX_GOODS_ID) {
+                if (groupsRelation.getGoodsId() != null && groupsRelation.getGoodsId() == Constant.CODEX_GOODS_ID && source != UserTicketClearedRecord.Source.cc_deduct) {
                     //清除套餐
                     codexService.delUserPackages(groupsRelation.getUserId());
                     //清除codex