Browse Source

topic列表返回接口数据增加筛选条件

fuyuchuan 1 month ago
parent
commit
f62fa2319a

+ 2 - 1
service-iot/service-iot-biz/src/main/java/com/usky/iot/service/impl/DmpDeviceInfoServiceImpl.java

@@ -305,7 +305,8 @@ public class DmpDeviceInfoServiceImpl extends AbstractCrudService<DmpDeviceInfoM
      */
     private List<DmpProductAttribute> getProductAttributeList(Integer productId) {
         LambdaQueryWrapper<DmpProductAttribute> queryWrapper = new LambdaQueryWrapper<>();
-        queryWrapper.eq(DmpProductAttribute::getProductId, productId);
+        queryWrapper.eq(DmpProductAttribute::getProductId, productId)
+                .eq(DmpProductAttribute::getDeleteFlag, 0);
         return dmpProductAttributeMapper.selectList(queryWrapper);
     }