Commit b217b240 by 徐高华

log

parent c5cefd7c
......@@ -321,11 +321,15 @@ public class StaffApiServiceImpl implements StaffApiService {
res.setCode(3);
return res;
}
String nationCode = null ;
String phoneNumber = null;
String imageUrl = changeHeaderImageUrl(user.getAvatar());
String mobile = user.getMobile();
String[] arr = getNationCodeAndPhoneNumber(mobile);
String nationCode = arr[0];
String phoneNumber = arr[1];
if(StringUtils.isNotBlank(mobile)) {
String[] arr = getNationCodeAndPhoneNumber(mobile);
nationCode = arr[0];
phoneNumber = arr[1];
}
TabHaobanStaff staff = staffService.selectByPhoneNumberOrUserIdAndEnterpriseId(phoneNumber, userId, wxEnterpriseId);
if (staff != null) {
staffService.delOtherStaffByWxUserId(staff.getWxUserId(), staff.getStaffId(), wxEnterpriseId);
......
......@@ -368,6 +368,7 @@ public class StaffController extends WebBaseController {
logger.info("没有权限门店");
return resultResponse(HaoBanErrCode.ERR_1);
}
logger.info("好办门店数={},wxEnterpriseId={},enterpriseIds={}",storeIds.size(),wxEnterpriseId,enterpriseIds);
List<ClerkDTO> clerkDTOList = clerkNewService.listClerkByEnterpriseIdAndSearchAndClerkType(enterpriseIds, storeIds, search);
List<ClerkInfoVo> retList = EntityUtil.changeEntityListByJSON(ClerkInfoVo.class, clerkDTOList);
if (CollectionUtils.isNotEmpty(retList)) {
......
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