Commit 314d05d0 by 墨竹

refactor:增加判断

parent cff2b674
......@@ -33,6 +33,9 @@ public class StaffServiceImpl implements StaffService {
@Override
public TabHaobanStaff selectById(String id) {
if (StringUtils.isBlank(id)) {
return null;
}
return mapper.selectByPrimaryKey(id);
}
......
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