Przeglądaj źródła

d 度小满素材审核定时任务

zhaoxian 2 lat temu
rodzic
commit
7ac5a9dbf4

+ 1 - 3
module-common/src/main/java/cn/com/ctop/common/module/mapper/xml/MaterialInfoMapper.xml

@@ -208,9 +208,7 @@
 
     <select id="getDuxiaomanMaterialInfoByStatus" resultType="java.lang.String">
         SELECT id FROM `ctop_duxiaoman_material_info`
-        WHERE stat_date >= DATE_FORMAT(DATE_SUB(NOW(),INTERVAL 1 DAY),'%Y-%m-%d')
-        AND stat_date &lt;= DATE_FORMAT(NOW(),'%Y-%m-%d')
-        AND `status` = #{status}
+        WHERE `status` = #{status}
     </select>
 
     <select id="getBytedanceCountByCode" resultType="java.lang.Integer">