Commit e109867d by qwmqiuwenmin

fix

parent d2c90e9a
...@@ -37,7 +37,7 @@ public class StaffServiceImpl implements StaffService { ...@@ -37,7 +37,7 @@ public class StaffServiceImpl implements StaffService {
tab.setUpdateTime(now); tab.setUpdateTime(now);
tab.setStaffId(StringUtil.randomUUID()); tab.setStaffId(StringUtil.randomUUID());
tab.setStatusFlag(1); tab.setStatusFlag(1);
if(StringUtils.isBlank(tab.getStaffId())){ if(StringUtils.isBlank(tab.getWxUserId())){
tab.setWxUserId(tab.getStaffId()); tab.setWxUserId(tab.getStaffId());
} }
mapper.insertSelective(tab); mapper.insertSelective(tab);
......
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