|
@@ -123,6 +123,10 @@ public class BaseProductClassController extends JeecgController<BaseProductClass
|
|
|
return Result.error("产品分类编码重复,请修改!");
|
|
|
}
|
|
|
|
|
|
+ if(StringUtils.isBlank(baseProductClass.getParentId())){
|
|
|
+ baseProductClass.setParentId("");
|
|
|
+ }
|
|
|
+
|
|
|
baseProductClassService.updateById(baseProductClass);
|
|
|
return Result.OK("编辑成功!");
|
|
|
}
|