Commit fd37e376 authored by suhuiguang's avatar suhuiguang

feat(已纳管设备无证时可编辑):已纳管设备调整

1.已纳管设备调整 2.技术参数整理
parent c6575ca2
......@@ -346,7 +346,8 @@ public class IdxBizJgProjectContraptionServiceImplService extends BaseEntityServ
}
IPage<IdxBizJgProjectContraption> pageList = queryWrapper.page(page);
// 单位类型区分的企业还是监管
String companyType2 = CommonServiceImpl.getCompanyType(company);
if (!ValidationUtil.isEmpty(pageList.getRecords())) {
pageList.getRecords().forEach(record -> {
BigDecimal pipelineLength = BigDecimal.valueOf(record.getPipelineLength());
......@@ -360,6 +361,7 @@ public class IdxBizJgProjectContraptionServiceImplService extends BaseEntityServ
.map(value -> value == null ? "" : value)
.collect(Collectors.joining())
);
record.setCompanyType(companyType2);
});
List<Long> projectContraptionIdList = pageList.getRecords().stream().map(IdxBizJgProjectContraption::getSequenceNbr).collect(Collectors.toList());
......
......@@ -312,4 +312,12 @@ public class IdxBizJgProjectContraption extends BaseEntity {
*/
@TableField("create_date")
private Date createDate;
/**
* 公司类型区分监督还是企业
*/
@TableField(exist = false)
private String companyType;
}
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