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>