This commit is contained in:
Leo
2025-11-09 23:54:38 +08:00
parent 00149dc198
commit 72b3458ef9
2 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ public class LogisticsScanTask {
* 定时任务每1小时执行一次
* Cron表达式0 0 * * * ? 表示每小时的第0分钟执行
*/
@Scheduled(cron = "0 */30 * * * ?")
@Scheduled(cron = "0 */20 * * * ?")
public void scanAndFetchLogistics() {
logger.info("========== 开始执行物流信息扫描定时任务 ==========");

View File

@@ -161,7 +161,7 @@
order by order_time desc
limit 1
</select>
<select id="selectJDOrderByThirdPartyOrderNo" parameterType="string" resultMap="JDOrderResult">
<include refid="selectJDOrderBase"/>
where third_party_order_no = #{thirdPartyOrderNo}
@@ -178,7 +178,7 @@
<select id="selectJDOrderListByDistributionMarkFOrPDD" resultMap="JDOrderResult">
<include refid="selectJDOrderBase"/>
<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 != ''
</where>