Commit a74d794b by fudahua

根据userId 伪登录

parent e1931744
...@@ -115,10 +115,10 @@ public class InfoController extends WebBaseController{ ...@@ -115,10 +115,10 @@ public class InfoController extends WebBaseController{
DictDTO loginUserId = managerDictService.getSMSDict("app_login_phone_num", loginStaff.getPhoneNumber()); DictDTO loginUserId = managerDictService.getSMSDict("app_login_phone_num", loginStaff.getPhoneNumber());
logger.info("伪登录:{},userId:{}",loginStaff.getPhoneNumber(), JSONObject.toJSONString(loginUserId)); logger.info("伪登录:{},userId:{}",loginStaff.getPhoneNumber(), JSONObject.toJSONString(loginUserId));
if (null != loginUserId) { if (null != loginUserId) {
String wxUserId = loginUserId.getDictValue(); String val = loginUserId.getDictValue();
List<StaffDTO> staffDTOS=new ArrayList<>(); List<StaffDTO> staffDTOS=new ArrayList<>();
List<StaffDTO> phoneDtos = staffApiService.listByPhoneNumber(loginUserId.getDictCode()); List<StaffDTO> phoneDtos = staffApiService.listByPhoneNumber(val);
List<StaffDTO> userDtos = staffApiService.listByWxUserId(wxUserId); List<StaffDTO> userDtos = staffApiService.listByWxUserId(val);
if (CollectionUtils.isNotEmpty(phoneDtos)) { if (CollectionUtils.isNotEmpty(phoneDtos)) {
staffDTOS.addAll(phoneDtos); staffDTOS.addAll(phoneDtos);
} }
......
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