|
|
|
@@ -254,9 +254,6 @@ public class WxPropertyContract extends TenantEntity { |
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "首期账单收款截止日期", name = "firstBillReceiveDate") |
|
|
|
private Date firstBillReceiveDate; |
|
|
|
|
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "店铺编号串", name = "shopIdStr") |
|
|
|
private String shopIdStr; |
|
|
|
|
|
|
|
//查询过期提醒 |
|
|
|
@TableField(exist = false) |
|
|
|
private Integer outDateNofity; |
|
|
|
@@ -301,6 +298,22 @@ public class WxPropertyContract extends TenantEntity { |
|
|
|
return null; |
|
|
|
} |
|
|
|
|
|
|
|
public List<Long> shopIdsByShop() { |
|
|
|
String rentInfo = this.getRentInfo(); |
|
|
|
if (!StringUtils.isBlank(rentInfo)) { |
|
|
|
JSONArray rentInfoArray = JSONArray.parseArray(rentInfo); |
|
|
|
int size = rentInfoArray.size(); |
|
|
|
List<Long> shopIdList = new ArrayList<Long>(); |
|
|
|
for (int i = 0; i < size; i++) { |
|
|
|
JSONObject rentInfoObject = rentInfoArray.getJSONObject(i); |
|
|
|
Long shopId = rentInfoObject.getLong("id"); |
|
|
|
shopIdList.add(shopId); |
|
|
|
} |
|
|
|
return shopIdList; |
|
|
|
} |
|
|
|
return null; |
|
|
|
} |
|
|
|
|
|
|
|
public List<WxEnergyFees> getFeesStardarsList() { |
|
|
|
if (StringUtils.isNotBlank(feesStandardsInfo)) { |
|
|
|
return JSON.parseArray(feesStandardsInfo, WxEnergyFees.class); |
|
|
|
@@ -328,27 +341,6 @@ public class WxPropertyContract extends TenantEntity { |
|
|
|
return null; |
|
|
|
} |
|
|
|
|
|
|
|
public List<Long> shopIdsByShop() { |
|
|
|
if (StringUtils.isBlank(this.shopIdStr)) { |
|
|
|
return null; |
|
|
|
} |
|
|
|
String[] sidss = this.shopIdStr.split(","); |
|
|
|
if (null == sidss || sidss.length <= 0 ) { |
|
|
|
return null; |
|
|
|
} |
|
|
|
List<Long> shopIds = new ArrayList<Long>(); |
|
|
|
for (int i = 0 ; i < sidss.length; i++) { |
|
|
|
String s = sidss[i]; |
|
|
|
if (StringUtils.isNotBlank(s)) { |
|
|
|
shopIds.add(Long.parseLong(s)); |
|
|
|
} |
|
|
|
} |
|
|
|
if (shopIds.size() <= 0 ) { |
|
|
|
return null; |
|
|
|
} |
|
|
|
return shopIds; |
|
|
|
} |
|
|
|
|
|
|
|
@TableField(exist = false) |
|
|
|
private List<Long> merchantIds; |
|
|
|
|
|
|
|
|