|
|
|
@@ -196,6 +196,21 @@ public class WxBillAllHelper { |
|
|
|
return null; |
|
|
|
} |
|
|
|
|
|
|
|
public String getMerchantShopRentArea(WxMerchant merchant) { |
|
|
|
List<WxShopVo> shopList = wxShopService.findMerchantShopVoList(merchant, merchant.getId()); |
|
|
|
if (null != shopList && shopList.size() > 0 ) { |
|
|
|
BigDecimal rs = new BigDecimal(0); |
|
|
|
for (int i = 0 ; i < shopList.size() ; i ++) { |
|
|
|
WxShopVo v = shopList.get(i); |
|
|
|
if (null != v.getOperationArea()) { |
|
|
|
rs = rs.add(new BigDecimal(v.getOperationArea())); |
|
|
|
} |
|
|
|
} |
|
|
|
return rs.toPlainString(); |
|
|
|
} |
|
|
|
return "0"; |
|
|
|
} |
|
|
|
|
|
|
|
public List<Long> getOwdMerchantIds(WxMerchant wxMerchant,Date starttime, Date enttime) { |
|
|
|
WxAllBill br = new WxAllBill(); |
|
|
|
updateQueryParm(wxMerchant, br,starttime,enttime); |
|
|
|
|