1
This commit is contained in:
@@ -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("========== 开始执行物流信息扫描定时任务 ==========");
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user