Parcourir la source

1.修复setOrderState5

qmj il y a 1 semaine
Parent
commit
80434dcabe

+ 1 - 1
ruoyi-admin/src/main/java/com/ruoyi/app/order/PosOrderController.java

@@ -349,7 +349,7 @@ public class PosOrderController extends BaseController {
         if (org) {
             PosOrder order = posOrderService.getById(posOrder.getId());
             QueryWrapper<UserBilling> wrapper = new QueryWrapper<>();
-            wrapper.eq("dd_id", order.getId());
+            wrapper.eq("dd_id", order.getDdId());
 
             UserBilling billing = userBillingService.getOne(wrapper);
             if (billing == null) {