|
|
@@ -20,6 +20,7 @@ import com.ruoyi.base.platform.service.IPlatformInfoService;
|
|
|
import com.ruoyi.tool.service.JzqService;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
import java.io.File;
|
|
|
@@ -136,6 +137,7 @@ public class PlatformInfoServiceImpl implements IPlatformInfoService {
|
|
|
* @param bo 平台信息管理
|
|
|
* @return 结果
|
|
|
*/
|
|
|
+ @Transactional
|
|
|
@Override
|
|
|
public Boolean insertByBo(PlatformInfoBo bo) {
|
|
|
PlatformInfoVo info = getInfo();
|
|
|
@@ -154,6 +156,7 @@ public class PlatformInfoServiceImpl implements IPlatformInfoService {
|
|
|
validEntityBeforeSave(update);
|
|
|
flag = baseMapper.updateById(update) > 0;
|
|
|
}
|
|
|
+ organizationCreate();
|
|
|
return flag;
|
|
|
}
|
|
|
|