zhijiezhao 3 年之前
父节点
当前提交
7eb1df1eac
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/SearchMapper.xml

+ 1 - 1
src/main/resources/mapper/SearchMapper.xml

@@ -533,7 +533,7 @@
         from cm_promotions_product cpp
         left join cm_promotions cp on cp.id=cpp.promotionsId
         where cpp.productId = #{p_id}
-        and cp.endTime>now() or (cp.status='1')
+        and (cp.endTime>now() or cp.status='1')
         and cp.delflag = 0
     </select>
 </mapper>