|
|
@ -339,6 +339,7 @@ public class SysDeptServiceImpl extends BaseServiceImpl<SysDeptDao, SysDeptEntit |
|
|
|
if (result.success()) { |
|
|
|
Object resultObject = result.getData().getResult(); |
|
|
|
Integer mId = null; |
|
|
|
// 只有新增操作result才会有值,编辑删除是null,直接通过这个来判断是不是新增操作
|
|
|
|
if (resultObject != null) { |
|
|
|
mId = Integer.valueOf(resultObject.toString()); |
|
|
|
} |
|
|
|