|
@@ -2,12 +2,6 @@ package org.springblade.manager.service.impl;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
-import net.sourceforge.pinyin4j.PinyinHelper;
|
|
|
-import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType;
|
|
|
-import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat;
|
|
|
-import net.sourceforge.pinyin4j.format.HanyuPinyinToneType;
|
|
|
-import net.sourceforge.pinyin4j.format.HanyuPinyinVCharType;
|
|
|
-import net.sourceforge.pinyin4j.format.exception.BadHanyuPinyinOutputFormatCombination;
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
import org.springblade.common.utils.SnowFlakeUtil;
|
|
|
import org.springblade.core.log.exception.ServiceException;
|
|
@@ -584,7 +578,7 @@ public class WbsTreeServiceImpl extends BaseServiceImpl<WbsTreeMapper, WbsTree>
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
//@AvoidRepeatableCommit //aop
|
|
|
- public Boolean submitWbsTreeInProject1(WbsTreeContractDTO pawDTO) {
|
|
|
+ public Boolean submitWbsTreeInProject(WbsTreeContractDTO pawDTO) {
|
|
|
if (StringUtils.isEmpty(pawDTO.getWbsId())) {
|
|
|
throw new ServiceException("请正确选择一个wbs模板");
|
|
|
}
|