Commit 1ed502a1 by qwmqiuwenmin

fix

parent 9d8ca4a9
...@@ -604,6 +604,9 @@ public class StaffApiServiceImpl implements StaffApiService { ...@@ -604,6 +604,9 @@ public class StaffApiServiceImpl implements StaffApiService {
} }
if ("nationcode".equals(name)) { if ("nationcode".equals(name)) {
if(StringUtils.isNotBlank(value) && value.startsWith("+")){
value = value.replace("+", "");
}
clerkMid.setNationcode((StringUtils.isBlank(value) ? "86" : value)); clerkMid.setNationcode((StringUtils.isBlank(value) ? "86" : value));
continue; continue;
} }
......
...@@ -691,6 +691,9 @@ public class DepartmentContoller extends WebBaseController{ ...@@ -691,6 +691,9 @@ public class DepartmentContoller extends WebBaseController{
for (ClerkListDTO clerkListDTO : list) { for (ClerkListDTO clerkListDTO : list) {
try { try {
String nationcode = clerkListDTO.getNationcode(); String nationcode = clerkListDTO.getNationcode();
if(StringUtils.isNotBlank(nationcode) && nationcode.startsWith("+")){
nationcode = nationcode.replace("+", "");
}
String phoneNumber = clerkListDTO.getPhoneNumber(); String phoneNumber = clerkListDTO.getPhoneNumber();
if(StringUtils.isBlank(phoneNumber)){ if(StringUtils.isBlank(phoneNumber)){
continue; continue;
......
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