Commit 6143c948 by fudahua

代码异常

parent 4e0dc304
......@@ -603,16 +603,16 @@ public class StaffApiServiceImpl implements StaffApiService {
}
TabHaobanDepartment department = departmentService.selectByRelatedId(gicStoreId);
if(department == null){
try {
Thread.sleep(3 * 1000);
department = departmentService.selectByRelatedId(gicStoreId);
} catch (InterruptedException e) {
e.printStackTrace();
}
if(department == null){
// try {
// Thread.sleep(3 * 1000);
// department = departmentService.selectByRelatedId(gicStoreId);
// } catch (InterruptedException e) {
// e.printStackTrace();
// }
// if(department == null){
logger.info("【店员同步】department为空");
return;
}
// }
}
String departmentId = department.getDepartmentId();
String wxEnterpriseId = department.getWxEnterpriseId();
......
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