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     '> " +
             "and g.goods_type = #{maps.goodsType}  " +
             "</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}  " +
             "</if>" +
             " order by g.goods_id desc "+