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>