wjj пре 4 недеља
родитељ
комит
46a58e8d43
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      fs-service/src/main/java/com/fs/his/mapper/FsIntegralGoodsMapper.java

+ 1 - 1
fs-service/src/main/java/com/fs/his/mapper/FsIntegralGoodsMapper.java

@@ -81,7 +81,7 @@ public interface FsIntegralGoodsMapper
             "<if test = 'maps.goodsType != null and maps.goodsType != 0     '> " +
             "<if test = 'maps.goodsType != null and maps.goodsType != 0     '> " +
             "and g.goods_type = #{maps.goodsType}  " +
             "and g.goods_type = #{maps.goodsType}  " +
             "</if>" +
             "</if>" +
-            "<if test = 'maps.isBuy != null and maps.isBuy != 0     '> " +
+            "<if test = 'maps.isBuy != null and maps.isBuy == 1     '> " +
             "and g.integral &lt;= #{maps.integral}  " +
             "and g.integral &lt;= #{maps.integral}  " +
             "</if>" +
             "</if>" +
             " order by g.goods_id desc "+
             " order by g.goods_id desc "+