소스 검색

fix 发货扣除次数

zoujiajian 1 년 전
부모
커밋
cd6f45d2a6
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      netflix-web/src/main/java/com/cyksj/web/controller/manage/group/CmsGroupRelationController.java

+ 1 - 1
netflix-web/src/main/java/com/cyksj/web/controller/manage/group/CmsGroupRelationController.java

@@ -203,7 +203,7 @@ public class CmsGroupRelationController {
         }
         groupsRelationMapper.updateById(relation);
         //GPT代充
-        if (orderDon != null && orderDon.getGoodsId() == Constant.GPT_RECHARGE_GOODS_ID) {
+        if (orderDon != null) {
             //扣除次数
             Integer rechargeRemainNum = relation.getRechargeRemainNum();
             if (rechargeRemainNum != null && rechargeRemainNum > 0) {