Commit 6ba91571 by qwmqiuwenmin

fix

parent 7da35c2a
......@@ -43,6 +43,10 @@ public class DepartmentServiceImpl implements DepartmentService {
int maxSort = mapper.selectMaxSort(department.getParentDepartmentId());
tab.setSort(maxSort + 1);
}
Integer isStore = department.getIsStore();
if(isStore == null){
department.setIsStore(0);
}
tab.setCreateTime(now);
tab.setUpdateTime(now);
tab.setStatusFlag(1);
......
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