Commit c43333b3 by 墨竹

feat:判断空

parent d1f5f523
......@@ -69,8 +69,9 @@ public interface MessageApiService {
*
* @param wxEnterpriseId 微信企业id
* @param wxUserId 微信用户id
* @author xuwenqian
* @date 2021-07-16 10:09:00
* @return {@link String }
* @author mozhu
* @date 2022-03-10 13:48:10
*/
String getNewWxUserId(String wxEnterpriseId, String wxUserId);
......
......@@ -436,6 +436,9 @@ public class MessageApiServiceImpl implements MessageApiService {
@Override
public String getNewWxUserId(String wxEnterpriseId, String wxUserId) {
WxEnterpriseDTO wxEnterpriseDTO = wxEnterpriseService.selectById(wxEnterpriseId);
if (wxEnterpriseDTO == null) {
return "";
}
String corpid = wxEnterpriseDTO.getCorpid();
TabHaobanStaff tabHaobanStaff = staffService.selectByUserIdAndEnterpriseId(wxUserId, wxEnterpriseId);
if (tabHaobanStaff == null) {
......
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