Commit aa8eebfb by 墨竹

fix:空

parent 8a3eac9f
...@@ -1016,11 +1016,15 @@ public class WxStaffController extends WebBaseController { ...@@ -1016,11 +1016,15 @@ public class WxStaffController extends WebBaseController {
String staffId = bindCodeMap.get(dto.getClerkCode()).getStaffId(); String staffId = bindCodeMap.get(dto.getClerkCode()).getStaffId();
StaffDTO staffDTO = staffApiService.selectById(staffId); StaffDTO staffDTO = staffApiService.selectById(staffId);
vo.setStaffId(staffId); vo.setStaffId(staffId);
if (StringUtils.isNotBlank(dto.getNationcode())) { String phoneNumber = dto.getPhoneNumber();
vo.setNationCode(dto.getNationcode()); if (StringUtils.isNotBlank(phoneNumber)) {
} vo.setPhoneNumber(phoneNumber);
if (StringUtils.isNotBlank(dto.getPhoneNumber())) { if (StringUtils.isNotBlank(dto.getNationcode())) {
vo.setPhoneNumber(dto.getPhoneNumber()); vo.setNationCode(dto.getNationcode());
}
}else {
vo.setPhoneNumber("");
vo.setNationCode("");
} }
vo.setStaffName(staffDTO == null ? "" : staffDTO.getStaffName()); vo.setStaffName(staffDTO == null ? "" : staffDTO.getStaffName());
bindList.add(vo); bindList.add(vo);
......
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