From 910578c721db108297237f9b7ce7d78ff20ac853 Mon Sep 17 00:00:00 2001 From: yupeng <roc__yu@163.com> Date: 星期四, 17 四月 2025 11:44:49 +0800 Subject: [PATCH] feat: 创建订单返回H5二维码支付地址 --- ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TBillServiceImpl.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TBillServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TBillServiceImpl.java index 01439f8..c509586 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TBillServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TBillServiceImpl.java @@ -154,7 +154,7 @@ if (presist.getPayFeesStatus().equals("3")){ throw new ServiceException("该账单已缴费完成"); } - save.setBusinessDeptId(presist.getBusinessDeptId()); + switch (type){ // 仅更新除金额字段外的属性 case 1: @@ -211,6 +211,7 @@ break; } + save.setBusinessDeptId(presist.getBusinessDeptId()); updateById(save); return save; }finally { @@ -419,6 +420,7 @@ } + /** * 根据发票编号查询账单列表 * @param invoiceId -- Gitblit v1.7.1