Commit 79ae725f by qwmqiuwenmin

fix

parent 679277bd
......@@ -54,7 +54,7 @@ public class StaffServiceImpl implements StaffService {
@Override
public void updateByPrimaryKey(TabHaobanStaff tab) {
mapper.updateByPrimaryKey(tab);
mapper.updateByPrimaryKeySelective(tab);
}
@Override
......
......@@ -283,7 +283,7 @@ public class StaffApiServiceImpl implements StaffApiService {
related.setPhoneNumber(staffDTO.getPhoneNumber());
related.setStatusFlag(1);
related.setUpdateTime(new Date());
related.setWxUserId(staffDTO.getWxUserId());
related.setWxUserId(oldStaff.getWxUserId());
related.setWxEnterpriseId(staffDTO.getWxEnterpriseId());
staffDepartmentRelatedService.add(related);
}else{
......
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