zhijiezhao 3 lat temu
rodzic
commit
7eb1df1eac
1 zmienionych plików z 1 dodań i 1 usunięć
  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>