|
@@ -4,8 +4,6 @@ package org.springblade.manager.service.impl;
|
|
|
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
-import org.springblade.business.entity.ConstructionLedger;
|
|
|
-import org.springblade.business.mapper.ConstructionLedgerMapper;
|
|
|
import org.springblade.common.utils.SnowFlakeUtil;
|
|
|
import org.springblade.core.log.logger.BladeLogger;
|
|
|
import org.springblade.core.mp.base.BaseServiceImpl;
|
|
@@ -31,7 +29,7 @@ public class WbsTreeContractServiceImpl
|
|
|
|
|
|
private final BladeLogger logger;
|
|
|
private final WbsTreePrivateServiceImpl wbsTreePrivateService;
|
|
|
- private final ConstructionLedgerMapper constructionLedgerMapper;
|
|
|
+// private final ConstructionLedgerMapper constructionLedgerMapper;
|
|
|
private final WbsTreePrivateMapper wbsTreePrivateMapper;
|
|
|
private final WbsInfoMapper wbsInfoMapper;
|
|
|
|
|
@@ -77,14 +75,14 @@ public class WbsTreeContractServiceImpl
|
|
|
if (wbsTreePrivate.getDeptCategory() == 6
|
|
|
&& wbsTreePrivate.getDeptCategory() != null
|
|
|
&& !("").equals(wbsTreePrivate.getDeptCategory())) {
|
|
|
- ConstructionLedger constructionLedger = new ConstructionLedger();
|
|
|
+ /*ConstructionLedger constructionLedger = new ConstructionLedger();
|
|
|
constructionLedger.setIsBeton(0);
|
|
|
constructionLedger.setWbsId(Long.parseLong(pawDTO.getWbsId()));
|
|
|
- constructionLedger.setContractId(Long.parseLong(pawDTO.getContractId()));
|
|
|
- int b2 = constructionLedgerMapper.insert(constructionLedger);
|
|
|
+ constructionLedger.setContractId(Long.parseLong(pawDTO.getContractId()));*/
|
|
|
+ /*int b2 = constructionLedgerMapper.insert(constructionLedger);
|
|
|
if (b2 > 0) {
|
|
|
logger.info(constructionLedger.getId().toString(), "初始化施工台账成功");
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|
|
|
}
|
|
|
}
|