chenjiahe
2023-05-10 01fbcb62fbd9ac4d72d1bed3d87da5a6c73af698
phi_platform_user/src/main/java/com/hx/phip/tool/refund/OrderRefundCancelTool.java
@@ -83,7 +83,7 @@
            values.put("status",RefundRecordConsumePay.NO);
            values.put("statusOld",RefundRecordConsumePay.YES);
            values.put("id",refundRecordConsumePay.getId());
            sqlSentence.sqlUpdate("status = #{m.status} WHERE id = #{m.id} AND statusOld = #{m.statusOld}",values);
            sqlSentence.sqlUpdate("status = #{m.status} WHERE id = #{m.id} AND status = #{m.statusOld}",values);
            if(commonService.updateWhere(RefundRecordConsumePayMapper.class,sqlSentence) != 1){
                throw new TipsException("退款金额记录状态错误!");
            }
@@ -468,7 +468,7 @@
        }
        //找到用户项目
        UserProjectItem userProjectItem = PartialRefundUtil.getUserProject(refundRecordItem.getId(),commonService);
        UserProjectItem userProjectItem = PartialRefundUtil.getUserProject(orderItem.getId(),commonService);
        if (userProjectItem == null) {
            throw new PlatTipsException(PlatformCode.ERROR_TIPS,orderItem.getGoodsName()+"["+orderItem.getGoodsNo()+"]"+"未找到用户子项项目信息");
        }