소스 검색

fix 抵扣升级不清除codex用户

zoujiajian 3 달 전
부모
커밋
93390e9d57
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      netflix-service/src/main/java/com/cyksj/service/relation/impl/GroupRelationClearServiceImpl.java

+ 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