Commit a4a05100 by 徐高华

sql

parent 5ff2297f
......@@ -213,7 +213,7 @@
<if test="null != gicFlag and gicFlag ==0 ">
and gic_flag = 0
</if>
<if test="null = gicFlag or gicFlag ==1 ">
<if test="null == gicFlag or gicFlag ==1 ">
and gic_flag = 1
</if>
<if test="null != groupChatIdList && groupChatIdList.size>0">
......
......@@ -77,24 +77,24 @@ public class GroupChatHmController {
return RestResponse.successResult(hm);
}
@RequestMapping("link-relation")
public RestResponse<Object> linkRelation(Long chatHmId , BasePageInfo basePageInfo) {
public RestResponse<Object> linkRelation(Long chatHmId, BasePageInfo basePageInfo) {
WebLoginDTO loginUser = AuthWebRequestUtil.getLoginUser();
String wxEnterpriseId = loginUser.getWxEnterpriseId() ;
ServiceResponse<Page<HmLinkChatDTO>> page = this.groupChatHmApiService.listPageChatLink(wxEnterpriseId, chatHmId, basePageInfo);
String wxEnterpriseId = loginUser.getWxEnterpriseId();
ServiceResponse<Page<HmLinkChatDTO>> page = this.groupChatHmApiService.listPageChatLink(wxEnterpriseId,
chatHmId, basePageInfo);
return RestResponse.successResult(page.getResult());
}
@RequestMapping("group-relation")
public RestResponse<Object> groupRelation(Long chatHmId , BasePageInfo basePageInfo) {
public RestResponse<Object> groupRelation(Long chatHmId, BasePageInfo basePageInfo) {
WebLoginDTO loginUser = AuthWebRequestUtil.getLoginUser();
String wxEnterpriseId = loginUser.getWxEnterpriseId() ;
GroupChatSearchQDTO qdto = new GroupChatSearchQDTO() ;
String wxEnterpriseId = loginUser.getWxEnterpriseId();
GroupChatSearchQDTO qdto = new GroupChatSearchQDTO();
qdto.setWxEnterpriseId(wxEnterpriseId);
qdto.setChatHmId(chatHmId);
ServiceResponse<Page<GroupChatDTO>> page = this.groupChatApiService.listPage(qdto, basePageInfo);
return RestResponse.successResult(page.getResult());
}
}
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