Commit 5589f310 authored by 赵啸非's avatar 赵啸非

修复bug

parent 663bcd45
......@@ -260,7 +260,7 @@ public class StaffServiceImpl extends AbstractCRUDCacheServiceImpl<StaffDao, Sta
StaffLeaveQuery staffLeaveQuery = new StaffLeaveQuery();
staffLeaveQuery.setWorkNum(staffEntity.getWorkNum());
StaffLeaveEntity staffLeaveEntity = staffLeaveService.selectOne(staffLeaveQuery, null);
if (!ObjectUtils.isEmpty(staffEntity)) {
if (!ObjectUtils.isEmpty(staffLeaveEntity)) {
staffLeaveService.remove(staffLeaveEntity.getId(), null);
}
}
......
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