소스 검색

fix contract

release_toaliyun_real
xiaohanzi 5 년 전
부모
커밋
d5f3e27b23
1개의 변경된 파일9개의 추가작업 그리고 7개의 파일을 삭제
  1. +9
    -7
      mallinkService/src/main/java/com/iformall/domain/po/WxRentContract.java

+ 9
- 7
mallinkService/src/main/java/com/iformall/domain/po/WxRentContract.java 파일 보기

@@ -278,13 +278,15 @@ public class WxRentContract extends TenantEntity {
public List<Long> shopIdsByRentInfo() {
List<Long> shopList = Lists.newArrayList();
String rentInfo = this.getRentInfo();
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");
shopList.add(shopId);
}
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");
shopList.add(shopId);
}
}
return shopList;
}
}


불러오는 중...
취소
저장