Commit a3f86c97 authored by 韩桐桐's avatar 韩桐桐

fix(jg):向新增的工程装置表刷入数据接口调整

parent 90ff4ec5
......@@ -132,7 +132,7 @@ public class DataHandlerServiceImpl {
@Transactional(rollbackFor = Exception.class)
public Boolean writeData2ProjectContraption() {
projectContraptionService.getBaseMapper().delete(null);
// projectContraptionService.getBaseMapper().delete(null);
List<IdxBizJgUseInfo> collect = useInfoService.lambdaQuery()
.select(IdxBizJgUseInfo::getRecord, IdxBizJgUseInfo::getProjectContraption, IdxBizJgUseInfo::getUseUnitCreditCode, IdxBizJgUseInfo::getUseUnitName, IdxBizJgUseInfo::getIsIntoManagement)
......@@ -152,7 +152,7 @@ public class DataHandlerServiceImpl {
boolean isLast = !iterator.hasNext();
String record = useInfo.getRecord();
Boolean isIntoManagement = useInfo.getIsIntoManagement();
Boolean isIntoManagement = ObjectUtils.isEmpty(useInfo.getIsIntoManagement()) ? Boolean.FALSE : useInfo.getIsIntoManagement();
String projectContraption = useInfo.getProjectContraption();
String useUnitCreditCode = useInfo.getUseUnitCreditCode();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment