|
|
|
@@ -582,6 +582,23 @@ public class WxRentContract extends TenantEntity { |
|
|
|
return sb.toString(); |
|
|
|
} |
|
|
|
|
|
|
|
public String getRentInfoShopId() { |
|
|
|
StringBuffer sb = new StringBuffer(""); |
|
|
|
String rentInfo = this.getRentInfo(); |
|
|
|
if (!StringUtils.isBlank(rentInfo)) { |
|
|
|
JSONArray rentInfoArray = JSONArray.parseArray(rentInfo); |
|
|
|
int size = rentInfoArray.size(); |
|
|
|
for (int i = 0; i < size; i++) { |
|
|
|
JSONObject rentInfoObject = rentInfoArray.getJSONObject(i); |
|
|
|
Long shopId = rentInfoObject.getLong("id"); |
|
|
|
if (null != shopId) { |
|
|
|
sb.append(shopId).append(","); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return sb.toString(); |
|
|
|
} |
|
|
|
|
|
|
|
public Map<Long,WxEnergyFees> getDepositEnergyFees(Map<Long,WxEnergyFees> feesMap) { |
|
|
|
String dsdstr = this.getCashtypeContentLsit(); |
|
|
|
if (!StringUtils.isBlank(dsdstr)) { |
|
|
|
|