...
|
...
|
@@ -19,6 +19,8 @@ import java.util.stream.Collectors; |
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
|
import com.yoho.service.model.union.request.*;
|
|
|
import com.yoho.service.model.union.response.*;
|
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.elasticsearch.common.collect.Maps;
|
...
|
...
|
@@ -56,20 +58,6 @@ import com.yoho.service.model.union.bo.UnionShareOrdersUidBo; |
|
|
import com.yoho.service.model.union.bo.UnionShareUserBankBo;
|
|
|
import com.yoho.service.model.union.bo.UnionShareUserBo;
|
|
|
import com.yoho.service.model.union.bo.UnionShareVirtualAddBo;
|
|
|
import com.yoho.service.model.union.request.UninoShareIncomeRankReqBo;
|
|
|
import com.yoho.service.model.union.request.UnionShareMessageReqBO;
|
|
|
import com.yoho.service.model.union.request.UnionShareOrderReqBO;
|
|
|
import com.yoho.service.model.union.request.UnionShareOrderSearchReqBO;
|
|
|
import com.yoho.service.model.union.request.UnionShareOrdersMonthReqBO;
|
|
|
import com.yoho.service.model.union.request.UnionShareUserApplyListReqBo;
|
|
|
import com.yoho.service.model.union.request.UnionShareUserApplyReqBo;
|
|
|
import com.yoho.service.model.union.request.UnionShareUserBankListReqBo;
|
|
|
import com.yoho.service.model.union.response.PageResponseBO;
|
|
|
import com.yoho.service.model.union.response.PageUnionShareOrderRspBO;
|
|
|
import com.yoho.service.model.union.response.UnionShareOrderRspBO;
|
|
|
import com.yoho.service.model.union.response.UnionShareStatisticsRspBO;
|
|
|
import com.yoho.service.model.union.response.UnionShareUserApplyListBo;
|
|
|
import com.yoho.service.model.union.response.UnionShareUserBankListBO;
|
|
|
import com.yoho.unions.common.enums.BankEnum;
|
|
|
import com.yoho.unions.common.enums.ShareOrdersKeyEnum;
|
|
|
import com.yoho.unions.common.enums.ShareOrdersStatusEnum;
|
...
|
...
|
@@ -435,6 +423,27 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport |
|
|
result.setTotal(total);
|
|
|
return result;
|
|
|
}
|
|
|
/**
|
|
|
* 查询申请记录
|
|
|
* @param req
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
public PageResponseBO<UnionShareUserRspBo> queryUnionShareUsers(UnionShareUserReqBO req) {
|
|
|
logger.info("queryUnionShareUsers.req is {}",req);
|
|
|
int total=this.unionShareUserMapper.selectTotalByCondition(req);
|
|
|
if(total==0){
|
|
|
logger.info("queryUnionShareUsers end.req is {},total is 0",req);
|
|
|
return null;
|
|
|
}
|
|
|
List<UnionShareUserRspBo> list=this.unionShareUserMapper.selectByCondition(req);
|
|
|
PageResponseBO<UnionShareUserRspBo> result=new PageResponseBO<>();
|
|
|
result.setList(list);
|
|
|
result.setPage(req.getPage());
|
|
|
result.setSize(req.getSize());
|
|
|
result.setTotal(total);
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
private void covertSocialMedia(UnionShareUserApplyListBo bo) {
|
|
|
if (null != bo.getSocialMedia()) {
|
...
|
...
|
|