From 17c707ae3c7f52582212699a6af246aa59521351 Mon Sep 17 00:00:00 2001 From: winter Date: Sun, 21 Apr 2024 15:05:37 +0800 Subject: [PATCH] fix --- .../com/iformall/service/impl/WxBillPropertyServiceImpl.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxBillPropertyServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxBillPropertyServiceImpl.java index 5c0c37ea2..19b243ed3 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxBillPropertyServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxBillPropertyServiceImpl.java @@ -272,9 +272,8 @@ public class WxBillPropertyServiceImpl implements WxBillPropertyService { WxBillProperty record = new WxBillProperty(); record.setId(id); record.updateTenantInfo(tenantEntity); - getBillPropertyList(1, 10000, wxPayAccountBill, record); - WxBillProperty property = wxBillPropertyMapper.queryBillPropertyList(record).get(0); - + PageInfo page = getBillPropertyList(1, 10000, wxPayAccountBill, record); + WxBillProperty property = page.getList().get(0); property.setOwe(property.getRealReceivePay() - property.getPay()); return property; }