|
|
|
@@ -475,6 +475,12 @@ public class WxShopServiceImpl implements WxShopService { |
|
|
|
@Override |
|
|
|
public PageInfo<Map<String, Object>> listShopFromContract(WxShop wxShop, Integer pageIndex, Integer pageSize) { |
|
|
|
PageHelper.startPage(pageIndex, pageSize); |
|
|
|
WxRentContract wxRentContractQ = new WxRentContract(); |
|
|
|
wxRentContractQ.updateTenantInfo(wxShop); |
|
|
|
List<Long> usedShopIds = wxRentContractMapper.getUsedRentShopIds(wxRentContractQ); |
|
|
|
if (null != usedShopIds && usedShopIds.size() > 0 ) { |
|
|
|
wxShop.setNotInIdList(usedShopIds); |
|
|
|
} |
|
|
|
List<Map<String,Object>> shops = wxShopMapper.listShopFromContract(wxShop); |
|
|
|
if (null != shops) { |
|
|
|
Map<Long, String> floorMap = this.getFloorMap(wxShop); |
|
|
|
|