...
|
...
|
@@ -103,6 +103,12 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport |
|
|
@Override
|
|
|
public PageUnionShareOrderRspBO queryUnionShareOrders(UnionShareOrderSearchReqBO reqBO){
|
|
|
logger.info("queryUnionShareOrders param is {}", reqBO);
|
|
|
/*
|
|
|
* 由于不能连表查所以解决方案有二:
|
|
|
* 1.牺牲内存,临时数据先查出存到内存中(比如这里 uids),缺点是数据太多的话内存放不下
|
|
|
* 2.数据库添加冗余外表字段(比如A表连接B表查,可把B表中用的字段在A表也添加上去,缺点是业务复杂度提高)
|
|
|
*
|
|
|
*/
|
|
|
UnionShareOrderSearchBo bo=initUnionShareOrderSearchBo(reqBO);
|
|
|
List<Integer> uids=null;
|
|
|
if(bo.getUnionType()!=null || bo.getUnionName()!=null || bo.getChannelType()!=null){
|
...
|
...
|
|