Commit e1931744 by fudahua

根据userId 伪登录

parent f2c499fa
......@@ -119,10 +119,10 @@ public class InfoController extends WebBaseController{
List<StaffDTO> staffDTOS=new ArrayList<>();
List<StaffDTO> phoneDtos = staffApiService.listByPhoneNumber(loginUserId.getDictCode());
List<StaffDTO> userDtos = staffApiService.listByWxUserId(wxUserId);
if (CollectionUtils.isEmpty(phoneDtos)) {
if (CollectionUtils.isNotEmpty(phoneDtos)) {
staffDTOS.addAll(phoneDtos);
}
if (CollectionUtils.isEmpty(userDtos)) {
if (CollectionUtils.isNotEmpty(userDtos)) {
staffDTOS.addAll(userDtos);
}
if (CollectionUtils.isNotEmpty(staffDTOS)) {
......
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