1
This commit is contained in:
@@ -29,7 +29,7 @@ public class LogisticsScanTask {
|
|||||||
* 定时任务:每1小时执行一次
|
* 定时任务:每1小时执行一次
|
||||||
* Cron表达式:0 0 * * * ? 表示每小时的第0分钟执行
|
* Cron表达式:0 0 * * * ? 表示每小时的第0分钟执行
|
||||||
*/
|
*/
|
||||||
@Scheduled(cron = "0 */30 * * * ?")
|
@Scheduled(cron = "0 */20 * * * ?")
|
||||||
public void scanAndFetchLogistics() {
|
public void scanAndFetchLogistics() {
|
||||||
logger.info("========== 开始执行物流信息扫描定时任务 ==========");
|
logger.info("========== 开始执行物流信息扫描定时任务 ==========");
|
||||||
|
|
||||||
|
|||||||
@@ -178,7 +178,7 @@
|
|||||||
<select id="selectJDOrderListByDistributionMarkFOrPDD" resultMap="JDOrderResult">
|
<select id="selectJDOrderListByDistributionMarkFOrPDD" resultMap="JDOrderResult">
|
||||||
<include refid="selectJDOrderBase"/>
|
<include refid="selectJDOrderBase"/>
|
||||||
<where>
|
<where>
|
||||||
(distribution_mark = 'F' OR distribution_mark = 'PDD')
|
(distribution_mark = 'F' OR distribution_mark = 'PDD' OR distribution_mark = 'H')
|
||||||
AND logistics_link IS NOT NULL
|
AND logistics_link IS NOT NULL
|
||||||
AND logistics_link != ''
|
AND logistics_link != ''
|
||||||
</where>
|
</where>
|
||||||
|
|||||||
Reference in New Issue
Block a user