|
|
|
@@ -88,9 +88,9 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
|
} |
|
|
|
//关联的店铺 |
|
|
|
if (wxRentContract.getShopId() != null) { |
|
|
|
List<WxShop> list = new ArrayList<>(); |
|
|
|
WxShop wxShop = wxShopMapper.selectByPrimaryKey(wxRentContract.getShopId()); |
|
|
|
list.add(wxShop); |
|
|
|
WxShop record = new WxShop(); |
|
|
|
record.setId(wxRentContract.getShopId()); |
|
|
|
List<Map<String, Object>> list = wxShopMapper.findListMap(record); |
|
|
|
result.put("wxShops", list); |
|
|
|
} else { |
|
|
|
result.put("wxShops", Collections.EMPTY_LIST); |
|
|
|
|