xiewenjie 3 роки тому
батько
коміт
a45b1e4969

+ 2 - 2
sxz-core/src/main/java/com/fdkk/sxz/webApi/mapper/IRenovationPartsDetailMapper.java

@@ -73,13 +73,13 @@ public interface IRenovationPartsDetailMapper extends IBaseMapper<RenovationPart
             "<if test= 'param.partsStyleId != null'> " +
             " and f.id  =#{param.partsStyleId}" +
             "</if> " +
-            "<if test= 'param.partsAttachingId != null and param.partsAttachingType == \"wall\" '> " +
+            "<if test= 'param.partsAttachingType != null and param.partsAttachingType == \"wall\" '> " +
             " and g.wall_attaching= 1" +
             "</if> " +
             "<if test= 'param.partsAttachingType != null and param.partsAttachingType == \"floor\" '> " +
             " and g.floor_attaching = 1" +
             "</if> " +
-            "<if test= 'param.partsAttachingId != null and param.partsAttachingType == \"ceil\" '> " +
+            "<if test= 'param.partsAttachingType != null and param.partsAttachingType == \"ceil\" '> " +
             " and g.ceil_attaching = 1" +
             "</if> " +
             " GROUP BY a.name ORDER BY a.create_time desc" +