Ver código fonte

'优化data-transfer模块中单个设备数据写入接口,新增设备信息表产品编码必填字段的赋值'

james 5 meses atrás
pai
commit
4ce51c9369

+ 1 - 0
data-transfer/data-transfer-biz/src/main/java/com/usky/transfer/service/impl/QueryInfluxdbDataServiceImpl.java

@@ -139,6 +139,7 @@ public class QueryInfluxdbDataServiceImpl extends AbstractCrudService<QueryInflu
                 dmpDeviceInfo.setDeviceName("");
                 dmpDeviceInfo.setDeviceType(productMapVO.getDeviceType());
                 dmpDeviceInfo.setProductId(productMapVO.getProductId());
+                dmpDeviceInfo.setProductCode(productCode);
                 dmpDeviceInfo.setCreatedBy(productMapVO.getCreatedBy());
                 dmpDeviceInfo.setCreatedTime(LocalDateTime.now());
                 dmpDeviceInfo.setTenantId(productMapVO.getTenantId());