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