Commit aaf08aa6 by 徐高华

test

parent 0ece884a
......@@ -97,10 +97,7 @@
<select id="listPage" parameterType="com.gic.haoban.manage.api.dto.qdto.hm.HmLinkChatQDTO" resultType="com.gic.haoban.manage.api.dto.hm.HmLinkChatDTO">
SELECT a.link_id linkId , b.`name` name , b.`link_code` linkCode , b.`short_code` shortCode FROM tab_haoban_hm_link_chat a LEFT JOIN tab_haoban_hm_link b ON a.link_id = b.link_id
WHERE a.wx_enterprise_id=#{wxEnterpriseId}
<if test="null != chatHmId">
and a.chat_hm_id = #{chatHmId}
</if>
WHERE a.wx_enterprise_id=#{wxEnterpriseId} and a.enterprise_id=#{enterpriseId} and a.chat_hm_id = #{chatHmId}
GROUP BY a.`link_id`
</select>
......
......@@ -107,8 +107,8 @@ public class GroupChatHmController {
qdto.setEnterpriseId(loginUser.getEnterpriseId());
qdto.setChatHmId(chatHmId);
ServiceResponse<Page<HmLinkChatDTO>> pageResp = this.groupChatHmApiService.listPageChatLink(qdto, basePageInfo);
Page<HmLinkChatDTO> page = pageResp.getResult() ;
Page<HmLinkChatListVO> retPage = PageHelperUtils.changePageToCurrentPage(page, HmLinkChatListVO.class) ;
Page<HmLinkChatDTO> page = pageResp.getResult();
Page<HmLinkChatListVO> retPage = PageHelperUtils.changePageToCurrentPage(page, HmLinkChatListVO.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