|
@@ -20,6 +20,7 @@ import com.pj.project4sp.SP;
|
|
import com.pj.tb_enterprise.TbEnterprise;
|
|
import com.pj.tb_enterprise.TbEnterprise;
|
|
import com.pj.tb_enterprise.TbEnterpriseMapper;
|
|
import com.pj.tb_enterprise.TbEnterpriseMapper;
|
|
import com.pj.tb_enterprise.TbEnterpriseService;
|
|
import com.pj.tb_enterprise.TbEnterpriseService;
|
|
|
|
+import com.pj.tb_shop.vo.ShopVo;
|
|
import com.pj.tb_trade_area.TbTradeArea;
|
|
import com.pj.tb_trade_area.TbTradeArea;
|
|
import com.pj.tb_trade_area.TbTradeAreaService;
|
|
import com.pj.tb_trade_area.TbTradeAreaService;
|
|
import com.pj.utils.so.SoMap;
|
|
import com.pj.utils.so.SoMap;
|
|
@@ -103,6 +104,22 @@ public class TbShopService extends ServiceImpl<TbShopMapper, TbShop> implements
|
|
return tbShopMapper.getList(so);
|
|
return tbShopMapper.getList(so);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * app查集合
|
|
|
|
+ */
|
|
|
|
+ List<ShopVo> getAppList() {
|
|
|
|
+ SoMap so = new SoMap();
|
|
|
|
+ so.set("deleteStatus", 1);
|
|
|
|
+ List<TbShop> list = tbShopMapper.getList(so);
|
|
|
|
+
|
|
|
|
+ List<ShopVo> shopVoList = new ArrayList<>();
|
|
|
|
+ list.forEach(tbShop -> {
|
|
|
|
+ ShopVo shopVo = new ShopVo();
|
|
|
|
+ BeanUtils.copyProperties(tbShop,shopVo);
|
|
|
|
+ shopVoList.add(shopVo);
|
|
|
|
+ });
|
|
|
|
+ return shopVoList;
|
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
/**
|
|
* 导入
|
|
* 导入
|