chenjiahe
2024-01-31 047dfe3a8fbc072fcef422f7515e95253f47ca72
再生俱乐部优化
1个文件已修改
4 ■■■■ 已修改文件
phi_platform_common/src/main/java/com/hx/phip/service/tool/club/UserCluebMemberServiceTool.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi_platform_common/src/main/java/com/hx/phip/service/tool/club/UserCluebMemberServiceTool.java
@@ -475,7 +475,7 @@
                for(OrderItemSon orderItemSon:orderItemSonList){
                    if(skuNoSet.contains(orderItemSon.getGoodsNo())){
                        //疗程次数叠加,退款的也需要减去
                        chekCureVo.setCureNum(chekCureVo.getCureNum()+orderItem.getUsedTotal()-orderItem.getHasReNum());
                        chekCureVo.setCureNum(chekCureVo.getCureNum()+orderItemSon.getUsedTotal()-orderItemSon.getHasReNum());
                        chekCureVo.setCureProject(true);
                    }
                }
@@ -494,7 +494,7 @@
        values.put("orderItemId",orderItemId);
        values.put("goodsType",goodsType);
        sqlSentence.sqlSentence("SELECT id,type,goodsId,goodsNo,goodsName,usedTotal,hasReNum FROM order_item_source WHERE isDel = 0 AND orderItemId = #{m.orderItemId} AND type = #{m.type}",values);
        sqlSentence.sqlSentence("SELECT id,type,goodsId,goodsNo,goodsName,usedTotal,hasReNum FROM order_item_source WHERE isDel = 0 AND orderItemId = #{m.orderItemId} AND type = #{m.goodsType}",values);
        return commonService.selectList(OrderItemSonMapper.class,sqlSentence);
    }