Commit 10979da2 by 徐高华

列表查询

parent 2e406df0
......@@ -20,6 +20,7 @@ import com.gic.api.base.commons.BasePageInfo;
import com.gic.api.base.commons.Page;
import com.gic.api.base.commons.ServiceResponse;
import com.gic.commons.util.EntityUtil;
import com.gic.commons.util.PageHelperUtils;
import com.gic.commons.webapi.reponse.RestResponse;
import com.gic.haoban.base.api.common.pojo.dto.WebLoginDTO;
import com.gic.haoban.common.utils.AuthWebRequestUtil;
......@@ -28,7 +29,6 @@ import com.gic.haoban.manage.api.dto.hm.HmLinkStoreSettingDTO;
import com.gic.haoban.manage.api.dto.hm.HmPageDTO;
import com.gic.haoban.manage.api.dto.hm.WxUserAddLogDTO;
import com.gic.haoban.manage.api.dto.qdto.hm.HmLinkSearchQDTO;
import com.gic.haoban.manage.api.dto.qdto.hm.WxUserAddLogQDTO;
import com.gic.haoban.manage.api.dto.qdto.hm.WxUserAddLogSearchQDTO;
import com.gic.haoban.manage.api.dto.welcome.dto.WelcomeDetailDTO;
import com.gic.haoban.manage.api.service.hm.HmLinkApiService;
......@@ -509,13 +509,15 @@ public class HmLinkController {
@RequestMapping("statistics/log")
public RestResponse<Object> statisticsDetail(Long linkId, String clerkId, Date startTime, Date endTime,
BasePageInfo basePageInfo) {
List<WxUserAddLogVO> list = new ArrayList<>();
list.add(new WxUserAddLogVO());
Page<WxUserAddLogVO> page = new Page<>();
page.setResult(list);
WxUserAddLogSearchQDTO qdto = new WxUserAddLogSearchQDTO();
ServiceResponse<Page<WxUserAddLogDTO>> pageResp = this.wxUserAddLogApiService.page(qdto, basePageInfo);
return RestResponse.successResult(pageResp.getResult());
qdto.setLinkId(linkId);
qdto.setClerkId(clerkId);
qdto.setStartTime(startTime);
qdto.setEndTime(endTime);
ServiceResponse<Page<WxUserAddLogDTO>> pageResp = this.wxUserAddLogApiService.page(qdto, basePageInfo);
Page<WxUserAddLogVO> retPage = PageHelperUtils.changePageHelperToCurrentPage(pageResp.getResult().getResult(),
WxUserAddLogVO.class);
return RestResponse.successResult(retPage);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment